/* ==========================================================
   Veloce Prod — thème inspiré d'Arpeggio
   ========================================================== */
:root {
  --red: #9e0000;
  --red-hi: #c0120f;
  --green: #62ba49;
  --green-hi: #74cc5a;
  --ink: #141414;
  --ink-2: #333333;
  --muted: #6d6a64;
  --bg: #f3f1ec;
  --bg-2: #eae7e0;
  --card: #ffffff;
  --dark: #0e0e0e;
  --dark-2: #1a1a1a;
  --line: rgba(20, 20, 20, .12);
  --line-light: rgba(255, 255, 255, .14);
  --radius: 28px;
  --radius-sm: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--flush-top { padding-top: 0; }
[data-theme="dark"] { background: var(--dark); color: #f4f2ee; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow--light { color: rgba(255,255,255,.72); }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(98,186,73,.2); }
.h2 { font-size: clamp(38px, 5.6vw, 80px); }
.h2 em, .hero__title em, .page-hero__title em, .cta__title em { color: var(--red); }
[data-theme="dark"] .h2 em, .cta__title em { color: var(--green); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 560px; }
[data-theme="dark"] .lead { color: rgba(255,255,255,.62); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff; --ic-bg: #fff; --ic-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--red));
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__icon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ic-bg); color: var(--ic-fg); flex: none; transition: transform .5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.ico { width: 18px; height: 18px; }
.btn--red { --bg-btn: var(--red); --hover: var(--ink); }
.btn--dark { --bg-btn: var(--ink); --hover: var(--red); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); --ic-bg: var(--ink); --ic-fg: #fff; box-shadow: inset 0 0 0 1px var(--line); --hover: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover .btn__icon { background: var(--green); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--ink); --ic-bg: var(--ink); --ic-fg: #fff; --hover: var(--green); }
.btn--sm { font-size: 14px; padding: 6px 6px 6px 18px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--lg { font-size: 17px; padding: 10px 10px 10px 30px; }
.btn--lg .btn__icon { width: 46px; height: 46px; }
.btn--block { width: 100%; justify-content: space-between; }
.text-link { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; display: inline-block; }
.link-light { color: rgba(255,255,255,.75); font-weight: 600; transition: color .3s; }
.link-light:hover { color: var(--green); }

/* ---------- Loader & transitions ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--dark);
  display: grid; place-items: center; pointer-events: none;
}
.loader__inner { overflow: hidden; }
.loader__logo { position: relative; width: min(260px, 60vw); }
.loader__logo img { width: 100%; height: auto; }
/* traits du logo (autour de « PROD ») redessinés en rouge : coordonnées issues du PNG 741×250 */
.loader__line { position: absolute; top: 92.2%; height: 2%; min-height: 2px; width: 37.1%; background: var(--red-hi); border-radius: 2px; transform: scaleX(0); }
.loader__line--l { left: 2.97%; transform-origin: right center; }
.loader__line--r { left: 59.9%; transform-origin: left center; }
html:not(.js) .loader, html:not(.js) .curtain { display: none; }
.curtain { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.curtain span { position: absolute; inset: 0; transform: translateY(100%); }
.js .curtain span { transform: translateY(0); }
.curtain__red { background: var(--red); }
.curtain__green { background: var(--green); }
.curtain__dark { background: var(--dark); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 998; width: 90px; height: 90px; margin: -45px 0 0 -45px;
  border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; pointer-events: none; transform: scale(0); opacity: 0;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); transition: transform .5s var(--ease); }
.header.is-hidden { transform: translateY(-130%); }
.header__bar {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(243,241,236,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -12px rgba(0,0,0,.15);
}
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; gap: 4px; margin: 0 auto; }
.header__nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background .3s; }
.header__nav .roll { display: inline-block; overflow: hidden; vertical-align: top; }
.header__nav .roll > span { display: inline-block; position: relative; transition: transform .45s var(--ease); }
.header__nav .roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
.header__nav a:hover .roll > span { transform: translateY(-100%); }
.header__nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header__nav a[aria-current="page"] .roll > span::after { color: var(--green); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease); }
.menu-open .header__bar { background: rgba(255,255,255,.92); }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(40px, 11vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.menu__nav small { font-size: 13px; color: var(--green); letter-spacing: 0; }
.menu__nav a[aria-current="page"] { color: var(--green); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.7); }

@media (max-width: 1080px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__bar { padding: 8px 8px 8px 20px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 18vw, 200px); }
.hero__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero__avail { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(98,186,73,.5); } 50% { box-shadow: 0 0 0 8px rgba(98,186,73,0); } }
.hero__title { font-size: clamp(42px, 9.4vw, 148px); line-height: .95; letter-spacing: -.055em; max-width: 13ch; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { padding: 44px var(--gutter) 0; }
.hero__frame {
  position: relative; max-width: var(--max); margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 8; background: var(--dark); will-change: transform;
}
.hero__frame img { width: 100%; height: 115%; object-fit: cover; }
.hero__frame--article { aspect-ratio: 16 / 7; }
.hero__badge { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); width: clamp(96px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.hero__badge-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.hero__badge-ring text { font-size: 9.6px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge-v, .form-success__v { position: relative; width: 36%; height: 40%; }
.v-red, .v-green { position: absolute; top: 0; width: 26%; height: 100%; border-radius: 99px; }
.v-red { left: 12%; background: var(--red); transform: rotate(-24deg); }
.v-green { left: 58%; height: 62%; background: var(--green); transform: rotate(24deg); }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(130px, 15vw, 190px) 0 clamp(40px, 5vw, 72px); }
.page-hero__title { font-size: clamp(44px, 8vw, 124px); line-height: .96; letter-spacing: -.05em; max-width: 15ch; }
.page-hero__title--article { font-size: clamp(38px, 5.6vw, 72px); max-width: none; margin: 18px 0 24px; }
.page-hero__lead { margin-top: 36px; }
.page-hero--project .page-hero__title { max-width: 18ch; }
.back { display: table; font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 30px; transition: color .3s; }
.back:hover { color: var(--red); }
.project-cover { padding: 0 var(--gutter); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 16px; padding-right: 16px; animation: marquee 50s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
.clients-strip { padding: clamp(40px, 5vw, 64px) 0 0; }
.clients-strip--tight { padding: 0 0 clamp(56px, 7vw, 96px); display: grid; gap: 16px; }
.logo-chip { width: 250px; height: 140px; flex: none; border-radius: var(--radius-sm); background: var(--card); display: grid; place-items: center; padding: 18px 26px; box-shadow: 0 0 0 1px var(--line); }
.logo-chip img { max-height: 96px; max-width: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.logo-chip:hover img { transform: scale(1.06); }

/* ---------- Intro & stats ---------- */
.intro__text { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.18; letter-spacing: -.03em; font-weight: 600; max-width: 22ch; max-width: 1100px; }
.intro__text--sm { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 40px; }
.intro__text .w { opacity: .15; transition: none; }
html:not(.js) .intro__text .w { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(36px, 4.5vw, 64px); }
.stat { padding: 28px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.stat strong { display: block; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }
.stat:nth-child(odd) strong { color: var(--red); }
.stat:nth-child(even) strong { color: var(--green); }
.stat span { color: var(--muted); font-weight: 500; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(28px, 3.6vw, 52px); flex-wrap: wrap; }
.section-head .h2 { max-width: 16ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 18ch; }
.section-head--center .lead { margin-top: 10px; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.work-card { display: block; }
.work-card--wide, .work-item:has(.work-card--wide) { grid-column: span 2; }
.work-card__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.4; background: var(--bg-2); }
.work-card--wide .work-card__media { aspect-ratio: 16 / 8; }
.work-card__media img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 6px 0; }
.work-card__meta h3 { font-size: clamp(22px, 2vw, 28px); }
.work-card__meta p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tags span, .pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.tags--lg { justify-content: flex-start; margin-top: 30px; }
.pill--red { background: var(--red); color: #fff; box-shadow: none; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card--wide, .work-item:has(.work-card--wide) { grid-column: auto; }
  .work-card--wide .work-card__media { aspect-ratio: 4 / 3.4; }
  .work-card__meta { flex-direction: column; }
  .tags { justify-content: flex-start; }
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.filter:hover { background: var(--bg-2); }
.filter.is-active { background: var(--ink); color: #fff; }
.work-item.is-hidden { display: none; }

/* ---------- Services stack ---------- */
.services-stack { border-radius: var(--radius) var(--radius) 0 0; }
.stack { display: grid; gap: 24px; }
.stack__card {
  position: sticky; top: 110px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px);
  padding: clamp(24px, 3.5vw, 48px); border-radius: var(--radius); background: var(--dark-2);
  box-shadow: 0 0 0 1px var(--line-light), 0 -20px 40px -20px rgba(0,0,0,.6); min-height: 480px; transform-origin: center top;
}
.stack__card:nth-child(2) { top: 130px; } .stack__card:nth-child(3) { top: 150px; } .stack__card:nth-child(4) { top: 170px; }
.stack__body { display: flex; flex-direction: column; }
.stack__num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--green); margin-bottom: auto; padding-bottom: 30px; }
.stack__card:nth-child(odd) .stack__num { color: #ff4d44; }
.stack__body h3 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 14px; }
.stack__body > p { color: rgba(255,255,255,.62); margin-bottom: 22px; max-width: 460px; }
.stack__body .text-link { margin-top: 24px; align-self: flex-start; }
.stack__media { border-radius: var(--radius-sm); overflow: hidden; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 860px) {
  .stack__card { grid-template-columns: 1fr; position: relative; top: auto !important; min-height: 0; }
  .stack__media { aspect-ratio: 16 / 10; order: -1; }
}

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 30px 26px 34px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover::after { transform: scaleX(1); }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--red); line-height: 1; margin-bottom: 60px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process__grid { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.benefits { background: var(--bg-2); }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.benefits__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.benefits__media img { width: 100%; height: 118%; object-fit: cover; }
.benefits__list { list-style: none; padding: 0; margin: 40px 0 0; }
.benefits__list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.benefits__list strong { font-size: 19px; }
.benefits__list span { color: var(--muted); }
@media (max-width: 860px) { .benefits__grid { grid-template-columns: 1fr; } .benefits__list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 30px 30px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.plan h3 { font-size: 30px; }
.plan__for { color: var(--muted); margin: 8px 0 26px; }
.plan__price { font-size: 40px; font-weight: 700; letter-spacing: -.04em; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.plan .checks { margin-bottom: 34px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--dark); color: #fff; box-shadow: none; }
.plan--featured .plan__for { color: rgba(255,255,255,.6); }
.plan--featured .plan__price { border-color: var(--line-light); color: var(--green); }
.plan__badge { position: absolute; top: 26px; right: 26px; background: var(--green); color: var(--dark); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq-sec__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-sec__grid > div:first-child { position: sticky; top: 130px; }
.faq-sec__grid .lead { margin: 24px 0 30px; }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; font-size: 18px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); transition: background .3s, transform .5s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq__a { padding: 0 26px 24px; color: var(--muted); }
@media (max-width: 860px) { .faq-sec__grid { grid-template-columns: 1fr; } .faq-sec__grid > div:first-child { position: static; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post-card { display: block; }
.post-card__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; background: var(--bg-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.post-card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; transition: color .3s; }
.post-card:hover h3 { color: var(--red); }
.post-card p { color: var(--muted); font-size: 16px; }
.post-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); padding: 16px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.post-featured__media { border-radius: calc(var(--radius) - 10px); overflow: hidden; aspect-ratio: 16 / 11; }
.post-featured__media img { width: 100%; height: 118%; object-fit: cover; }
.post-featured__body { padding: 20px 20px 20px 0; }
.post-featured h2 { font-size: clamp(28px, 3.2vw, 46px); margin: 6px 0 18px; }
.post-featured p { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-featured { grid-template-columns: 1fr; } .post-featured__body { padding: 10px; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (article) ---------- */
.prose { font-size: 19px; line-height: 1.75; }
.prose p { margin-bottom: 1.3em; color: #2c2b29; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.8em 0 .6em; }
.prose blockquote { margin: 2em 0; padding: 30px 34px; border-radius: var(--radius-sm); background: var(--dark); color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; border-left: 6px solid var(--green); }
.prose__cta { margin-top: 60px; padding: 34px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.prose__cta p { margin: 0; max-width: 420px; font-size: 17px; }
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 101; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--green)); transform-origin: left; transform: scaleX(0); }

/* ---------- Project ---------- */
.project-body { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.project-facts { position: sticky; top: 130px; padding: 28px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.project-facts dl { margin: 0; display: grid; gap: 18px; }
.project-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 4px 0 0; font-weight: 600; }
.project-text h2 { font-size: 28px; margin: 40px 0 12px; }
.project-text p:not(.intro__text) { color: var(--muted); font-size: 18px; }
.project-gallery { display: grid; gap: 20px; }
.project-gallery--2 { grid-template-columns: 1fr 1fr; }
.project-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.project-gallery--1 figure { aspect-ratio: 16 / 9; }
.project-gallery img { width: 100%; height: 118%; object-fit: cover; }
.next-project { display: block; padding: clamp(56px, 8vw, 110px) 0; transition: background .5s; }
.next-project h2 { font-size: clamp(40px, 7vw, 110px); letter-spacing: -.05em; }
.next-project h2 em { display: block; color: var(--green); transition: color .4s; }
.next-project:hover h2 em { color: #ff4d44; }
@media (max-width: 860px) { .project-body, .project-gallery--2 { grid-template-columns: 1fr; } .project-facts { position: static; } }

/* ---------- About ---------- */
.about-media__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: end; }
.about-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.about-media__a { aspect-ratio: 4 / 3; }
.about-media__b { aspect-ratio: 3 / 4; }
.about-media img { width: 100%; height: 118%; object-fit: cover; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 32px 28px 36px; border-radius: var(--radius-sm); background: var(--dark-2); box-shadow: 0 0 0 1px var(--line-light); }
.value__num { display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; margin-bottom: 70px; }
.value--red .value__num { color: #ff4d44; }
.value--green .value__num { color: var(--green); }
.value h3 { font-size: 26px; margin-bottom: 12px; }
.value p { color: rgba(255,255,255,.62); font-size: 16px; }
.sectors__list { border-top: 1px solid var(--line); }
.sector { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.sector h3 { font-size: clamp(26px, 3.4vw, 48px); }
.sector span { color: var(--muted); text-align: right; }
.sector:hover { padding-left: 20px; color: var(--red); }
@media (max-width: 960px) { .values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .values__grid { grid-template-columns: 1fr; } .sector { flex-direction: column; align-items: flex-start; } .sector span { text-align: left; } .about-media__grid { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.svc-index__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-index__item { display: flex; flex-direction: column; gap: 30px; padding: 24px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 19px; line-height: 1.25; position: relative; transition: background .4s, color .4s; }
.svc-index__item span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; color: var(--red); }
.svc-index__item i { position: absolute; top: 24px; right: 24px; font-style: normal; transition: transform .4s var(--ease); }
.svc-index__item:hover { background: var(--ink); color: #fff; }
.svc-index__item:hover span { color: var(--green); }
.svc-index__item:hover i { transform: translateY(4px); }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.svc--alt { background: var(--bg-2); }
.svc--alt .svc__media { order: 2; }
.svc__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.svc__media img { width: 100%; height: 118%; object-fit: cover; }
.svc__num { position: absolute; left: 24px; top: 16px; font-family: var(--serif); font-style: italic; font-size: 90px; color: #fff; line-height: 1; mix-blend-mode: difference; }
.svc__body .h2 { font-size: clamp(34px, 4.2vw, 60px); margin-bottom: 24px; }
.svc__items { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.svc__items li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; display: flex; gap: 10px; }
.svc__items li::before { content: "✦"; color: var(--green); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard { padding: 32px 28px; border-radius: var(--radius-sm); background: var(--dark-2); box-shadow: 0 0 0 1px var(--line-light); transition: transform .5s var(--ease); }
.bcard:hover { transform: translateY(-6px); }
.bcard__icon { display: block; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 44px; position: relative; }
.bcard__icon--red { background: var(--red); } .bcard__icon--green { background: var(--green); }
.bcard__icon::after { content: ""; position: absolute; inset: 13px; border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; }
.bcard h3 { font-size: 23px; margin-bottom: 10px; }
.bcard p { color: rgba(255,255,255,.62); font-size: 16px; }
@media (max-width: 960px) { .svc-index__list { grid-template-columns: 1fr 1fr; } .svc__grid { grid-template-columns: 1fr; } .svc--alt .svc__media { order: 0; } .bgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-index__list, .bgrid, .svc__items { grid-template-columns: 1fr; } }

/* ---------- Horizontal scroll ---------- */
.hscroll { overflow: hidden; }
.hscroll__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; }
.hscroll__head { margin-bottom: 50px; }
.hscroll__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__item { margin: 0; width: clamp(260px, 32vw, 460px); flex: none; }
.hscroll__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hscroll__item figcaption { margin-top: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
html:not(.js) .hscroll__track, .no-hscroll .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.8fr; gap: 24px; align-items: start; }
.contact__info { display: grid; gap: 16px; position: sticky; top: 130px; }
.contact__card { padding: 30px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; }
.contact__card h2 { font-size: 24px; }
.contact__card a, .contact__card > span { font-weight: 600; font-size: 17px; word-break: break-word; }
.contact__card small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact__card a:hover { color: var(--red); }
.contact__card--dark { background: var(--dark); color: #fff; box-shadow: none; }
.contact__social { display: flex; gap: 8px; flex-wrap: wrap; }
.contact__social a { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); font-size: 15px; }
.contact__social a:hover { background: var(--green); color: var(--dark); }
.contact__form { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.contact__form form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, .chips legend { font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 14px; padding: 15px 18px; transition: border-color .3s, background .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field em { font-family: var(--font); font-style: normal; font-size: 13px; color: var(--red); }
.has-error input, .has-error textarea { border-color: var(--red); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .3s, color .3s; }
.chip:hover span { background: var(--bg); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.contact__form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 14px 18px; border-radius: 12px; background: rgba(158,0,0,.08); color: var(--red); font-weight: 600; }
.form-success { text-align: center; padding: 40px 0; display: grid; justify-items: center; gap: 18px; }
.form-success__v { width: 70px; height: 70px; }
.form-success h2 { font-size: clamp(30px, 3.4vw, 44px); }
.form-success p { color: var(--muted); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__info { position: static; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(64px, 8vw, 116px) 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; margin-top: 40px; }
.cta__marquee { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.marquee--big .marquee__track { gap: 0; animation-duration: 30s; }
.marquee--big span { font-size: clamp(100px, 18vw, 260px); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; line-height: 1; }
.marquee--big i { font-style: normal; color: var(--green); }
.cta__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(44px, 8vw, 120px); line-height: .98; letter-spacing: -.05em; max-width: 14ch; }
.cta__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 50px; }
.newsletter__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.newsletter { border-radius: var(--radius) var(--radius) 0 0; }

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 30px; border-top: 1px solid var(--line-light); }
.cta + .footer { border-top: 1px solid var(--line-light); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 40px; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 24px; }
.footer__brand p { color: rgba(255,255,255,.55); max-width: 360px; font-size: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__col h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 700; margin-bottom: 8px; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.8); transition: color .3s; }
.footer__col a:hover { color: var(--green); }
.footer__word { font-size: clamp(80px, 19vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .8; margin: clamp(36px, 5vw, 64px) 0 26px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2); white-space: nowrap; overflow: hidden; }
.footer__word span { -webkit-text-stroke: 0; color: var(--red); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; margin-left: .05em; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(255,255,255,.5); }
.footer__social { display: flex; gap: 20px; }
.footer__social a:hover, .to-top:hover { color: var(--green); }
.to-top { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Reveal states (only with JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%); will-change: transform; }
.js .no-anim [data-reveal], .no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-anim [data-split] .wi { transform: none !important; }
.no-anim .intro__text .w { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- Chatbot mock ---------- */
.stack__media--mock, .svc__media--mock { background: linear-gradient(145deg, #1f2a1c, #0f0f0f 55%, #2a0a0a); display: grid; place-items: center; padding: 30px 16px; }
.svc__media--mock { aspect-ratio: auto; min-height: 560px; }
.chat { position: relative; width: min(320px, 100%); }
.chat__phone { border-radius: 34px; background: #0b141a; padding: 10px; box-shadow: 0 0 0 2px #2b2b2b, 0 30px 60px -20px rgba(0,0,0,.7); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px; background: #1f2c33; border-radius: 26px 26px 0 0; color: #e9edef; }
.chat__head strong { display: block; font-size: 15px; line-height: 1.2; }
.chat__head small { font-size: 12px; color: var(--green-hi); }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 18px; min-height: 380px; border-radius: 0 0 26px 26px;
  background: #0b141a radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 14px 14px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; color: #e9edef; }
.msg--in { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.msg--typing { align-self: flex-end; background: #005c4b; display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #cfe9e3; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__tag { position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.chat__tag--a { top: -16px; left: -18px; background: var(--green); color: var(--dark); transform: rotate(-6deg); }
.chat__tag--b { bottom: -14px; right: -18px; background: var(--red); color: #fff; transform: rotate(5deg); }
@media (max-width: 560px) { .chat__tag--a { left: 0; } .chat__tag--b { right: 0; } }
.js [data-chat] { opacity: 0; transform: translateY(12px) scale(.96); }
.no-anim [data-chat] { opacity: 1 !important; transform: none !important; }
.stack__card:nth-child(5) { top: 190px; }
.svc-index__list { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .svc-index__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .svc-index__list { grid-template-columns: 1fr; } }

/* ---------- Hero video ---------- */
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.hero__video { position: absolute; inset: -8% 0; overflow: hidden; pointer-events: none; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  /* cadre 16:8 : une vidéo 16:9 pleine largeur le couvre ; le zoom masque l'interface YouTube */
  width: 100%; height: auto; aspect-ratio: 16 / 9; transform: translate(-50%, -50%) scale(1.22);
}
.hero__sound {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(14,14,14,.55); color: #fff; font-size: 14px; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  transition: background .3s;
}
.hero__sound:hover { background: var(--red); }
.hero__sound-ico { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.hero__sound-ico::before { content: ""; position: absolute; left: 7px; top: 6px; border-left: 9px solid var(--dark); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero__sound[aria-pressed="true"] .hero__sound-ico::before { left: 7px; top: 7px; width: 3px; height: 8px; border: 0; background: var(--dark); box-shadow: 5px 0 0 var(--dark); }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__sound { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease), background .3s; }
.is-playing .hero__video { opacity: 1; }
.is-playing .hero__sound { opacity: 1; pointer-events: auto; }

@media (max-width: 760px) { .logo-chip { width: 190px; height: 110px; } .logo-chip img { max-height: 76px; } }

/* ---------- Video tag ---------- */
.hero__tag {
  position: absolute; z-index: 3; left: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 40px);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease), background .3s;
}
.hero__tag:hover { transform: translateY(-3px); background: #fff; }
.hero__tag-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hi); flex: none; }
.hero__tag-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red-hi); opacity: .5; animation: pulse-ring 1.8s var(--ease) infinite; }
@keyframes pulse-ring { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.hero__tag-label { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 15px; }
.hero__tag-label small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero__sound, .hero__badge { z-index: 3; }
@media (max-width: 560px) { .hero__tag { padding: 8px 14px 8px 12px; } .hero__tag-label { font-size: 13px; } }


/* ==========================================================
   Expertises : liste qui défile + visuel sticky
   ========================================================== */
.xp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.xp__item { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-light); opacity: .32; transition: opacity .6s var(--ease); }
.xp__item:last-child { border-bottom: 1px solid var(--line-light); }
.xp__item.is-active, html:not(.js) .xp__item, .no-anim .xp__item { opacity: 1; }
.xp__num { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--green); transition: color .5s; }
.xp__item:nth-child(odd) .xp__num { color: #ff4d44; }
.xp__body h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 12px; transition: transform .6s var(--ease); }
.xp__item.is-active h3 { transform: translateX(8px); }
.xp__body > p { color: rgba(255,255,255,.62); margin-bottom: 20px; max-width: 460px; }
.xp__body .checks { margin-bottom: 22px; }
.xp__inline { display: none; }
.xp__visual { position: sticky; top: 110px; }
.xp__stage { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.xp__media { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.xp__media > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease); }
.xp__media.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.xp__media.is-active > img { transform: scale(1); }
.xp__media.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; }
.xp__media--mock { background: linear-gradient(145deg, #1f2a1c, #0f0f0f 55%, #2a0a0a); display: grid; place-items: center; padding: 30px; }
.xp__counter { position: absolute; left: 22px; bottom: 22px; z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgba(14,14,14,.6); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; color: rgba(255,255,255,.7); }
.xp__current { color: #fff; }
.xp__progress { position: absolute; left: 22px; right: 22px; top: 22px; z-index: 3; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.xp__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red-hi), var(--green)); transform-origin: left; transform: scaleX(.2); transition: transform .6s var(--ease); }
@media (max-width: 860px) {
  .xp { grid-template-columns: 1fr; }
  .xp__visual { display: none; }
  .xp__item { grid-template-columns: 1fr; opacity: 1; }
  .xp__inline { display: block; margin-top: 26px; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 11; }
  .xp__inline > img { width: 100%; height: 100%; object-fit: cover; }
  .xp__inline--mock { aspect-ratio: auto; background: linear-gradient(145deg, #1f2a1c, #0f0f0f 55%, #2a0a0a); display: grid; place-items: center; padding: 30px 16px; }
}

/* ==========================================================
   Réalisations (accueil) : liste interactive + aperçu flottant
   ========================================================== */
.plist { position: relative; border-top: 1px solid var(--line); }
.prow {
  position: relative; display: grid; grid-template-columns: 60px 1.1fr 1.4fr auto 56px; align-items: center; gap: 20px;
  padding: 30px 10px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.prow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.prow:hover::before { transform: scaleY(1); transform-origin: top; }
.prow > span { transition: color .4s, transform .6s var(--ease); }
.prow:hover > span { color: #fff; }
.prow:hover .prow__client { transform: translateX(14px); }
.prow__num { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--red); }
.prow:hover .prow__num { color: var(--green) !important; }
.prow__client { font-size: clamp(28px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.prow__title { color: var(--muted); font-weight: 500; }
.prow:hover .prow__title { color: rgba(255,255,255,.7) !important; }
.prow__tags { display: flex; gap: 6px; }
.prow__tags span { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: box-shadow .4s; }
.prow:hover .prow__tags span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.prow__arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); justify-self: end; }
.prow:hover .prow__arrow { background: var(--red) !important; color: #fff; transform: rotate(45deg); }
.prow__thumb { display: none; }
.pfloat { position: fixed; top: 0; left: 0; z-index: 50; width: 340px; height: 420px; margin: -210px 0 0 40px; pointer-events: none; border-radius: 20px; overflow: hidden; transform: scale(0); opacity: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.pfloat__inner { position: relative; width: 100%; height: 100%; }
.pfloat__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pfloat__inner img.is-active { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse), (max-width: 960px) { .pfloat { display: none; } }
@media (max-width: 960px) {
  .prow { grid-template-columns: 40px 1fr 46px; grid-template-areas: "num client arrow" "thumb thumb thumb" "title title title"; row-gap: 14px; padding: 24px 0; }
  .prow::before { display: none; }
  .prow__num { grid-area: num; } .prow__client { grid-area: client; } .prow__arrow { grid-area: arrow; width: 44px; height: 44px; }
  .prow__title { grid-area: title; } .prow__tags { display: none; }
  .prow__thumb { grid-area: thumb; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
  .prow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .prow:hover > span { color: inherit; }
}

/* ==========================================================
   Réalisations (page) : mosaïque aux proportions naturelles
   ========================================================== */
.masonry { columns: 3 320px; column-gap: clamp(16px, 2vw, 28px); }
.masonry .work-item { break-inside: avoid; margin-bottom: clamp(28px, 3vw, 44px); }
.tile { display: block; }
.tile__media { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.tile__media img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px 10px; }
.tile__meta h3 { font-size: 24px; }
.tile__meta p { color: var(--muted); font-size: 15px; }
.tile__arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: background .4s, color .4s, transform .6s var(--ease); }
.tile:hover .tile__arrow { background: var(--red); color: #fff; transform: rotate(45deg); }
.tags--start { justify-content: flex-start; padding: 0 4px; }

/* Révélation en rideau des images */
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.js [data-clip] img { transform: scale(1.2); }
.no-anim [data-clip] { clip-path: none !important; }
.no-anim [data-clip] img { transform: none !important; }

/* Projet : image en proportions naturelles, sans agrandissement flou */
.natural-frame { margin: 0 auto; max-width: 1200px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.natural-frame img { width: 100%; height: auto; }
.project-gallery figure { aspect-ratio: auto !important; }
.project-gallery img { height: auto !important; }

/* ---------- Footer logo ---------- */
.footer__logo { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(44px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line-light); text-align: center; }
.footer__logo-inner { position: relative; width: min(560px, 80vw); }
.footer__logo-inner img { width: 100%; height: auto; }
.no-anim .footer__logo .loader__line, html:not(.js) .footer__logo .loader__line { transform: none; }
.footer__claim { font-size: clamp(18px, 2vw, 24px); color: rgba(255,255,255,.6); }
.footer__claim em { color: var(--green); }
.footer__title { font-size: 22px; margin-bottom: 14px; }

/* ==========================================================
   Vidéos
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.vgrid--home { grid-template-columns: repeat(4, 1fr); }
.vgrid--home .vcard--feature { grid-column: span 2; grid-row: span 2; }
.vcard { display: flex; flex-direction: column; text-align: left; width: 100%; color: inherit; }
.vcard__media { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--dark-2); }
.vcard--feature .vcard__media { flex: 1; aspect-ratio: auto; min-height: 280px; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.vcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); transition: opacity .5s; }
.vcard:hover .vcard__media img { transform: scale(1.06); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--red);
  box-shadow: 0 0 0 0 rgba(255,255,255,.4); transition: transform .5s var(--ease), background .3s, color .3s;
  animation: play-pulse 2.4s infinite;
}
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard--feature .vcard__play, .vcard__play--lg { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.vcard--feature .vcard__play svg, .vcard__play--lg svg { width: 36px; height: 36px; }
.vcard:hover .vcard__play, .vfeature:hover .vcard__play { transform: scale(1.12); background: var(--red); color: #fff; }
@keyframes play-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
.vcard__cat { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(14,14,14,.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vcard__meta { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.vcard__client { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
[data-theme="dark"] .vcard__client { color: var(--green); }
.vcard__title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.vcard--feature .vcard__title { font-size: clamp(22px, 2.2vw, 30px); }
@media (max-width: 1100px) { .vgrid--home { grid-template-columns: repeat(2, 1fr); } .vgrid--home .vcard--feature { grid-row: auto; } }
@media (max-width: 960px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vgrid, .vgrid--home { grid-template-columns: 1fr; } .vgrid--home .vcard--feature { grid-column: auto; } .vcard--feature .vcard__media { aspect-ratio: 16 / 9; min-height: 0; } }

.vfeature { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(36px, 5vw, 60px); background: var(--dark); color: #fff; text-align: left; }
.vfeature__media { display: block; aspect-ratio: 16 / 8; }
.vfeature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vfeature:hover .vfeature__media img { transform: scale(1.04); }
.vfeature__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.7)); }
.vfeature__text { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); right: 20px; font-size: clamp(24px, 3.4vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.vfeature__text small { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--green); }
@media (max-width: 620px) { .vfeature__media { aspect-ratio: 4 / 3; } }
.vitem.is-hidden { display: none; }
.videos-more { margin-top: 40px; text-align: center; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lecteur plein écran */
.vmodal { border: 0; padding: 0; margin: auto; width: min(1200px, 94vw); max-height: 94vh; background: transparent; color: #fff; overflow: visible; }
.vmodal::backdrop { background: rgba(8,8,8,.88); backdrop-filter: blur(6px); }
.vmodal[open] { animation: vmodal-in .5s var(--ease); }
@keyframes vmodal-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.vmodal__box { position: relative; }
.vmodal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__title { margin-top: 14px; font-weight: 700; font-size: 18px; }
.vmodal__close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; font-weight: 700; transition: background .3s, color .3s, transform .4s var(--ease); }
.vmodal__close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.header__nav { gap: 2px; }
@media (max-width: 1240px) { .header__nav a { padding: 8px 10px; font-size: 14px; } }

/* Liste déroulante du formulaire */
.field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 14px;
  padding: 15px 52px 15px 18px; cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .3s, background .3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%239e0000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.field select:hover { background-color: var(--bg-2); }
.field select:focus { outline: none; border-color: var(--ink); background-color: #fff; }
