/* Direction éditoriale : contraste franc, images cadrées et bandeaux compacts. */
:root {
  --ink: #171717;
  --ink-2: #222222;
  --paper-2: #f2f2f0;
  --muted: #575757;
  --line: #dededb;
  --strip-h: 0px;
  --bar-h: 68px;
  --r-lg: 14px;
}
.site-header { background: rgb(255 255 255 / .98); backdrop-filter: blur(16px); }
.brand-name { letter-spacing: -.045em; }
.btn { min-height: 48px; border-radius: 5px; padding-inline: 22px; }
.btn-primary { box-shadow: 0 4px 12px rgb(168 28 50 / .14); }
.btn-sm { min-height: 44px; padding-inline: 18px; }
.nav-link { font-size: .825rem; padding-inline: 12px; }
.nav-link.is-active, .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.section { padding-block: clamp(44px, 5.5vw, 76px); }
.section-head { margin-bottom: 30px; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.055em; }
.kicker { font-size: .72rem; letter-spacing: .13em; gap: 10px; }
.kicker::before { width: 16px; height: 2px; background: currentColor; }
.section-lead { font-size: 1rem; }

/* Accueil : une composition claire, une photo à part entière. */
.page-index .hero { background: #ffffff; color: var(--ink); border-bottom: 1px solid var(--line); }
.page-index .hero-grid { grid-template-columns: 1.1fr 1fr; min-height: 580px; padding-block: 48px 28px; }
.page-index .hero-copy { padding-right: 48px; }
.page-index .hero .eyebrow { color: var(--muted); font-size: .64rem; letter-spacing: .11em; margin-bottom: 22px; }
.page-index .hero .eyebrow .ic { color: var(--ink); }
.page-index .hero h1 { font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: .99; letter-spacing: -.075em; max-width: none; }
.page-index .hero .hl { color: #6c6c6c; }
.page-index .hero .lead { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 44ch; margin-top: 24px; }
.page-index .hero-actions { margin-top: 24px; gap: 10px; }
.page-index .hero .btn-ghost { border-color: #c3c3c0; color: var(--ink); background: #ffffff; box-shadow: none; }
.page-index .hero .btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.page-index .hero-signature { color: #666666; font-size: .72rem; margin-top: 18px; }
.page-index .hero :focus-visible { outline-color: var(--ink); }
.page-index .hero-photo { inset: 24px max(20px, calc((100% - 1160px)/2)) 24px 55%; border-radius: 10px; overflow: hidden; background: #e6e6e1; }
.page-index .hero-photo::after { background: linear-gradient(0deg, rgb(0 0 0 / .8), transparent 46%); }
.page-index .hero-photo img { object-position: 49% 19%; }
.page-index .hero-photo figcaption { bottom: 28px; left: 28px; right: 28px; font-size: 1.1rem; line-height: 1.4; letter-spacing: -.025em; }
.page-index .hero-photo figcaption span { color: #eeeeee; font-size: .62rem; letter-spacing: .13em; margin-bottom: 8px; }
.page-index .pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 24px; padding-top: 14px; border-color: var(--line); gap: 10px; color: var(--ink); }
.page-index .pillars li { display: block; min-width: 0; }
.pillars a { display: flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; font-size: .7rem; font-weight: 700; }
.pillars a span { font-size: .6rem; color: #696969; }
.pillars a .ic { width: 14px; margin-left: auto; transition: transform .2s; }
.pillars a:hover .ic { transform: translateX(3px); }

/* Pages intérieures : la matière commence dès le premier écran. */
.page-hero { background: #ffffff; color: var(--ink); padding-block: 20px 32px; border-bottom: 1px solid var(--line); }
.hero-tri { display: none; }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 60px; align-items: start; }
.crumbs { grid-column: 1 / -1; }
.crumbs ol { color: #666666; margin-bottom: 12px; font-size: .72rem; }
.crumbs a { padding-block: 4px; }
.crumbs a:hover, .crumbs li[aria-current] { color: var(--ink); }
.page-hero .pill { grid-column: 1 / -1; justify-self: start; color: #555555; border: 0; padding: 0; border-radius: 0; margin-bottom: 14px; font-size: .65rem; letter-spacing: .13em; }
.page-hero .pill .ic { width: 15px; color: var(--ink); }
.page-hero h1 { grid-column: 1; grid-row: 3 / 5; font-size: clamp(1.9rem, 3.3vw, 2.75rem); max-width: 21ch; line-height: 1.08; letter-spacing: -.055em; }
.page-hero .lead { grid-column: 2; grid-row: 3; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 56ch; }
.page-hero .hero-actions { grid-column: 2; grid-row: 4; margin-top: 18px; }
.page-hero .btn-ghost { color: var(--ink); border-color: var(--line); }
.page-hero :focus-visible { outline-color: var(--ink); }
.subnav a { padding-block: 10px; min-height: 44px; font-size: .8rem; }

/* Relief et hiérarchie, sans multiplier les couleurs. */
.cards-3 { gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service, .audience { border: 0; border-radius: 0; padding: 30px; background: #ffffff; }
.service + .service, .audience + .audience { border-left: 1px solid var(--line); }
.service:hover { transform: none; box-shadow: none; background: #f8f8f6; }
.service-icon, .service-row-head .service-icon { background: var(--ink); color: #ffffff; border-radius: 8px; width: 48px; height: 48px; }
.service-icon .ic { width: 25px; height: 25px; }
.service h3 { letter-spacing: -.045em; }
.service p, .service li { font-size: .9rem; }
.checklist li::before { width: 5px; height: 5px; border-radius: 50%; transform: none; top: .8em; }
.checklist li { padding-left: 16px; }
.ic-tile { background: #eaeae7; color: #262626; border-radius: 8px; }
.more { text-decoration-thickness: 1px; text-decoration-color: currentColor; }
.section-dark { background: #171717; }
.section-dark .kicker { color: #bdbdbd; }
.thumb a { border-radius: 8px; }
.thumb .tag { background: rgb(255 255 255 / .92); color: #171717; border-radius: 4px; font-size: .6rem; }
.project-preview { background: #f2f2f0; }
.project-copy h2 { letter-spacing: -.06em; }
.reference-context { background: #f2f2f0; font-size: .875rem; }
.comparison-scroll { border-radius: 8px; }
.comparison thead { background: #222222; color: #ffffff; }
.comparison th, .comparison td { padding: 16px 20px; }
.spec-request { padding-top: 8px; }
.cta-band { background: #222222; color: #ffffff; padding-block: 40px; }
.cta-band h2 { letter-spacing: -.05em; }
.cta-band p { color: #cccccc; }
.cta-band .btn-ghost { color: #ffffff; border-color: #777777; }
.cta-band .btn-ghost:hover { background: #333333; border-color: #ffffff; }
.cta-band :focus-visible { outline-color: #ffffff; }
.site-footer { background: #111111; padding-block: 44px 24px; }
.fab { width: 48px; height: 48px; right: 20px; bottom: 20px; box-shadow: 0 5px 20px rgb(0 0 0 / .2); }
.fab .ic { width: 24px; height: 24px; }

@media (max-width: 1100px) {
 :root { --bar-h: 64px; }
 .nav-link { padding: 14px 8px; font-size: 1rem; }
 .page-index .hero-copy { padding-right: 28px; }
 .page-index .hero .btn { padding-inline: 16px; font-size: .8rem; }
 .page-index .hero-photo { left: 56%; }
 .pillars a { font-size: .65rem; }
}
@media (max-width: 860px) {
 .page-index .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); padding: 0 16px; gap: 24px; }
 .page-index .hero-grid { display: block; grid-column: 1; grid-row: 1; width: 100%; min-height: auto; padding: 36px 0 28px; }
 .page-index .hero-copy { padding: 0; }
 .page-index .hero h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
 .page-index .hero .eyebrow { font-size: .58rem; line-height: 1.6; }
 .page-index .hero .lead { font-size: .9rem; margin-top: 20px; }
 .page-index .hero-actions .btn { width: 100%; }
 .page-index .hero-photo { position: relative; grid-column: 2; grid-row: 1; order: initial; inset: auto; width: 100%; height: auto; min-height: 380px; margin: 20px 0; }
 .page-index .hero-photo figcaption { left: 16px; right: 16px; bottom: 20px; font-size: .9rem; }
 .page-index .hero-photo figcaption span { font-size: .55rem; }
 .page-index .pillars { grid-template-columns: 1fr; gap: 0; margin-top: 16px; padding-top: 10px; }
 .pillars a { font-size: .75rem; min-height: 44px; }
 .page-hero-inner { gap: 0 28px; }
 .page-hero h1 { font-size: 2rem; }
 .page-hero .lead { font-size: .9rem; }
 .service + .service, .audience + .audience { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
 .page-index .hero { display: flex; padding: 0; gap: 0; }
 .page-index .hero-grid { order: 0; width: calc(100% - 32px); padding-block: 28px 20px; }
 .page-index .hero h1 { font-size: clamp(2.4rem, 11.5vw, 4rem); }
 .page-index .hero .eyebrow { margin-bottom: 16px; }
 .page-index .hero .lead { max-width: 42ch; }
 .page-index .hero-actions { gap: 8px; margin-top: 20px; }
 .page-index .hero .btn { font-size: .875rem; }
 .page-index .hero-signature { margin-top: 14px; }
 .page-index .pillars { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
 .pillars a { font-size: .64rem; }
 .pillars a span { font-size: .55rem; }
 .pillars a .ic { width: 12px; }
 .page-index .hero-photo { order: 1; width: calc(100% - 32px); min-height: 0; height: 220px; margin: 0 16px 20px; }
 .page-index .hero-photo img { object-position: 50% 25%; }
 .page-hero { padding-block: 14px 24px; }
 .page-hero-inner { display: block; }
 .crumbs ol { margin-bottom: 8px; }
 .page-hero .pill { margin-bottom: 10px; }
 .page-hero h1 { font-size: 1.85rem; max-width: 24ch; }
 .page-hero .lead { margin-top: 12px; font-size: .9rem; }
 .page-hero .hero-actions { margin-top: 16px; }
 .page-hero .hero-actions .btn { width: auto; min-height: 44px; font-size: .8rem; }
 .service, .audience { padding: 24px; }
 .section { padding-block: 40px; }
 .section-head { margin-bottom: 24px; }
 .cta-band { padding-block: 32px; }
 .cta-actions { width: 100%; }
 .fab { right: 14px; bottom: 14px; }
}

/* Accueil visuel : textes courts et mouvement contrôlé. */
.page-index .hero-grid { min-height: 510px; padding-block: 56px 40px; }
.page-index .hero h1 .title-line { display: block; }
.page-index .hero .lead { font-size: 1.125rem; margin-top: 24px; color: #333333; }
.page-index .hero-signature { font-size: .75rem; max-width: 34ch; }
.hero-explore { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; font-size: .85rem; text-underline-offset: 5px; }
.hero-explore .ic { transform: rotate(90deg); }
.scene-stage figcaption { pointer-events: none; }
.scene-stage figcaption strong { font: 600 1.7rem/1.2 var(--font-display); }
.page-index .scene-stage figcaption { bottom: 80px; }
.scene-controls { position: absolute; z-index: 2; bottom: 24px; left: 28px; display: flex; gap: 8px; }
.scene-select { width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .65); background: rgb(0 0 0 / .25); color: #fff; border-radius: 50%; font: 600 .75rem var(--font-body); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.scene-select:hover { transform: translateY(-3px); background: rgb(255 255 255 / .2); }
.scene-select[aria-pressed="true"] { color: #171717; background: #fff; border-color: #fff; }
.page-index .scene-stage :focus-visible { outline-color: #fff; }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); }
.expertise-card { position: relative; display: flex; flex-direction: column; padding: 28px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .35s, color .35s; }
.expertise-card + .expertise-card { border-left: 1px solid var(--line); }
.expertise-number { font: 500 .75rem var(--font-body); color: #666; margin-bottom: 34px; }
.expertise-card > .ic { position: absolute; top: 28px; right: 28px; width: 32px; height: 32px; transition: transform .4s; }
.expertise-card h3 { font-size: clamp(1.15rem,2vw,1.65rem); letter-spacing: -.045em; }
.expertise-card p { margin-top: 12px; font-size: .85rem; color: #666; }
.expertise-open { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; font-size: .8rem; font-weight: 700; }
.expertise-open .ic { transition: transform .35s; }
.expertise-card:hover, .expertise-card:focus-visible { background: #171717; color: #fff; }
.expertise-card:hover p, .expertise-card:hover .expertise-number, .expertise-card:focus-visible p, .expertise-card:focus-visible .expertise-number { color: #cfcfcf; }
.expertise-card:hover > .ic { transform: rotate(-10deg) scale(1.12); }
.expertise-card:hover .expertise-open .ic { transform: translateX(5px); }
.project-attribution { font-size: .72rem; margin-top: 20px; max-width: 42ch; }
.page-index .project-copy h2 { font-size: clamp(2.8rem,5.5vw,5rem); line-height: 1; }
.page-index .project-copy .more { margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
 .js .page-index .title-line { animation: title-arrive .8s cubic-bezier(.16,1,.3,1) both; }
 .js .page-index .title-line:nth-child(2) { animation-delay: .12s; }
 .js .page-index .title-line:nth-child(3) { animation-delay: .24s; }
 .js .page-index .hero-copy > .lead, .js .page-index .hero-actions { animation: copy-arrive .8s .35s both; }
 .js .page-index .hero-photo { animation: photo-arrive 1s cubic-bezier(.16,1,.3,1) both; }
 .js .page-index .hero-photo > img { animation: photo-settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
 .js .reveal.pre { transform: translateY(36px); transition: opacity .8s, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d,0ms); }
 .js .reveal.pre.in { transform: translateY(0); }
 .thumb a:hover img, .thumb a:focus-visible img { transform: scale(1.09); }
 .project-cover img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
 .project-cover:hover img { transform: scale(1.04); }
}
@keyframes title-arrive { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-arrive { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes photo-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@media (max-width: 860px) {
 .page-index .hero-grid { min-height: auto; padding-block: 40px; }
 .expertise-card { padding: 20px 16px; }
 .expertise-card > .ic { right: 16px; top: 20px; width: 26px; }
 .expertise-number { margin-bottom: 30px; }
 .page-index .scene-stage figcaption { bottom: 78px; }
 .scene-controls { left: 16px; bottom: 20px; gap: 6px; }
}
@media (max-width: 600px) {
 .page-index .hero-grid { padding-block: 28px 24px; }
 .page-index .hero .lead { font-size: 1rem; }
 .page-index .hero-actions { align-items: center; }
 .page-index .hero-actions .btn { width: auto; flex: 1; }
 .hero-explore { font-size: .8rem; }
 .page-index .hero-photo { height: 270px; }
 .expertise-grid { grid-template-columns: 1fr; }
 .expertise-card + .expertise-card { border-left: 0; }
 .expertise-number { margin-bottom: 20px; }
 .expertise-card h3 { font-size: 1.5rem; }
 .expertise-open { margin-top: 22px; }
}
