:root {
  --bc-yellow: #ffd500;
  --bc-black: #111111;
  --bc-ink: #171717;
  --bc-gray: #6f6f6f;
  --bc-soft: #f3f2ee;
  --bc-line: #deddd7;
  --bc-white: #ffffff;
  --bc-radius: 22px;
  --bc-max: 1280px;
  --bc-shadow: 0 24px 70px rgba(0,0,0,.12);
  --bc-font: "axia", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--bc-ink); background: var(--bc-white); font-family: var(--bc-font); font-weight: 400; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { font-family: var(--bc-font); font-weight: 900; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--bc-yellow); color: var(--bc-black); }
.container { width: min(calc(100% - 40px), var(--bc-max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(17,17,17,.94); color: #fff; backdrop-filter: blur(14px); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand__logo { width: 132px; height: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 12px 15px; font-size: .92rem; font-weight: 700; letter-spacing: -.01em; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255,255,255,.1); }
.site-nav__cta a { margin-left: 8px; background: var(--bc-yellow); color: #111; }
.site-nav__cta a:hover, .site-nav__cta a:focus-visible { background: #fff; color: #111; }
.nav-toggle { display: none; align-items: center; gap: 10px; border: 0; background: transparent; color: #fff; padding: 10px 0; cursor: pointer; }
.nav-toggle__label { font-weight: 700; }
.nav-toggle__icon { width: 27px; display: grid; gap: 6px; }
.nav-toggle__icon i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease; }

.eyebrow { margin: 0 0 14px; color: #787878; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--bc-yellow); border-radius: 999px; background: var(--bc-yellow); color: #111; font-weight: 700; line-height: 1; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: #ffe33f; border-color: #ffe33f; }
.button--light { background: #fff; border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link--light { color: #fff; }

.hero { overflow: hidden; background: var(--bc-black); color: #fff; }
.hero__grid { min-height: 720px; padding: 76px 0 86px; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(44px, 6vw, 92px); align-items: center; }
.hero__content h1 { max-width: 760px; margin: 0; font-size: clamp(3.5rem, 6.4vw, 7.2rem); line-height: .88; letter-spacing: -.07em; font-weight: 900; }
.hero__content h1 em { color: var(--bc-yellow); font-style: normal; }
.hero__lead { max-width: 650px; margin: 30px 0 0; color: #c7c7c7; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5;  font-weight: 300;}
.hero__actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero__showcase { min-height: 560px; position: relative; }
.hero-card { position: absolute; overflow: hidden; display: block; border-radius: var(--bc-radius); background: #252525; box-shadow: var(--bc-shadow); transition: transform .35s ease; }
.hero-card:hover { transform: translateY(-8px) rotate(0deg) !important; z-index: 5; }
.hero-card--1 { width: 71%; top: 4%; right: 0; transform: rotate(2.5deg); z-index: 3; }
.hero-card--2 { width: 58%; bottom: 0; left: 0; transform: rotate(-4deg); z-index: 2; }
.hero-card--3 { width: 43%; top: 34%; left: 18%; transform: rotate(4deg); z-index: 1; }
.hero-card__media { aspect-ratio: 1.28; background: linear-gradient(135deg,#292929,#151515); }
.hero-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 18px; background: #fff; color: #111; font-weight: 700; line-height: 1.2; }
.hero-placeholder { height: 520px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; border-radius: var(--bc-radius); background: var(--bc-yellow); color: #111; }
.hero-placeholder span { font-size: 8rem; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.hero-placeholder strong { font-size: clamp(2rem,4vw,4rem); line-height: .95; letter-spacing: -.04em; }
.hero__ticker { border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; white-space: nowrap; }
.hero__ticker div { width: max-content; padding: 17px 0; color: #a7a7a7; font-size: .82rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; animation: ticker 32s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(76px, 9vw, 130px) 0; }
.section--dark { background: var(--bc-black); color: #fff; }
.section--soft { background: var(--bc-soft); }
.section--flush-top { padding-top: 34px; }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); gap: 54px; align-items: end; }
.section-heading h2 { max-width: 860px; margin: 0; font-size: clamp(2.35rem, 4vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--bc-gray); font-size: 1.06rem;  font-weight: 300;}
.section-heading--dark .eyebrow, .section--dark .eyebrow { color: #989898; }
.section-heading--dark > p { color: #aaa; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--bc-line); border-left: 1px solid var(--bc-line); }
.service-card { min-height: 300px; position: relative; padding: 30px; border-right: 1px solid var(--bc-line); border-bottom: 1px solid var(--bc-line); background: #fff; transition: background .25s ease, color .25s ease, transform .25s ease; }
a.service-card:hover { z-index: 2; background: var(--bc-yellow); color: #111; transform: translateY(-4px); }
.service-card__index { font-size: .76rem; font-weight: 700; letter-spacing: .13em; }
.service-card h3 { margin: 78px 0 15px; font-size: 1.65rem; line-height: 1.05; letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--bc-gray); }
.service-card__arrow { position: absolute; right: 28px; top: 26px; font-size: 1.35rem; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 24px; }
.project-card--wide { grid-column: span 2; }
.project-card__link { display: block; }
.project-card__media { overflow: hidden; aspect-ratio: 4/3; border-radius: 18px; background: #232323; }
.project-card--wide .project-card__media { aspect-ratio: 16/8.2; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card__link:hover .project-card__media img { transform: scale(1.035); }
.project-card__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-top: 18px; }
.project-card__meta h2, .project-card__meta h3 { margin: 0; font-size: clamp(1.45rem,2vw,2.05rem); line-height: 1.05; letter-spacing: -.035em; }
.project-card__meta p { margin: 7px 0 0; color: #999; }
.project-card__meta > span { font-size: 1.5rem; }

.about-strip { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; }
.about-strip__number { color: var(--bc-yellow); font-size: clamp(6rem,13vw,13rem); font-weight: 900; letter-spacing: -.1em; line-height: .78; }
.about-strip__copy h2 { margin: 0 0 25px; font-size: clamp(2.8rem,5vw,5.5rem); line-height: .92; letter-spacing: -.06em; }
.about-strip__copy > p:last-child { max-width: 680px; margin: 0; color: var(--bc-gray); font-size: 1.2rem;  font-weight: 300;}

.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.journal-card__media { aspect-ratio: 1.45; overflow: hidden; margin-bottom: 22px; border-radius: 14px; background: #ddd; }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.journal-card a:hover .journal-card__media img { transform: scale(1.035); }
.journal-card__date { margin: 0 0 8px !important; color: #777; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.journal-card h3 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.03em; }
.journal-card p { margin: 0; color: #686868; }

.page-hero { padding: clamp(72px,9vw,126px) 0 62px; background: var(--bc-black); color: #fff; }
.page-hero__inner { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.page-hero h1 { margin: 0; font-size: clamp(3.8rem,7vw,7.6rem); line-height: .87; letter-spacing: -.07em; }
.page-hero__intro { color: #b6b6b6; font-size: 1.1rem;  font-weight: 300;}
.page-hero__intro > *:first-child { margin-top: 0; }
.page-hero__intro > *:last-child { margin-bottom: 0; }

.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.content-card { overflow: hidden; border: 1px solid var(--bc-line); border-radius: 18px; background: #fff; }
.content-card > a { display: block; height: 100%; }
.content-card__media { aspect-ratio: 1.35; overflow: hidden; background: var(--bc-soft); }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.content-card a:hover .content-card__media img { transform: scale(1.04); }
.content-card__body { padding: 26px; }
.content-card__body h2 { margin: 0 0 13px; font-size: 1.55rem; line-height: 1.08; letter-spacing: -.035em; }
.content-card__body > p:not(.eyebrow) { color: var(--bc-gray); }

.article-hero { padding: 90px 0 54px; background: var(--bc-black); color: #fff; }
.article-hero__inner { max-width: 980px; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; color: #aaa; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-hero__meta a { color: var(--bc-yellow); }
.article-hero h1 { margin: 0; font-size: clamp(3rem,6vw,6.5rem); line-height: .92; letter-spacing: -.065em; }
.article-hero__lead { max-width: 800px; margin-top: 30px; color: #c5c5c5; font-size: 1.25rem; font-weight: 300; }
.article-cover { margin-top: 44px; }
.article-cover img { width: 100%; max-height: 760px; object-fit: cover; border-radius: 20px; }
.article-layout { display: grid; grid-template-columns: 170px minmax(0,760px); justify-content: center; gap: 50px; padding-top: 70px; padding-bottom: 110px; }
.article-aside { padding-top: 10px; }
.share-tools { position: sticky; top: 110px; display: grid; gap: 9px; color: #777; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.share-button { width: fit-content; padding: 0; border: 0; border-bottom: 1px solid #bbb; background: none; cursor: pointer; color: #222; font-weight: 700; text-transform: none; letter-spacing: 0; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #292929; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.7em 0 .6em; line-height: 1.05; letter-spacing: -.04em; }
.prose h2 { font-size: 2.25rem; }
.prose h3 { font-size: 1.65rem; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 4px solid var(--bc-yellow); font-size: 1.35rem; line-height: 1.5;  font-weight: 300; font-style: italic;}
.prose img { margin: 2.2rem auto; border-radius: 14px; }

.project-hero { padding: 90px 0 70px; background: var(--bc-black); color: #fff; }
.project-hero__grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; }
.project-hero h1 { max-width: 950px; margin: 0; font-size: clamp(4rem,8vw,8.5rem); line-height: .84; letter-spacing: -.075em; }
.project-hero__lead { max-width: 700px; margin: 28px 0 0; color: #bbb; font-size: 1.2rem;  font-weight: 300;}
.project-facts { margin: 0; border-top: 1px solid #444; }
.project-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 14px 0; border-bottom: 1px solid #444; }
.project-facts dt { color: #888; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.project-facts dd { margin: 0; }
.project-cover { background: var(--bc-black); }
.project-cover img { width: 100%; max-height: 920px; object-fit: cover; }
.project-copy { display: grid; grid-template-columns: .45fr 1.55fr; gap: 70px; padding-top: 95px; padding-bottom: 105px; }
.prose--large { max-width: 850px; font-size: 1.18rem; }
.project-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 0 6px 6px; background: #fff; }
.project-gallery__item { margin: 0; background: #eee; }
.project-gallery__item:nth-child(3n+1) { grid-column: span 2; }
.project-gallery__item img { width: 100%; height: auto; }
.project-gallery__item figcaption { padding: 10px 4px 20px; color: #777; font-size: .82rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-panel { padding: 38px; border-radius: 22px; background: var(--bc-yellow); }
.contact-panel h2 { margin: 0 0 20px; font-size: clamp(2.2rem,4vw,4rem); line-height: .98; letter-spacing: -.055em; }
.contact-panel p { max-width: 580px; }
.contact-details { margin-top: 40px; border-top: 1px solid rgba(0,0,0,.2); }
.contact-details > * { display: grid; gap: 3px; padding: 17px 0; border-bottom: 1px solid rgba(0,0,0,.2); }
.contact-details span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.search-layout { max-width: 980px; }
.search-form { margin-bottom: 70px; }
.search-form > label { display: block; margin-bottom: 10px; font-weight: 700; }
.search-form > div { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid var(--bc-line); border-radius: 999px; background: #fff; }
.search-results article { padding: 30px 0; border-top: 1px solid var(--bc-line); }
.search-results h2 { margin: 0 0 10px; font-size: 1.8rem; line-height: 1.1; }
.search-results article > p:last-child { color: var(--bc-gray); }
.empty-state { padding: 60px 0; text-align: center; }

.pagination-wrap { margin-top: 48px; display: flex; justify-content: center; }
.pagination-wrap .pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.pagination-wrap .pagination a, .pagination-wrap .pagination strong { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bc-line); border-radius: 999px; }
.pagination-wrap .pagination strong { background: var(--bc-black); color: #fff; border-color: var(--bc-black); }
.pagination-wrap--dark .pagination a { border-color: #444; }
.pagination-wrap--dark .pagination strong { background: var(--bc-yellow); color: #111; border-color: var(--bc-yellow); }

.cta-band { padding: 70px 0; background: var(--bc-yellow); color: #111; }
.cta-band__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-band .eyebrow { color: #5c5200; }
.cta-band h2 { max-width: 850px; margin: 0; font-size: clamp(2.4rem,4.4vw,5rem); line-height: .95; letter-spacing: -.055em; }
.cta-band__actions { flex: 0 0 auto; display: grid; justify-items: start; gap: 14px; }
.cta-band .text-link--light { color: #111; }
.site-footer { padding: 62px 0 28px; background: var(--bc-black); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .65fr .7fr .65fr; gap: 55px; }
.site-footer__brand img { width: 145px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 380px; color: #969696; }
.footer-title { margin: 0 0 17px; color: #777; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a:hover { color: var(--bc-yellow); }
.site-footer__bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid #2f2f2f; display: flex; justify-content: space-between; gap: 25px; color: #777; font-size: .78rem; }
.site-footer__bottom p { margin: 0; }

.error-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; background: var(--bc-soft); }
.error-page__inner { max-width: 900px; text-align: center; }
.error-page__code { margin: 0; color: var(--bc-yellow); font-size: clamp(7rem,20vw,18rem); font-weight: 900; line-height: .72; letter-spacing: -.1em; text-shadow: 3px 3px 0 #111; }
.error-page h1 { margin: 20px 0 15px; font-size: clamp(2.5rem,5vw,5rem); line-height: .95; letter-spacing: -.055em; }
.error-page .button { margin-top: 20px; }

@media (max-width: 1050px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__showcase { min-height: 520px; max-width: 720px; }
  .service-grid, .content-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading, .page-hero__inner, .project-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .project-facts { max-width: 520px; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  .site-header__inner { min-height: 72px; }
  .brand__logo { width: 115px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; background: #111; transition: max-height .3s ease; }
  .site-nav.is-open { max-height: 70vh; border-top: 1px solid #2a2a2a; }
  .site-nav__list { width: min(calc(100% - 40px),var(--bc-max)); margin-inline: auto; padding: 18px 0 28px; display: grid; gap: 3px; }
  .site-nav a { padding: 13px 0; font-size: 1.05rem; border-radius: 0; }
  .site-nav__cta a { margin: 10px 0 0; padding: 14px 18px; border-radius: 999px; text-align: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero__grid { padding-top: 60px; }
  .hero__showcase { min-height: 430px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: auto; }
  .project-card--wide .project-card__media { aspect-ratio: 4/3; }
  .about-strip, .project-copy, .article-layout, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .article-layout { padding-top: 50px; }
  .article-aside { order: 2; }
  .share-tools { position: static; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px),var(--bc-max)); }
  .hero__grid { padding: 48px 0 58px; }
  .hero__content h1 { font-size: clamp(3.35rem,17vw,5.2rem); }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero__showcase { min-height: 355px; }
  .hero-card--1 { width: 78%; }
  .hero-card--2 { width: 64%; }
  .hero-card--3 { display: none; }
  .hero-placeholder { height: 340px; padding: 25px; }
  .hero-placeholder span { font-size: 5.5rem; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .service-grid, .content-grid, .journal-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card h3 { margin-top: 52px; }
  .about-strip__number { font-size: 7rem; }
  .page-hero { padding-top: 65px; }
  .page-hero h1 { font-size: clamp(3.3rem,17vw,5.6rem); }
  .project-hero h1 { font-size: clamp(3.6rem,18vw,6rem); }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery__item:nth-child(3n+1) { grid-column: auto; }
  .search-form > div { flex-direction: column; }
  .site-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   BC Graphics v5 — typographie, interactions et formulaires
   ========================================================== */

:root {
  --bc-ease: cubic-bezier(.2,.72,.2,1);
  --bc-ease-out: cubic-bezier(.16,1,.3,1);
  --bc-focus: 0 0 0 4px rgba(255,213,0,.24);
}

body {
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -.008em;
}

.site-header {
  transition: min-height .3s var(--bc-ease), background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(17,17,17,.975);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.site-header.is-scrolled .site-header__inner { min-height: 70px; }
.brand__logo { transition: transform .35s var(--bc-ease-out), width .3s var(--bc-ease); }
.site-header.is-scrolled .brand__logo { width: 118px; }

.site-nav a {
  position: relative;
  font-size: .88rem;
}
.site-nav__client a {
  color: #d1d1d1;
  border: 1px solid rgba(255,255,255,.16);
}
.site-nav__client a:hover,
.site-nav__client a:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.36);
}

.hero__grid { min-height: 660px; padding: 68px 0 78px; }
.hero__content h1 {
  max-width: 720px;
  font-size: clamp(3.1rem,5.55vw,5.95rem);
  line-height: .91;
  letter-spacing: -.062em;
}
.hero__lead {
  max-width: 620px;
  font-size: clamp(1.02rem,1.18vw,1.2rem);
  line-height: 1.55;
}
.hero__showcase { min-height: 520px; perspective: 1000px; }
.hero-card { will-change: transform; transition: transform .55s var(--bc-ease-out), box-shadow .55s var(--bc-ease-out); }
.hero-card:hover { box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.hero-card__caption { font-size: .92rem; }
.hero__ticker div { animation-duration: 38s; }

.section { padding: clamp(68px,8vw,112px) 0; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 {
  max-width: 800px;
  font-size: clamp(2.15rem,3.7vw,4.05rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.section-heading > p { font-size: 1rem; line-height: 1.62; }

.service-card { min-height: 275px; padding: 28px; overflow: hidden; }
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -75% auto;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bc-yellow);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .35s ease, transform .55s var(--bc-ease-out);
  pointer-events: none;
}
.service-card:hover::before { opacity: .22; transform: scale(1.2); }
.service-card h3,
.service-card h2 { margin: 66px 0 13px; font-size: clamp(1.38rem,1.7vw,1.72rem); line-height: 1.08; letter-spacing: -.032em; }
.service-card p { position: relative; z-index: 1; font-size: .96rem; line-height: 1.58; }
.service-card__index,
.service-card__arrow,
.service-card h2,
.service-card h3 { position: relative; z-index: 1; }
.service-card--app { background: #f8f6eb; }
.service-card--featured { background: var(--bc-yellow); color: #111; }
.service-card--featured p { color: #3d3700; }

.project-card__meta h2,
.project-card__meta h3 { font-size: clamp(1.35rem,1.8vw,1.88rem); }
.journal-card h3 { font-size: 1.34rem; }
.about-strip__number { font-size: clamp(5rem,10vw,10rem); }
.about-strip__copy h2 { font-size: clamp(2.5rem,4.2vw,4.55rem); }
.about-strip__copy > p:last-child { font-size: 1.1rem; }

.page-hero { padding: clamp(66px,8vw,108px) 0 58px; }
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3.1rem,5.8vw,6.2rem);
  line-height: .91;
  letter-spacing: -.062em;
}
.page-hero h1 em { color: var(--bc-yellow); font-style: normal; }
.page-hero__intro { max-width: 670px; font-size: 1.05rem; line-height: 1.62; }
.article-hero h1 { font-size: clamp(2.8rem,5.2vw,5.45rem); line-height: .95; }
.article-hero__lead { font-size: 1.16rem; line-height: 1.58; }
.project-hero h1 { font-size: clamp(3.35rem,6.7vw,6.9rem); line-height: .88; }
.project-hero__lead { font-size: 1.12rem; }
.prose { font-size: 1.04rem; line-height: 1.82; }
.prose h2 { font-size: clamp(1.9rem,3vw,2.4rem); }
.prose h3 { font-size: clamp(1.45rem,2.2vw,1.75rem); }
.prose--large { font-size: 1.1rem; }

/* Animations de révélation progressives */
.reveal-item {
  opacity: 0;
  transform: translate3d(0,28px,0);
  transition: opacity .75s var(--bc-ease-out), transform .85s var(--bc-ease-out);
  transition-delay: var(--reveal-delay,0ms);
}
.reveal-item.is-revealed { opacity: 1; transform: translate3d(0,0,0); }
.hero__content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: bcHeroIn .85s var(--bc-ease-out) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .22s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__showcase { opacity: 0; transform: translateX(28px) scale(.985); animation: bcShowcaseIn 1s .2s var(--bc-ease-out) forwards; }
@keyframes bcHeroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes bcShowcaseIn { to { opacity: 1; transform: translateX(0) scale(1); } }

.project-card__media,
.content-card__media,
.journal-card__media { position: relative; }
.project-card__media::after,
.content-card__media::after,
.journal-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,transparent 15%,rgba(255,255,255,.22) 48%,transparent 78%);
  transform: translateX(-130%);
  transition: transform .8s var(--bc-ease-out);
  pointer-events: none;
}
.project-card__link:hover .project-card__media::after,
.content-card a:hover .content-card__media::after,
.journal-card a:hover .journal-card__media::after { transform: translateX(130%); }

.button span,
.text-link span,
.service-card__arrow { transition: transform .3s var(--bc-ease-out); }
.button:hover span,
.text-link:hover span,
a.service-card:hover .service-card__arrow { transform: translate(3px,-3px); }

/* Page services */
.service-grid--archive .service-card { min-height: 315px; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #333; }
.process-grid article { padding: 28px 28px 8px 0; border-right: 1px solid #333; }
.process-grid article + article { padding-left: 28px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--bc-yellow); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.process-grid h3 { margin: 52px 0 12px; font-size: 1.55rem; letter-spacing: -.035em; }
.process-grid p { margin: 0; color: #aaa; font-weight: 300; }

/* Contact professionnel */
.contact-section { background: #f7f7f4; }
.contact-grid--professional { grid-template-columns: .78fr 1.22fr; gap: clamp(36px,5.5vw,76px); align-items: start; }
.contact-panel { position: sticky; top: 104px; padding: clamp(30px,3.2vw,44px); }
.contact-panel h2 { font-size: clamp(2rem,3.2vw,3.35rem); line-height: 1.01; }
.contact-panel > p { line-height: 1.62; }
.contact-service-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 30px 0 6px; }
.contact-service-list span { padding: 7px 10px; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; font-size: .76rem; font-weight: 700; }
.contact-details strong { font-size: 1rem; }
.contact-form-wrap { min-width: 0; }
.contact-form-card { padding: clamp(26px,3.2vw,46px); border: 1px solid #e1e0da; border-radius: 24px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.055); }
.contact-form__intro { margin-bottom: 34px; }
.contact-form__intro h2 { margin: 0 0 10px; font-size: clamp(2rem,3.1vw,3.25rem); line-height: 1; letter-spacing: -.05em; }
.contact-form__intro > p:last-child { max-width: 650px; margin: 0; color: var(--bc-gray); }

/* Normalisation des formulaires SPIP */
.formulaire_spip,
.formulaire_spip form,
.formulaire_spip fieldset,
.formulaire_spip .editer-groupe { width: 100%; max-width: none; }
.formulaire_spip form { margin: 0; }
.formulaire_spip fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.formulaire_spip legend { margin-bottom: 16px; font-weight: 900; }
.formulaire_spip .editer-groupe,
.formulaire_spip ul.editer-groupe { margin: 0; padding: 0; list-style: none; }
.formulaire_spip .editer { margin: 0; padding: 0; }
.formulaire_spip label,
.formulaire_spip .label { display: block; margin: 0 0 8px; color: #202020; font-size: .86rem; font-weight: 700; line-height: 1.3; }
.formulaire_spip input.text,
.formulaire_spip input.email,
.formulaire_spip input.password,
.formulaire_spip input[type="text"],
.formulaire_spip input[type="email"],
.formulaire_spip input[type="tel"],
.formulaire_spip input[type="url"],
.formulaire_spip input[type="number"],
.formulaire_spip input[type="date"],
.formulaire_spip input[type="search"],
.formulaire_spip select,
.formulaire_spip textarea {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 54px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #d4d3cc;
  border-radius: 12px;
  outline: 0;
  background: #fbfbf9;
  color: #181818;
  font-family: var(--bc-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: none;
}
.formulaire_spip select {
  padding-right: 44px;
  background-image: linear-gradient(45deg,transparent 50%,#333 50%),linear-gradient(135deg,#333 50%,transparent 50%);
  background-position: calc(100% - 20px) 23px,calc(100% - 15px) 23px;
  background-size: 5px 5px,5px 5px;
  background-repeat: no-repeat;
}
.formulaire_spip textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.formulaire_spip input:focus,
.formulaire_spip select:focus,
.formulaire_spip textarea:focus {
  border-color: #bda000;
  background: #fff;
  box-shadow: var(--bc-focus);
}
.formulaire_spip input::placeholder,
.formulaire_spip textarea::placeholder { color: #989898; opacity: 1; }
.formulaire_spip .erreur input,
.formulaire_spip .erreur select,
.formulaire_spip .erreur textarea { border-color: #b92323; box-shadow: 0 0 0 3px rgba(185,35,35,.1); }
.formulaire_spip .erreur_message { display: block; margin: -2px 0 8px; color: #a21d1d; font-size: .82rem; font-weight: 700; }
.formulaire_spip .explication { display: block; margin-top: 8px; color: #777; font-size: .78rem; line-height: 1.45; }
.formulaire_spip .reponse_formulaire,
.reponse_formulaire { margin: 0 0 24px; padding: 16px 18px; border-radius: 12px; font-weight: 700; }
.formulaire_spip .reponse_formulaire_ok { border: 1px solid #bfd8b8; background: #eef8eb; color: #285f23; }
.formulaire_spip .reponse_formulaire_erreur { border: 1px solid #e0b2b2; background: #fff1f1; color: #8d1717; }
.formulaire_spip .boutons { margin: 0; padding: 0; border: 0; text-align: left; }
.formulaire_spip input.submit,
.formulaire_spip button.submit { cursor: pointer; }
.formulaire_spip input[type="checkbox"],
.formulaire_spip input[type="radio"] { accent-color: var(--bc-yellow); }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
.form-grid__full { grid-column: 1 / -1; }
.choice-line { display: flex !important; align-items: flex-start; gap: 11px; margin: 0 !important; font-weight: 400 !important; cursor: pointer; }
.choice-line input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #e4e3dd; }
.contact-form__footer > p:first-child { margin: 0; color: #777; font-size: .78rem; line-height: 1.45; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-editorial { padding-top: 64px; padding-bottom: 64px; }

/* Recherche et autres formulaires simples */
.search-form input { border-radius: 12px; }
.search-form .button { border-radius: 12px; }

@media (max-width: 1120px) {
  .site-nav a { padding-inline: 11px; font-size: .84rem; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(n+3) { border-top: 1px solid #333; }
}

@media (max-width: 900px) {
  .contact-panel { position: static; }
  .contact-grid--professional { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header.is-scrolled .site-header__inner { min-height: 66px; }
  .site-nav__client a { padding: 13px 0; border: 0; color: #ccc; }
  .hero__grid { padding-top: 52px; }
  .hero__content h1 { font-size: clamp(3rem,10.8vw,4.85rem); }
  .page-hero h1 { font-size: clamp(3rem,10vw,5rem); }
  .project-hero h1 { font-size: clamp(3.2rem,11vw,5.4rem); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero__content h1 { font-size: clamp(2.85rem,14.4vw,4.1rem); line-height: .93; }
  .hero__lead { font-size: 1rem; }
  .section-heading h2 { font-size: clamp(2.05rem,9.5vw,3.15rem); }
  .page-hero h1 { font-size: clamp(2.8rem,13vw,4.3rem); }
  .article-hero h1 { font-size: clamp(2.6rem,12vw,4rem); }
  .project-hero h1 { font-size: clamp(3rem,13.5vw,4.5rem); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__full { grid-column: auto; }
  .contact-form-card { padding: 23px 18px; border-radius: 18px; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .contact-form__footer .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article,
  .process-grid article + article { padding: 24px 0; border-right: 0; border-top: 1px solid #333; }
  .process-grid article:first-child { border-top: 0; }
  .process-grid h3 { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .hero__content > *,
  .hero__showcase { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ==========================================================
   BC Graphics v6 — pages intérieures, rubriques, menu & contact
   ========================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Navigation déroulante */
.site-nav__item { position: relative; }
.site-nav__row { display: flex; align-items: center; }
.site-nav__main-link { white-space: nowrap; }
.site-nav__submenu-toggle {
  width: 30px;
  height: 30px;
  margin-left: -8px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font: inherit;
  transition: color .2s ease, background .2s ease, transform .3s var(--bc-ease-out);
}
.site-nav__submenu-toggle:hover,
.site-nav__submenu-toggle:focus-visible { background: rgba(255,255,255,.1); color: #fff; outline: 0; }
.site-nav__submenu-toggle > span:last-child { display: block; transform: translateY(-1px); transition: transform .3s var(--bc-ease-out); }
.site-nav__item.is-submenu-open .site-nav__submenu-toggle > span:last-child { transform: translateY(1px) rotate(180deg); }
.site-submenu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  width: min(330px,80vw);
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(21,21,21,.985);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.985);
  transform-origin: top left;
  transition: opacity .22s ease, visibility .22s ease, transform .28s var(--bc-ease-out);
}
.site-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav__item:hover > .site-submenu,
.site-nav__item:focus-within > .site-submenu,
.site-nav__item.is-submenu-open > .site-submenu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.site-submenu ul { margin: 0; padding: 0; list-style: none; }
.site-submenu li + li { border-top: 1px solid rgba(255,255,255,.08); }
.site-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #e9e9e9;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.25;
}
.site-submenu a b { color: var(--bc-yellow); font-size: .9rem; font-weight: 700; transition: transform .25s var(--bc-ease-out); }
.site-submenu a:hover b,
.site-submenu a:focus-visible b { transform: translate(3px,-3px); }
.site-submenu__empty { margin: 0; padding: 12px; color: #777; font-size: .82rem; }

/* Pages éditoriales hors actualités */
.inner-page-hero {
  padding: clamp(78px,9vw,132px) 0 clamp(52px,6vw,78px);
  background: var(--bc-black);
  color: #fff;
  overflow: hidden;
}
.inner-page-hero__grid { display: grid; grid-template-columns: 1.18fr .72fr; gap: clamp(40px,7vw,110px); align-items: end; }
.inner-page-hero .eyebrow { margin-bottom: 20px; }
.inner-page-hero .eyebrow a { color: var(--bc-yellow); }
.inner-page-hero h1 { max-width: 980px; margin: 0; font-size: clamp(3.2rem,6.3vw,6.6rem); line-height: .91; letter-spacing: -.064em; }
.inner-page-hero__lead { max-width: 620px; color: #c3c3c3; font-size: clamp(1.05rem,1.45vw,1.24rem); line-height: 1.58; font-weight: 300; }
.inner-page-hero__lead > *:first-child { margin-top: 0; }
.inner-page-hero__lead > *:last-child { margin-bottom: 0; }
.inner-page-cover { margin-top: clamp(24px,4vw,52px); }
.inner-page-cover img { width: 100%; max-height: 760px; object-fit: cover; border-radius: 20px; }
.inner-page-layout { display: grid; grid-template-columns: minmax(190px,.42fr) minmax(0,1.58fr); gap: clamp(44px,7vw,110px); padding-top: clamp(62px,8vw,108px); padding-bottom: clamp(78px,9vw,125px); }
.inner-page-aside { align-self: start; position: sticky; top: 110px; }
.inner-page-aside__title { margin: 0 0 15px; padding-bottom: 14px; border-bottom: 1px solid var(--bc-line); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.inner-page-aside ul { margin: 0; padding: 0; list-style: none; }
.inner-page-aside li { border-bottom: 1px solid var(--bc-line); }
.inner-page-aside li a { display: block; padding: 11px 2px; color: #666; font-size: .86rem; line-height: 1.3; transition: color .2s ease, padding .2s ease; }
.inner-page-aside li a:hover,
.inner-page-aside li a:focus-visible { padding-left: 6px; color: #111; }
.inner-page-aside__project { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 14px 15px; border-radius: 12px; background: var(--bc-yellow); color: #111; font-size: .84rem; font-weight: 900; }
.inner-page-content { max-width: 840px; min-width: 0; }
.related-pages { border-top: 1px solid var(--bc-line); }
.content-grid--pages .content-card__body { padding-top: 22px; }
.content-grid--pages .content-card__body > .eyebrow { color: #8a7600; }

/* Rubriques génériques conçues comme des ensembles de pages */
.page-hero--structured { padding-bottom: clamp(64px,7vw,90px); }
.rubrique-children { border-bottom: 1px solid var(--bc-line); }
.rubrique-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.rubrique-card { min-width: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--bc-line); }
.rubrique-card__media { aspect-ratio: 16/8.5; overflow: hidden; background: #e9e9e5; }
.rubrique-card__media:empty::before { content: "BC"; height: 100%; display: grid; place-items: center; color: #d1d0c9; font-size: 5rem; font-weight: 900; }
.rubrique-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--bc-ease-out); }
.rubrique-card__body { padding: 26px; }
.rubrique-card h2 { margin: 5px 0 12px; font-size: clamp(1.65rem,2.4vw,2.4rem); line-height: 1; letter-spacing: -.045em; }
.rubrique-card p:not(.eyebrow) { color: var(--bc-gray); }
.rubrique-card a:hover img { transform: scale(1.035); }
.rubrique-pages .content-card { border-radius: 16px; overflow: hidden; }

/* Actualités : seules pages où la date éditoriale est visible */
.news-index-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 22px; }
.news-index-card { min-width: 0; }
.news-index-card__media { aspect-ratio: 16/10.5; overflow: hidden; border-radius: 16px; background: #ededeb; }
.news-index-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--bc-ease-out); }
.news-index-card__body { padding: 19px 2px 0; }
.news-index-card__date { margin: 0 0 11px; color: #867300; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news-index-card h2 { margin: 0 0 12px; font-size: clamp(1.55rem,2.1vw,2.05rem); line-height: 1.04; letter-spacing: -.04em; }
.news-index-card__body > p:not(.news-index-card__date) { color: var(--bc-gray); }
.news-index-card a:hover img { transform: scale(1.04); }
.article-hero--news .article-hero__inner { max-width: 1040px; }
.article-layout--news .prose { max-width: 790px; }

/* Page contact autonome */
.contact-hero { padding: clamp(82px,9vw,132px) 0 clamp(62px,7vw,94px); background: var(--bc-black); color: #fff; overflow: hidden; }
.contact-hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(44px,7vw,100px); align-items: end; }
.contact-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(3.6rem,7.3vw,7.6rem); line-height: .87; letter-spacing: -.073em; }
.contact-hero h1 em { color: var(--bc-yellow); font-style: normal; }
.contact-hero__lead { max-width: 750px; margin: 30px 0 0; color: #bbb; font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.56; font-weight: 300; }
.contact-hero__signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.contact-hero__signals span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #aaa; font-size: .73rem; font-weight: 700; }
.contact-hero__card { padding: clamp(26px,3vw,38px); border: 1px solid #303030; border-radius: 22px; background: #191919; }
.contact-hero__card .eyebrow { color: var(--bc-yellow); }
.contact-hero__card h2 { margin: 28px 0 32px; font-size: clamp(1.65rem,2.5vw,2.65rem); line-height: 1; letter-spacing: -.045em; }
.contact-hero__card .text-link { color: #fff; }
.contact-intro { background: var(--bc-yellow); }
.contact-steps { display: grid; grid-template-columns: repeat(3,1fr); }
.contact-steps article { min-height: 220px; padding: 34px 34px 36px 0; border-right: 1px solid rgba(0,0,0,.2); }
.contact-steps article + article { padding-left: 34px; }
.contact-steps article:last-child { border-right: 0; }
.contact-steps span { font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.contact-steps h2 { margin: 64px 0 8px; font-size: clamp(1.45rem,2vw,2rem); line-height: 1; letter-spacing: -.04em; }
.contact-steps p { margin: 0; max-width: 330px; font-size: .9rem; }
.contact-panel--project { overflow: hidden; }
.contact-form-card { position: relative; }
.contact-form-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 4px; border-radius: 0 0 5px 5px; background: var(--bc-yellow); }
.contact-reassurance__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,8vw,130px); }
.contact-reassurance h2 { max-width: 620px; margin: 0; font-size: clamp(2.35rem,4.2vw,4.7rem); line-height: .94; letter-spacing: -.055em; }
.contact-reassurance__list { border-top: 1px solid #383838; }
.contact-reassurance__list p { display: grid; grid-template-columns: 130px 1fr; gap: 24px; margin: 0; padding: 18px 0; border-bottom: 1px solid #383838; }
.contact-reassurance__list strong { color: #fff; }
.contact-reassurance__list span { color: #999; font-weight: 300; }

/* Formulaires : neutralise les styles historiques de SPIP et du navigateur */
.formulaire_spip .editer-groupe > .editer,
.formulaire_spip .form-grid > .editer { min-width: 0; }
.formulaire_spip input,
.formulaire_spip select,
.formulaire_spip textarea,
.formulaire_spip button { font-family: var(--bc-font); }
.formulaire_spip select { cursor: pointer; }
.formulaire_spip textarea { width: 100% !important; }
.formulaire_spip .boutons { background: transparent !important; }
.formulaire_spip .boutons .submit,
.formulaire_spip button.submit { min-height: 52px; border: 0; }
.formulaire_spip .obligatoire > label > span[aria-hidden="true"] { color: #8b7200; }
.formulaire_spip .reponse_formulaire_ok,
.formulaire_spip .reponse_formulaire_erreur { scroll-margin-top: 110px; }

@media (max-width: 1120px) {
  .site-nav__submenu-toggle { width: 26px; height: 26px; }
  .news-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .inner-page-hero__grid,
  .contact-hero__grid,
  .contact-reassurance__grid { grid-template-columns: 1fr; }
  .contact-hero__card { max-width: 650px; }
  .inner-page-layout { grid-template-columns: 1fr; gap: 42px; }
  .inner-page-aside { position: static; order: 2; }
  .inner-page-aside nav { display: none; }
  .rubrique-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-nav { overflow-y: auto; }
  .site-nav__item { width: 100%; }
  .site-nav__row { width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .site-nav__main-link { flex: 1; }
  .site-nav__submenu-toggle { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; color: #aaa; }
  .site-submenu,
  .site-nav__item:hover > .site-submenu,
  .site-nav__item:focus-within > .site-submenu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: #171717;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transform: none;
    transition: max-height .34s var(--bc-ease-out), padding .3s ease;
  }
  .site-nav__item.is-submenu-open > .site-submenu { max-height: 420px; padding-top: 6px; padding-bottom: 8px; }
  .site-submenu::before { display: none; }
  .site-submenu a { min-height: 43px; padding: 8px 12px; font-size: .9rem; }
  .site-nav__client { margin-top: 10px; }
  .contact-steps { grid-template-columns: 1fr; }
  .contact-steps article,
  .contact-steps article + article { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); }
  .contact-steps article:last-child { border-bottom: 0; }
  .contact-steps h2 { margin-top: 28px; }
}

@media (max-width: 640px) {
  .inner-page-hero { padding-top: 62px; }
  .inner-page-hero h1 { font-size: clamp(2.7rem,12.5vw,4.15rem); }
  .inner-page-cover { width: 100%; margin-top: 0; }
  .inner-page-cover img { border-radius: 0; }
  .inner-page-layout { padding-top: 52px; padding-bottom: 72px; }
  .news-index-grid { grid-template-columns: 1fr; }
  .contact-hero { padding-top: 62px; }
  .contact-hero h1 { font-size: clamp(3rem,14.4vw,4.6rem); }
  .contact-reassurance__list p { grid-template-columns: 1fr; gap: 5px; }
  .contact-form-card::before { left: 18px; right: 18px; }
}

/* Menu desktop : les sous-contenus s'affichent uniquement au survol du parent. */
@media (min-width: 821px) {
  .site-nav__submenu-toggle {
    pointer-events: none;
  }

  .site-nav__item:focus-within > .site-submenu,
  .site-nav__item.is-submenu-open > .site-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.985);
  }

  .site-nav__item:hover > .site-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   BC Graphics v6.2 — portfolio commercial / rubrique 1
   ========================================================= */

.portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px,9vw,132px) 0 34px;
  background: var(--bc-black);
  color: #fff;
}
.portfolio-hero::after {
  content: "BC";
  position: absolute;
  right: -1.5vw;
  bottom: -5.5vw;
  color: rgba(255,255,255,.025);
  font-size: clamp(14rem,34vw,34rem);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.12em;
  pointer-events: none;
}
.portfolio-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr);
  gap: clamp(42px,7vw,110px);
  align-items: end;
}
.portfolio-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.7rem,7.2vw,7.5rem);
  line-height: .86;
  letter-spacing: -.072em;
}
.portfolio-hero__intro {
  max-width: 760px;
  margin-top: 30px;
  color: #bdbdbd;
  font-size: clamp(1.03rem,1.45vw,1.25rem);
  font-weight: 300;
  line-height: 1.62;
}
.portfolio-hero__intro > *:first-child { margin-top: 0; }
.portfolio-hero__intro > *:last-child { margin-bottom: 0; }
.portfolio-hero__manifesto {
  display: grid;
  margin-bottom: 8px;
  border-top: 1px solid #3a3a3a;
}
.portfolio-hero__manifesto span {
  position: relative;
  padding: 11px 26px 11px 0;
  border-bottom: 1px solid #3a3a3a;
  color: #aaa;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.portfolio-hero__manifesto span::after {
  content: "↗";
  position: absolute;
  right: 0;
  color: var(--bc-yellow);
}
.portfolio-categories {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: clamp(42px,6vw,78px);
  padding-top: 22px;
  overflow-x: auto;
  border-top: 1px solid #303030;
  scrollbar-width: none;
}
.portfolio-categories::-webkit-scrollbar { display: none; }
.portfolio-categories a {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  color: #b7b7b7;
  font-size: .82rem;
  font-weight: 700;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.portfolio-categories a:hover,
.portfolio-categories a:focus-visible,
.portfolio-categories a.is-current {
  background: var(--bc-yellow);
  border-color: var(--bc-yellow);
  color: #111;
  transform: translateY(-2px);
}

.portfolio-showcase {
  padding: clamp(70px,8vw,118px) 0 clamp(92px,10vw,150px);
  background: var(--bc-black);
  color: #fff;
}
.portfolio-showcase__head {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr);
  gap: clamp(38px,7vw,100px);
  align-items: end;
  margin-bottom: clamp(50px,7vw,92px);
  padding-top: 4px;
}
.portfolio-showcase__head h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.25rem,4.4vw,4.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.portfolio-showcase__head > p {
  margin: 0;
  color: #989898;
  font-size: 1.03rem;
  font-weight: 300;
}
.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(62px,7vw,100px) 26px;
}
.portfolio-showcase-card { min-width: 0; }
.portfolio-showcase-card:nth-child(5n+1) { grid-column: span 2; }
.portfolio-showcase-card__link { display: block; }
.portfolio-showcase-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,213,0,.12), transparent 34%),
    linear-gradient(135deg,#292929,#1a1a1a);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  isolation: isolate;
}
.portfolio-showcase-card:nth-child(5n+1) .portfolio-showcase-card__visual { aspect-ratio: 16 / 8.4; }
.portfolio-showcase-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
}
.portfolio-showcase-card__artboard {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px,3.2vw,54px);
  transition: transform .75s cubic-bezier(.2,.75,.2,1);
}
.portfolio-showcase-card__artboard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.18));
  transition: transform .75s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}
.portfolio-showcase-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px,4vw,54px);
  background: var(--bc-yellow);
  color: #111;
}
.portfolio-showcase-card__placeholder span { font-size: clamp(5rem,12vw,12rem); font-weight: 900; line-height: .75; letter-spacing: -.1em; }
.portfolio-showcase-card__placeholder strong { max-width: 760px; font-size: clamp(1.8rem,3.7vw,4rem); line-height: .95; letter-spacing: -.05em; }
.portfolio-showcase-card__view {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(17,17,17,.9);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, background .28s ease, color .28s ease;
  backdrop-filter: blur(10px);
}
.portfolio-showcase-card__view b { color: var(--bc-yellow); }
.portfolio-showcase-card__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-top: 20px;
}
.portfolio-showcase-card__client {
  margin: 0 0 8px;
  color: var(--bc-yellow);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.portfolio-showcase-card__caption h2 {
  margin: 0;
  font-size: clamp(1.55rem,2.25vw,2.45rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.portfolio-showcase-card__type { margin: 8px 0 0; color: #8f8f8f; font-weight: 300; }
.portfolio-showcase-card__index {
  flex: 0 0 auto;
  color: #555;
  font-size: .78rem;
  font-weight: 700;
}
.portfolio-showcase-card__link:hover .portfolio-showcase-card__artboard,
.portfolio-showcase-card__link:focus-visible .portfolio-showcase-card__artboard { transform: scale(.985); }
.portfolio-showcase-card__link:hover .portfolio-showcase-card__artboard img,
.portfolio-showcase-card__link:focus-visible .portfolio-showcase-card__artboard img { transform: scale(1.035); filter: drop-shadow(0 26px 44px rgba(0,0,0,.28)); }
.portfolio-showcase-card__link:hover .portfolio-showcase-card__view,
.portfolio-showcase-card__link:focus-visible .portfolio-showcase-card__view { opacity: 1; transform: translateY(0); }
.portfolio-empty { padding: 70px 0; border-top: 1px solid #333; color: #999; }
.portfolio-empty strong { display: block; color: #fff; font-size: 1.5rem; }
.portfolio-empty p { margin-bottom: 0; }

.portfolio-conversion { padding: clamp(86px,10vw,150px) 0; background: var(--bc-yellow); color: #111; }
.portfolio-conversion__grid { display: grid; grid-template-columns: .42fr 1.58fr; gap: clamp(40px,7vw,110px); align-items: start; }
.portfolio-conversion .eyebrow { color: #705f00; }
.portfolio-conversion h2 { max-width: 980px; margin: 0; font-size: clamp(2.7rem,5.3vw,5.7rem); line-height: .91; letter-spacing: -.065em; }
.portfolio-conversion p:not(.eyebrow) { max-width: 740px; margin: 28px 0 34px; font-size: 1.08rem; }
.portfolio-conversion .button { background: #111; border-color: #111; color: #fff; }
.portfolio-conversion .button:hover { background: #fff; border-color: #fff; color: #111; }

/* Fiche réalisation : un case study commercial, sans logique d'article daté. */
.case-study-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px,8vw,122px) 0 clamp(62px,7vw,96px);
  background: var(--bc-black);
  color: #fff;
}
.case-study-hero::after {
  content: "PROJECT";
  position: absolute;
  right: -1vw;
  bottom: -2.5vw;
  color: rgba(255,255,255,.018);
  font-size: clamp(7rem,17vw,17rem);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.08em;
  pointer-events: none;
}
.case-study-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: clamp(48px,8vw,120px); align-items: end; }
.case-study-hero__client { margin: 0 0 17px; color: var(--bc-yellow); font-size: .88rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.case-study-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(3.7rem,7.1vw,7.45rem); line-height: .85; letter-spacing: -.072em; }
.case-study-hero__lead { max-width: 760px; margin: 30px 0 0; color: #bdbdbd; font-size: clamp(1.06rem,1.5vw,1.26rem); font-weight: 300; line-height: 1.58; }
.case-study-facts { margin: 0; border-top: 1px solid #3b3b3b; }
.case-study-facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid #3b3b3b; }
.case-study-facts dt { color: #777; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-study-facts dd { margin: 0; color: #eee; font-size: .95rem; }
.case-study-facts dd a:hover { color: var(--bc-yellow); }
.case-study-facts__tags dd { display: flex; flex-wrap: wrap; gap: 5px; }
.case-study-facts__tags dd span { padding: 3px 8px; border: 1px solid #444; border-radius: 999px; color: #bbb; font-size: .7rem; }
.case-study-hero__contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 15px 17px; border-radius: 12px; background: var(--bc-yellow); color: #111; font-size: .88rem; font-weight: 900; transition: transform .22s ease, background .22s ease; }
.case-study-hero__contact:hover { transform: translateY(-2px); background: #fff; }

.case-study-stage { padding: clamp(18px,2.6vw,38px) 0 clamp(26px,4vw,58px); background: var(--bc-black); }
.case-study-stage__inner {
  min-height: clamp(420px,63vw,920px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px,4vw,70px);
  border-radius: clamp(16px,2vw,28px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,213,0,.12), transparent 30%),
    linear-gradient(135deg,#2b2b2b,#1b1b1b);
  box-shadow: 0 36px 100px rgba(0,0,0,.24);
}
.case-study-stage__inner img { width: 100%; height: 100%; max-height: 790px; object-fit: contain; filter: drop-shadow(0 28px 44px rgba(0,0,0,.25)); }
.case-study-stage__placeholder { width: 100%; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(34px,5vw,74px); background: var(--bc-yellow); color: #111; }
.case-study-stage__placeholder span { font-size: clamp(7rem,18vw,18rem); font-weight: 900; line-height: .72; letter-spacing: -.12em; }
.case-study-stage__placeholder strong { max-width: 900px; font-size: clamp(2.2rem,5vw,5.6rem); line-height: .9; letter-spacing: -.06em; }

.case-study-story { padding: clamp(82px,9vw,132px) 0; background: #fff; }
.case-study-story__grid { display: grid; grid-template-columns: minmax(190px,.45fr) minmax(0,1.55fr); gap: clamp(50px,8vw,120px); align-items: start; }
.case-study-story__aside { position: sticky; top: 120px; }
.case-study-summary { margin: 24px 0 30px; padding-top: 18px; border-top: 1px solid var(--bc-line); }
.case-study-summary strong { display: block; margin-bottom: 7px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.case-study-summary p { margin: 0; color: var(--bc-gray); font-size: .96rem; font-weight: 300; }
.case-study-story__content { max-width: 850px; }
.case-study-story__content > *:first-child { margin-top: 0; }
.case-study-story__content h2 { margin-top: 1.6em; font-size: clamp(2rem,3.4vw,3.5rem); line-height: .98; letter-spacing: -.045em; }
.case-study-story__content h3 { margin-top: 1.45em; font-size: clamp(1.45rem,2.4vw,2.2rem); line-height: 1.04; letter-spacing: -.035em; }
.case-study-story__content img { margin: 40px 0; border-radius: 16px; }

.case-study-gallery { padding: clamp(80px,9vw,132px) 0; background: #f0efea; }
.case-study-gallery__head { display: grid; grid-template-columns: .45fr 1.55fr; gap: clamp(50px,8vw,120px); align-items: end; margin-bottom: clamp(42px,6vw,74px); }
.case-study-gallery__head h2 { max-width: 860px; margin: 0; font-size: clamp(2.6rem,5vw,5.2rem); line-height: .92; letter-spacing: -.06em; }
.case-study-gallery__grid { width: min(calc(100% - 24px), 1560px); margin-inline: auto; columns: 2; column-gap: 12px; }
.case-study-gallery__item { break-inside: avoid; margin: 0 0 12px; overflow: hidden; border-radius: 16px; background: #fff; }
.case-study-gallery__media { display: grid; place-items: center; min-height: 240px; padding: clamp(8px,1.4vw,18px); background: #e6e5df; }
.case-study-gallery__media img { width: 100%; height: auto; max-height: 1100px; object-fit: contain; }
.case-study-gallery__item figcaption { display: grid; gap: 3px; padding: 15px 17px 18px; border-top: 1px solid #ecebe7; }
.case-study-gallery__item figcaption strong { font-size: .91rem; }
.case-study-gallery__item figcaption span { color: var(--bc-gray); font-size: .84rem; font-weight: 300; }
.case-study-gallery__item:nth-child(4n+1) { border-radius: 24px; }

.case-study-cta { padding: clamp(94px,11vw,160px) 0; background: var(--bc-yellow); color: #111; }
.case-study-cta__inner { max-width: 1080px; }
.case-study-cta .eyebrow { color: #705f00; }
.case-study-cta h2 { max-width: 980px; margin: 0; font-size: clamp(3rem,6vw,6.4rem); line-height: .88; letter-spacing: -.07em; }
.case-study-cta p:not(.eyebrow) { max-width: 690px; margin: 28px 0 34px; font-size: 1.1rem; }
.case-study-cta .button { background: #111; border-color: #111; color: #fff; }
.case-study-cta .button:hover { background: #fff; border-color: #fff; color: #111; }
.case-study-related { padding-top: clamp(80px,9vw,126px); }
.project-card__media--artboard { display: grid; place-items: center; padding: clamp(14px,2vw,28px); background: #242424; }
.project-card__media--artboard img { width: 100%; height: 100%; object-fit: contain; }
.project-card__client { margin: 0 0 7px !important; color: var(--bc-yellow) !important; font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 980px) {
  .portfolio-hero__grid,
  .portfolio-showcase__head,
  .case-study-hero__grid { grid-template-columns: 1fr; }
  .portfolio-hero__manifesto { max-width: 560px; }
  .case-study-hero__aside { max-width: 620px; }
  .portfolio-conversion__grid,
  .case-study-story__grid,
  .case-study-gallery__head { grid-template-columns: 1fr; gap: 34px; }
  .case-study-story__aside { position: static; }
}

@media (max-width: 760px) {
  .portfolio-showcase-grid { grid-template-columns: 1fr; gap: 54px; }
  .portfolio-showcase-card:nth-child(5n+1) { grid-column: auto; }
  .portfolio-showcase-card__visual,
  .portfolio-showcase-card:nth-child(5n+1) .portfolio-showcase-card__visual { aspect-ratio: 4 / 3; }
  .portfolio-showcase-card__view { opacity: 1; transform: none; }
  .case-study-gallery__grid { columns: 1; width: min(calc(100% - 24px), 860px); }
  .case-study-stage__inner { min-height: 380px; border-radius: 16px; }
}

@media (max-width: 520px) {
  .portfolio-hero { padding-top: 62px; }
  .portfolio-hero h1,
  .case-study-hero h1 { font-size: clamp(3rem,14vw,4.6rem); }
  .portfolio-showcase-card__artboard { padding: 16px; }
  .portfolio-showcase-card__caption { gap: 18px; }
  .portfolio-showcase-card__caption h2 { font-size: 1.55rem; }
  .case-study-stage { padding-left: 0; padding-right: 0; }
  .case-study-stage__inner { width: 100%; min-height: 320px; padding: 14px; border-radius: 0; }
  .case-study-facts > div { grid-template-columns: 78px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-showcase-card__artboard,
  .portfolio-showcase-card__artboard img,
  .portfolio-showcase-card__view { transition: none !important; transform: none !important; }
}

/* Catégories internes du portfolio */
.portfolio-category-hero { padding: clamp(76px,8.5vw,124px) 0 34px; background: var(--bc-black); color: #fff; }
.portfolio-category-hero__grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); gap: clamp(42px,7vw,100px); align-items: end; }
.portfolio-category-hero h1 { margin: 0; font-size: clamp(3.5rem,6.7vw,6.8rem); line-height: .87; letter-spacing: -.068em; }
.portfolio-category-hero__intro { max-width: 760px; margin-top: 28px; color: #b7b7b7; font-size: 1.08rem; font-weight: 300; }
.portfolio-category-hero__back { justify-self: end; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid #555; color: #c6c6c6; font-size: .88rem; font-weight: 700; }
.portfolio-category-hero__back span { color: var(--bc-yellow); transition: transform .22s ease; }
.portfolio-category-hero__back:hover span { transform: translateX(-4px); }
.portfolio-showcase--category { padding-top: clamp(58px,7vw,94px); }
.project-card--home-portfolio .project-card__media--artboard { background: #242424; }
.project-card--home-portfolio .project-card__media--artboard img { object-fit: contain; }

@media (max-width: 900px) {
  .portfolio-category-hero__grid { grid-template-columns: 1fr; }
  .portfolio-category-hero__back { justify-self: start; }
}

/* v6.3 — fiche réalisation : visuel principal non rogné + documents joints */
.page-project--case-study .case-study-stage {
  padding: clamp(24px,3vw,44px) 0 clamp(54px,6vw,88px);
}
.page-project--case-study .case-study-stage__inner {
  width: 100%;
  min-height: clamp(360px,54vw,780px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px,5vw,84px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: clamp(18px,2.2vw,32px);
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(135deg,#d9d8d2,#bdbcb6);
  box-shadow: 0 36px 100px rgba(0,0,0,.28);
}
.page-project--case-study .case-study-stage__inner img,
.page-project--case-study .case-study-stage__inner img.case-study-stage__logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 1500px) !important;
  max-height: min(76vh, 920px) !important;
  margin: auto;
  object-fit: contain !important;
  object-position: center center;
  filter: drop-shadow(0 22px 38px rgba(0,0,0,.18));
}
.page-project--case-study .case-study-stage__caption {
  margin: 14px 3px 0;
  color: #777;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-study-documents {
  padding: clamp(76px,8.5vw,124px) 0;
  background: #fff;
  color: #111;
  border-top: 1px solid var(--bc-line);
}
.case-study-documents__head {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr);
  gap: clamp(34px,7vw,100px);
  align-items: end;
  margin-bottom: clamp(34px,5vw,62px);
}
.case-study-documents__head h2 {
  margin: 0;
  font-size: clamp(2.5rem,4.8vw,5rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.case-study-documents__head > p {
  max-width: 600px;
  margin: 0;
  color: var(--bc-gray);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
}
.case-study-documents__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.case-study-document {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--bc-line);
  border-radius: 18px;
  background: #f7f6f2;
  color: #111;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.case-study-document:hover {
  transform: translateY(-4px);
  border-color: #111;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
}
.case-study-document__type {
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #111;
  color: var(--bc-yellow);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-study-document__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.case-study-document__body strong {
  font-size: 1.02rem;
  line-height: 1.2;
}
.case-study-document__body small {
  color: #777;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.case-study-document__body > span {
  margin-top: 5px;
  color: var(--bc-gray);
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.45;
}
.case-study-document__action {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bc-yellow);
  font-size: 1rem;
  font-weight: 900;
  transition: transform .24s ease;
}
.case-study-document:hover .case-study-document__action { transform: translate(2px,-2px); }

@media (max-width: 760px) {
  .page-project--case-study .case-study-stage__inner {
    min-height: 300px;
    padding: 24px 18px;
    border-radius: 14px;
  }
  .page-project--case-study .case-study-stage__inner img,
  .page-project--case-study .case-study-stage__inner img.case-study-stage__logo {
    max-height: 68vh !important;
  }
  .case-study-documents__head,
  .case-study-documents__grid { grid-template-columns: 1fr; }
  .case-study-document { grid-template-columns: 58px minmax(0,1fr) auto; gap: 14px; min-height: 110px; padding: 16px; }
  .case-study-document__type { width: 58px; border-radius: 12px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .case-study-document,
  .case-study-document__action { transition: none !important; transform: none !important; }
}
