/* ==========================================================================
   WondAL Tech SARL, feuille de style principale
   Direction artistique : « Circuit éditorial », rigueur éditoriale européenne,
   chaleur des couleurs du logo, motif signature des pistes de circuit.
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }

:root {
  /* Couleurs de marque (issues du logo) */
  --red: #E8352A;
  --orange: #F6A233;
  --orange-600: #E98A17;
  --deep: #9A1D0E;
  --grad: linear-gradient(100deg, #E8352A 0%, #F07A2C 48%, #F6A233 100%);
  /* Neutres */
  --ink: #111216;
  --anthracite: #1A1B20;
  --graphite: #2A2C33;
  --muted: #5D6068;
  --silver: #C9CDD3;
  --paper: #FBF9F6;
  --beige: #F4EEE5;
  --beige-2: #EAE1D3;
  --white: #FFFFFF;
  --line: rgba(17, 18, 22, .1);
  --line-light: rgba(255, 255, 255, .1);
  --ok: #2E9E6A;
  --err: #C62F23;
  /* Typographie */
  --f-display: "Bricolage", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Mise en page */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 12px;
  --section: clamp(80px, 10vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(17,18,22,.04), 0 12px 32px -12px rgba(17,18,22,.14);
  --shadow-lg: 0 2px 4px rgba(17,18,22,.04), 0 30px 70px -24px rgba(17,18,22,.28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.display-hero { font-size: clamp(2.55rem, 5.4vw, 5.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.01; font-variation-settings: "wdth" 92; }
.display-1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); letter-spacing: -.03em; line-height: 1.03; }
.display-2 { font-size: clamp(1.8rem, 3.2vw, 2.85rem); letter-spacing: -.025em; line-height: 1.08; }
.display-3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.18; }
.display-2 em, .display-1 em { font-style: normal; color: var(--orange-600); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.6; color: var(--graphite); max-width: 62ch; }
.lead--light { color: rgba(255,255,255,.76); }
.display-2 + .lead, .display-1 + .lead { margin-top: 22px; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); }
.eyebrow .ico { width: 18px; height: 18px; color: var(--orange-600); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: var(--orange); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232,53,42,.15); }
.hero__eyebrow::before { display: none; }

/* ---------- Boutons ---------- */
.btn { --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; letter-spacing: -.005em; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s; white-space: nowrap; isolation: isolate; overflow: hidden; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --h: 60px; padding: 0 32px; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(232,53,42,.55); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #D02B21, #E8352A 45%, #F08A2A); opacity: 0; transition: opacity .3s; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232,53,42,.6); }
.btn--primary:hover::after { opacity: 1; }
.btn--outline { border-color: rgba(17,18,22,.22); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--graphite); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: color .2s, gap .3s var(--ease); }
.link-arrow:hover { color: var(--red); gap: 12px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(251,249,246,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251,249,246,.94); box-shadow: 0 8px 30px -18px rgba(17,18,22,.2); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 50px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-size: .95rem; font-weight: 600; color: var(--graphite); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--ink); background: rgba(17,18,22,.05); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; } .burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--beige { background: var(--beige); }
.section--dark, .section--ink { background: var(--anthracite); color: #fff; }
.section--ink { background: var(--ink); }
.section--dark .lead, .section--ink .lead { color: rgba(255,255,255,.72); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head--split > div { max-width: 760px; }
.rounded, .media.rounded { border-radius: var(--radius); overflow: hidden; }

/* ---------- Médias & visuels ---------- */
.media { position: relative; width: 100%; overflow: hidden; background: var(--anthracite); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.visual { position: absolute; inset: 0; overflow: hidden; background:
  radial-gradient(120% 90% at 85% 0%, rgba(246,162,51,.22), transparent 55%),
  radial-gradient(90% 80% at 0% 100%, rgba(232,53,42,.2), transparent 55%),
  linear-gradient(160deg, #202228, #121317 70%); }
.visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.visual__bg, .visual__stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual__stage { padding: 7% 6%; z-index: 1; }
/* éléments SVG */
.v-win { fill: #1E2026; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.v-sep { stroke: rgba(255,255,255,.07); }
.v-d1 { fill: #E8352A; } .v-d2 { fill: #F6A233; } .v-d3 { fill: #5c5f68; }
.v-mono { font: 500 10.5px var(--f-mono); fill: rgba(255,255,255,.5); }
.v-ok { fill: #6CD9A2; }
.v-ln { font: 9px var(--f-mono); fill: rgba(255,255,255,.22); text-anchor: end; }
.v-c-k { fill: #F6A233; } .v-c-t { fill: rgba(255,255,255,.58); } .v-c-s { fill: #EE5A3C; } .v-c-o { fill: #C9CDD3; opacity: .55; }
.v-c-m { fill: rgba(255,255,255,.13); } .v-c-w { fill: rgba(255,255,255,.72); }
.v-caret { fill: #F6A233; animation: blink 1.1s steps(2) infinite; }
.v-tile { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.07); }
.v-bar { fill: rgba(255,255,255,.17); }
.v-acc { fill: url(#wt-grad); }
.v-acc-soft { fill: rgba(246,162,51,.15); stroke: rgba(246,162,51,.4); }
.v-line { fill: none; stroke: #F6A233; stroke-width: 3; stroke-linecap: round; }
.v-node { fill: #F6A233; }
.v-node--ring { fill: rgba(17,18,22,.6); stroke: rgba(246,162,51,.55); stroke-width: 2; }
.v-node--solid { fill: url(#wt-grad); }
.v-phone { fill: #0C0D10; stroke: rgba(255,255,255,.14); }
.v-screen { fill: #191B20; }
.v-trace { fill: none; stroke: rgba(255,255,255,.075); stroke-width: 2; stroke-linecap: round; }
.v-trace--hi { stroke: rgba(246,162,51,.75); stroke-width: 3; }
.v-link { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1.5; stroke-dasharray: 4 5; }
.v-cloud { fill: rgba(255,255,255,.035); stroke: #F6A233; stroke-width: 2; }
.v-led { fill: #6CD9A2; animation: led 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.v-led--b { fill: #F6A233; }
.v-ring { fill: none; stroke: rgba(246,162,51,.22); stroke-width: 1.5; stroke-dasharray: 3 7; transform-origin: 300px 200px; animation: spin 40s linear infinite; }
.v-ring:nth-child(odd) { animation-direction: reverse; }
.v-shield { fill: url(#wt-grad-v); }
.v-check { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.v-label { font: 600 13px var(--f-body); fill: rgba(255,255,255,.84); }
.v-label--lg { font-size: 17px; font-family: var(--f-display); }
.v-donut-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; }
.v-donut { fill: none; stroke: #F6A233; stroke-width: 14; stroke-dasharray: 68 100; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 110px 150px; }
.v-specimen { font: 600 120px var(--f-display); fill: url(#wt-grad); letter-spacing: -4px; }
.v-swatch { stroke: rgba(255,255,255,.12); }
.v-pen { fill: none; stroke: #F6A233; stroke-width: 2.5; }
.v-handle { fill: #fff; stroke: #F6A233; stroke-width: 2; }
.v-road { stroke: rgba(255,255,255,.14); stroke-width: 4; stroke-linecap: round; }
.v-road--done { stroke: #F6A233; }
.v-step { font: 800 9.5px var(--f-body); fill: #fff; }
.v-orb { fill: rgba(232,53,42,.12); stroke: rgba(232,53,42,.45); stroke-width: 1.5; }
.v-orb--b { fill: rgba(246,162,51,.12); stroke: rgba(246,162,51,.5); }
.v-pulse { animation: pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.js .reveal.is-in .v-bar, .js .reveal.is-in .v-acc { animation: grow .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); transform-box: fill-box; transform-origin: bottom; }
.v-load { animation: load 3s var(--ease) infinite; transform-box: fill-box; transform-origin: left; }
.w { animation: float 9s ease-in-out infinite; }
.w2 { animation-delay: -3s; } .w3 { animation-delay: -6s; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes led { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .8; } }
@keyframes grow { from { transform: scaleY(.1); } }
@keyframes load { 0% { transform: scaleX(.1); } 70%, 100% { transform: scaleX(1); } }
@keyframes float { 50% { transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(246,162,51,.16), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lead { margin-top: 26px; }
.hero__proof { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.hero__proof span { margin-top: 6px; font-size: .86rem; color: var(--muted); max-width: 16ch; line-height: 1.35; }
.hero__media { position: relative; }
.hero__photo { aspect-ratio: 4/5 !important; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; font-size: .88rem; font-weight: 700; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 8s ease-in-out infinite; }
.hero__chip .ico { color: var(--red); }
.hero__chip--a { left: -28px; bottom: 16%; }
.hero__chip--b { right: -14px; top: 10%; animation-delay: -4s; }
.ticker { margin-top: clamp(56px, 7vw, 96px); padding-block: 20px; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 42s linear infinite; }
.ticker span { font-family: var(--f-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; color: var(--graphite); white-space: nowrap; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ils nous font confiance ---------- */
.clients { padding-block: clamp(48px, 6vw, 88px); }
.clients--beige { background: var(--beige); }
.clients__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.clients__head .eyebrow { margin: 0; order: 2; }
.clients__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.clients__item { display: grid; place-items: center; height: clamp(104px, 9vw, 132px); min-width: 0; overflow: hidden; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.clients__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.clients__item--dark { background: #24293F; border-color: transparent; }
.clients__item a, .clients__item picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.clients__item img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }

/* ---------- Présentation ---------- */
.intro__head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
.intro__head .display-2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.intro__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__body > p { color: var(--graphite); }
.pillars { margin: 36px 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars__n { font: 700 .8rem var(--f-body); color: var(--orange-600); letter-spacing: .1em; padding-top: 6px; }
.pillars h3 { font-size: 1.35rem; margin-bottom: 6px; }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Domaines d'expertise ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.exp-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 36px 32px; background: var(--anthracite); transition: background-color .4s var(--ease); overflow: hidden; }
.exp-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(246,162,51,.18), transparent 60%); opacity: 0; transition: opacity .45s var(--ease); }
.exp-card:hover { background: #202128; }
.exp-card:hover::before { opacity: 1; }
.exp-card__num { position: relative; font: 700 .78rem var(--f-body); letter-spacing: .14em; color: rgba(255,255,255,.4); }
.exp-card__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 28px 0 26px; border-radius: 16px; background: rgba(255,255,255,.06); color: var(--orange); border: 1px solid rgba(255,255,255,.08); transition: background .4s var(--ease), color .4s; }
.exp-card:hover .exp-card__icon { background: var(--grad); color: #fff; }
.exp-card__icon .ico { width: 26px; height: 26px; }
.exp-card__title { position: relative; font-size: 1.4rem; margin-bottom: 12px; }
.exp-card__text { position: relative; margin: 0; color: rgba(255,255,255,.62); font-size: .97rem; }
.exp-card__arrow { position: absolute; right: 28px; top: 30px; color: rgba(255,255,255,.35); transition: transform .4s var(--ease), color .3s; }
.exp-card:hover .exp-card__arrow { color: var(--orange); transform: translate(3px, -3px); }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sol-list { margin: 30px 0 36px; display: grid; gap: 4px; }
.sol-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sol-list .ico { color: var(--red); margin-top: 2px; }
.sol-list strong { display: block; font-size: 1.05rem; }
.sol-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Réalisations ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.work-grid .pcard--wide { grid-column: 1 / -1; }
.work-grid .pcard--wide .pcard__link { grid-template-columns: 1.3fr 1fr; display: grid; }
.work-grid .pcard--wide .pcard__media { aspect-ratio: auto; min-height: 380px; }
.work-grid .pcard--wide .pcard__body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.work-grid .pcard--wide .pcard__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pcard { position: relative; }
.pcard__link { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--beige-2); }
.pcard__media > * { transition: transform .8s var(--ease); }
.pcard__link:hover .pcard__media > * { transform: scale(1.035); }
.shot, .shot img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 30px; }
.pcard__body .eyebrow { margin-bottom: 10px; font-size: .72rem; }
.pcard__title { font-size: 1.55rem; margin-bottom: 10px; }
.pcard__text { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.pcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--ink); transition: gap .3s var(--ease), color .2s; }
.pcard__link:hover .pcard__more { gap: 12px; color: var(--red); }

/* Visuel de présentation projet */
.mock { --c1: #1D2A5C; --c2: #3E58C8; --bg: #F3F5FB; position: absolute; inset: 0; padding: 7% 8% 0; background: linear-gradient(150deg, var(--c1), color-mix(in srgb, var(--c1) 70%, #000)); }
.mock--navy { --c1: #0B0F4A; --c2: #3B4BE0; --bg: #F2F3FB; }
.mock--ember { --c1: #3A120C; --c2: #E8352A; --bg: #FBF4EE; }
.mock--blue { --c1: #0E3A5F; --c2: #1E88D0; --bg: #F1F7FC; }
.mock--green { --c1: #123B2A; --c2: #2E9E6A; --bg: #F1F8F4; }
.mock--rose { --c1: #4A1730; --c2: #D2557F; --bg: #FCF2F6; }
.mock--teal { --c1: #0D3A3C; --c2: #1BA39C; --bg: #EFF8F7; }
.mock--gold { --c1: #3D2C08; --c2: #D49A1E; --bg: #FBF7EC; }
.mock--slate { --c1: #1E2430; --c2: #6B7A99; --bg: #F3F4F7; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 12px 12px 0 0; background: rgba(255,255,255,.92); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5D7DD; }
.mock__bar i:first-child { background: #E8352A; } .mock__bar i:nth-child(2) { background: #F6A233; }
.mock__bar span { margin-left: 10px; flex: 1; max-width: 70%; padding: 3px 12px; border-radius: 999px; background: #EEF0F3; font: 600 .7rem var(--f-body); color: #5D6068; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { height: calc(100% - 30px); background: var(--bg); padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.mock__nav { display: flex; align-items: center; gap: 10px; }
.mock__nav b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--c2); color: #fff; font: 800 .72rem var(--f-display); }
.mock__nav span { width: 34px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.12); }
.mock__nav span:first-of-type { margin-left: auto; }
.mock__hero { padding: 16px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: flex; flex-direction: column; gap: 7px; }
.mock__hero em { font: 700 .58rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; font-style: normal; opacity: .75; }
.mock__hero strong { font: 600 clamp(1.05rem, 2vw, 1.5rem) var(--f-display); letter-spacing: -.02em; line-height: 1.05; }
.mock__line { height: 5px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.4); }
.mock__line--s { width: 50%; }
.mock__btn { margin-top: 4px; width: 64px; height: 16px; border-radius: 8px; background: #fff; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__cards span { height: 52px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* ---------- Méthode ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--orange) 60%, var(--line) 60%); }
.process__step { position: relative; }
.process__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--orange); font: 700 .9rem var(--f-body); color: var(--deep); }
.process__step:nth-child(n+4) .process__n { border-color: var(--beige-2); }
.process h3 { font-size: 1.35rem; margin-bottom: 10px; }
.process p { margin: 0; color: var(--muted); font-size: .96rem; }
.process--dark .process__n { background: var(--anthracite); color: var(--orange); }
.process--dark .process__step:nth-child(n+4) .process__n { border-color: rgba(255,255,255,.2); }
.process--dark p { color: rgba(255,255,255,.62); }
.process--dark::before { background: linear-gradient(90deg, var(--red), var(--orange) 60%, rgba(255,255,255,.14) 60%); }

/* ---------- Pourquoi nous ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 32px); }
.why__visual { position: relative; margin-top: 40px; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
.why__list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.why__list li:first-child { padding-top: 6px; }
.why__n { font: 700 .82rem var(--f-body); letter-spacing: .12em; color: var(--orange); padding-top: 8px; }
.why__list h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin-bottom: 10px; }
.why__list p { margin: 0; color: rgba(255,255,255,.66); }

/* ---------- Technologies ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .96rem; transition: border-color .25s, transform .35s var(--ease), box-shadow .3s; }
.chip:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.tech-group + .tech-group { margin-top: clamp(56px, 7vw, 96px); }
.tech-group__title { display: flex; align-items: baseline; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tech-group__title span { font: 700 .8rem var(--f-body); letter-spacing: .12em; color: var(--orange-600); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tech-card__mono { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--ink); color: var(--orange); font: 700 1.05rem var(--f-display); letter-spacing: -.02em; }
.tech-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tech-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Témoignages ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi { margin: 0; padding: 34px; border-radius: var(--radius); background: var(--beige); }
.testi blockquote { margin: 0 0 24px; font: 500 1.2rem/1.5 var(--f-display); }
.testi figcaption strong { display: block; } .testi figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- Bandeau de conversion ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 96px); }
.cta-band__inner { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 96px) clamp(28px, 6vw, 88px); border-radius: 32px; color: #fff; background:
  radial-gradient(80% 120% at 100% 100%, rgba(246,162,51,.35), transparent 55%),
  radial-gradient(60% 100% at 0% 0%, rgba(232,53,42,.32), transparent 60%),
  var(--ink); }
.cta-band__traces { position: absolute; top: 0; right: 0; width: 58%; height: 100%; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.cta-band__traces path { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; }
.cta-band__traces circle { fill: none; stroke: var(--orange); stroke-width: 2; }
.cta-band__content { position: relative; max-width: 760px; }
.cta-band .display-2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-band .lead { margin-top: 18px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(64px, 8vw, 100px); font-size: .96rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.logo-plate { display: inline-block; padding: 14px 18px; border-radius: 16px; background: #fff; }
.logo-plate img { width: 200px; height: auto; }
.site-footer__brand p { margin: 22px 0 0; max-width: 40ch; }
.site-footer__title { font: 700 .78rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer__col li + li { margin-top: 10px; }
.site-footer__col a { transition: color .2s; }
.site-footer__col a:hover { color: var(--orange); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .ico { flex: none; margin-top: 3px; color: var(--orange); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 26px 0 34px; border-top: 1px solid var(--line-light); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__sig { font-style: italic; color: rgba(255,255,255,.45); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- En-têtes de pages ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero__grid:not(:has(.page-hero__media)) { grid-template-columns: 1fr; }
.page-hero__text { max-width: 900px; }
.page-hero .lead { margin-top: 24px; }
.page-hero__media { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ---------- Services ---------- */
.svc-index { position: sticky; top: var(--header-h); z-index: 50; background: rgba(251,249,246,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.svc-index ul { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.svc-index ul::-webkit-scrollbar { display: none; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; white-space: nowrap; color: var(--graphite); border: 1px solid var(--line); background: #fff; transition: all .25s; }
.svc-index a span { font-size: .72rem; color: var(--orange-600); font-weight: 800; }
.svc-index a:hover, .svc-index a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc { padding-block: clamp(72px, 9vw, 128px); scroll-margin-top: calc(var(--header-h) + 60px); }
.svc--alt { background: var(--beige); }
.svc__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc--alt .svc__media { order: 2; }
.svc__media { position: sticky; top: calc(var(--header-h) + 90px); }
.svc__num { font-weight: 800; color: var(--ink); }
.svc__body .lead { margin-top: 20px; }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.svc__block h3, .svc__deliv h3 { font: 700 .8rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.list-dash li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.list-dash li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--grad); }
.list-check li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.list-check .ico { color: var(--red); margin-top: 3px; }
.list-check--lg li { grid-template-columns: 32px 1fr; padding: 18px 0; font-size: 1.04rem; }
.list-check--lg strong { font-weight: 700; }
.svc__deliv { margin: 40px 0 36px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.svc--alt .svc__deliv { background: var(--paper); }
.deliv { display: flex; flex-wrap: wrap; gap: 8px; }
.deliv li { padding: 8px 14px; border-radius: 999px; background: var(--beige); font-size: .9rem; font-weight: 600; }
.svc--alt .deliv li { background: #fff; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .93rem; cursor: pointer; transition: all .25s; }
.filter span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--beige); font-size: .74rem; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.is-active span { background: var(--orange); color: var(--ink); }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard.is-hidden { display: none; }
.portfolio__empty { color: var(--muted); }

/* ---------- Fiche réalisation ---------- */
.case__head { padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.case__head .lead { margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: .88rem; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.case__media { position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--beige-2); }
.case__showcase { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: stretch; }
.case__showcase .case__media { aspect-ratio: auto; min-height: 100%; }
.case__video { position: relative; margin: 0; padding: 28px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(90% 70% at 100% 0%, rgba(246,162,51,.3), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(232,53,42,.28), transparent 60%), var(--ink); box-shadow: var(--shadow-lg); }
.case__video video { width: 100%; max-width: 360px; max-height: 70vh; aspect-ratio: 464/784; object-fit: cover; border-radius: 18px; background: #000; border: 1px solid rgba(255,255,255,.12); }
.case__video figcaption { font-size: .86rem; color: rgba(255,255,255,.7); text-align: center; }
.case__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 100px); }
.case__facts dl { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); border-top: 2px solid var(--ink); }
.case__facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.case__facts dt { font: 700 .74rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.case__facts dd { margin: 0; font-weight: 600; }
.case__facts a { color: var(--red); border-bottom: 1px solid currentColor; }
.case__body section + section { margin-top: 48px; }
.case__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.case__body p { font-size: 1.12rem; color: var(--graphite); max-width: 62ch; }
.case__next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.case__next strong { grid-column: 1; font: 600 clamp(1.8rem, 4vw, 3.2rem) var(--f-display); letter-spacing: -.03em; transition: color .3s; }
.case__next .ico { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 56px; padding: 14px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.case__next:hover strong { color: var(--red); }
.case__next:hover .ico { background: var(--ink); color: #fff; transform: translateX(6px); }

/* Galerie */
.gallery { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(5):last-child { grid-column: span 2; }
.gallery__item:nth-child(5):last-child a { aspect-ratio: 2.72; }
.gallery__item a { display: block; position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4/3; background: var(--beige-2); cursor: zoom-in; }
.gallery__item--lead a { aspect-ratio: auto; height: calc(100% - 34px); min-height: 320px; }
.gallery__item--lead img { position: absolute; inset: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__cap { margin: 10px 2px 0; font-size: .88rem; color: var(--muted); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(17,18,22,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; margin-inline: auto; }
.lightbox__cap { margin: 12px 0 0; color: #fff; text-align: center; font-size: .95rem; }
.lightbox__close { position: absolute; top: -56px; right: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; }

/* ---------- À propos ---------- */
.wide-media .media { aspect-ratio: 21/9 !important; }
.editorial { display: grid; grid-template-columns: .35fr 1fr; gap: clamp(24px, 5vw, 80px); }
.editorial__body .lead { margin-top: 28px; }
.editorial__body > p:not(.lead) { color: var(--graphite); max-width: 62ch; }
.editorial__body .list-check { margin-top: 32px; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.vm__card--dark { background: var(--ink); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.vm__card--dark::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246,162,51,.35), transparent); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values__item { padding: 32px 26px 36px; background: var(--paper); transition: background .3s; }
.values__item:hover { background: #fff; }
.values__n { display: block; margin-bottom: 40px; font: 700 .78rem var(--f-body); letter-spacing: .12em; color: var(--orange-600); }
.values__item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.values__item p { margin: 0; color: var(--muted); font-size: .94rem; }
.quality { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quality .lead { margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-hero { padding-block: clamp(48px, 8vw, 100px) clamp(16px, 3vw, 32px); }
.contact-hero .lead { margin-top: 22px; }
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__form-wrap { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__group { border: 0; padding: 0; margin: 0 0 30px; }
.form__group legend { padding: 0; margin-bottom: 18px; font: 600 1.3rem var(--f-display); letter-spacing: -.01em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
abbr[title] { text-decoration: none; color: var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .select select { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid #E2DED7; background: var(--paper); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: #CFC9BF; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--orange-600); background: #fff; box-shadow: 0 0 0 4px rgba(246,162,51,.18); }
.field.has-error input, .field.has-error textarea, .field.has-error .select select { border-color: var(--err); background: #FFF7F6; }
.field.is-valid input, .field.is-valid textarea { border-color: var(--ok); }
.field__error { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--err); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #E2DED7; background: var(--paper); font-size: .9rem; font-weight: 600; transition: all .2s; }
.pill:hover span { border-color: var(--graphite); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--orange-600); outline-offset: 2px; }
.field.has-error .pill span { border-color: rgba(198,47,35,.45); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--graphite); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check a { color: var(--red); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.form__note { margin: 0; color: var(--muted); font-size: .9rem; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .ico { animation: spin 1s linear infinite; }
.form__status:not(:empty) { margin-top: 20px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; margin-bottom: 24px; }
.alert p { margin: 4px 0 0; }
.alert--ok { background: #EAF6F0; color: #12573A; border: 1px solid #BFE3D0; }
.alert--ok .ico { flex: none; color: var(--ok); }
.alert--err { background: #FDEEEC; color: #7D1D15; border: 1px solid #F3C6C0; }
.contact__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 30px; border-radius: 24px; background: var(--beige); }
.contact-card--media { position: relative; padding: 0; overflow: hidden; color: #fff; min-height: 420px; display: flex; }
.contact-card__bg { position: absolute !important; inset: 0; aspect-ratio: auto !important; height: 100%; }
.contact-card--media picture.contact-card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,22,.2), rgba(17,18,22,.88)); }
.contact-card__overlay { position: relative; z-index: 2; margin-top: auto; width: 100%; padding: 30px; background: linear-gradient(180deg, transparent, rgba(17,18,22,.85) 30%); }
.contact-card__overlay .display-3 { margin-bottom: 18px; }
.direct li + li { margin-top: 8px; }
.direct__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: background .25s; }
a.direct__item:hover { background: rgba(255,255,255,.16); }
.direct__item .ico { flex: none; color: var(--orange); }
.direct__item strong { display: block; font-size: .95rem; }
.direct__item small { display: block; color: rgba(255,255,255,.7); font-size: .85rem; word-break: break-word; }
.contact-card__title { font-size: 1.3rem; margin-bottom: 20px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; }
.next-steps li + li { border-top: 1px solid rgba(17,18,22,.08); }
.next-steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--orange); font-weight: 800; font-size: .85rem; }
.next-steps strong { display: block; font-size: .98rem; }
.next-steps p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- 404 & texte ---------- */
.notfound { padding-block: clamp(48px, 8vw, 120px); }
.notfound__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.notfound__visual { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--graphite); }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .v-trace { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 200ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav__link { padding: 10px 10px; font-size: .9rem; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .burger { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px var(--gutter) 40px; background: var(--paper); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 18px 4px; font: 600 1.6rem var(--f-display); letter-spacing: -.02em; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__link:hover { background: none; }
  .nav__link.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-50%); }
  .nav__cta { margin-top: 28px; --h: 58px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  .hero__grid, .intro__grid, .solutions, .why, .svc__grid, .case__grid, .editorial, .quality, .contact, .page-hero__grid, .notfound__inner { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 4/3 !important; }
  .hero__chip--a { left: 12px; } .hero__chip--b { right: 12px; }
  .intro__media .media, .svc__media .media, .wide-media .media { aspect-ratio: 16/10 !important; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), var(--orange) 60%, var(--line) 60%); }
  .process__step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; padding-bottom: 28px; }
  .process__n { grid-row: 1 / span 2; margin: 0; }
  .process h3 { padding-top: 12px; }
  .why__head { position: static; }
  .svc__media, .case__facts dl, .contact__aside { position: static; }
  .svc--alt .svc__media { order: 0; }
  .work-grid .pcard--wide .pcard__link { display: flex; }
  .work-grid .pcard--wide .pcard__media { min-height: 0; aspect-ratio: 16/10; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .page-hero__media { aspect-ratio: 16/10; }
  .vm, .case__showcase { grid-template-columns: 1fr; }
  .case__showcase .case__media { aspect-ratio: 16/10; }
  .notfound__visual { max-width: 340px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .exp-grid, .work-grid, .portfolio, .tech-grid, .svc__cols, .form__row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .clients__head { flex-direction: column; gap: 6px; }
  .clients__head .eyebrow { order: 0; }
  .gallery__item--lead, .gallery__item:nth-child(5):last-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item:nth-child(5):last-child a { height: auto; aspect-ratio: 4/3; }
  .gallery__item--lead a { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .exp-card { min-height: 0; padding: 30px 24px; }
  .values { grid-template-columns: 1fr 1fr; }
  .hero__proof { gap: 18px; }
  .hero__proof span { font-size: .78rem; }
  .hero__chip { font-size: .78rem; padding: 9px 14px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cta-band__inner { border-radius: 24px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter { flex: none; }
  .case__media { border-radius: 18px; }
  .contact__form-wrap { border-radius: 22px; }
}
@media (max-width: 420px) {
  .values { grid-template-columns: 1fr; }
  .hero__proof li:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .v-trace { stroke-dashoffset: 0; }
}
@media print {
  .site-header, .wa-float, .cta-band, .ticker { display: none; }
}
.hero__chip--b { } @media (max-width: 720px) { .hero__chip--b { display: none; } }
.gallery__item:nth-child(5):last-child img { object-position: center 20%; }
