:root {
  --bg: #EEF1F5;
  --ink: #1A1A1A;
  --pink: #F01878;
  --teal: #18A8A8;
  --muted: #8A93A0;
  --soft: #DDE2E9;
  --soft-2: #E7EBF1;
  --text-soft: #444;
  --text-mid: #555;
  --white: #fff;
  --max: 1240px;
  --pad: 48px;
  --font: 'Poppins', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 18px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--ink); transition: color .15s ease; }
a:hover { color: var(--pink); }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea, select { font: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.page { min-height: 100vh; }
.mono { font-family: var(--mono); }
.accent-pink { color: var(--pink); }
.accent-teal { color: var(--teal); }
.label { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.placeholder {
  background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 14px, var(--soft-2) 14px, var(--soft-2) 28px);
  border: 2px solid var(--ink);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.placeholder--dark {
  background: repeating-linear-gradient(45deg, #242830, #242830 14px, #2C3038 14px, #2C3038 28px);
  border-color: #3A3E46;
  color: #6B7079;
}
.avatar {
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 7px, var(--soft-2) 7px, var(--soft-2) 14px);
  flex-shrink: 0;
}
.avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid transparent;
  padding: 16px 30px;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { color: var(--white); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { color: var(--bg); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); padding: 14px 28px; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn--lg { padding: 18px 40px; font-size: 18px; }

.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
a.chip:hover { color: var(--pink); border-color: var(--pink); }
.chip--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
a.chip--solid:hover { color: var(--bg); border-color: var(--ink); }
.chip--teal { background: var(--teal); color: var(--white); border: none; font-weight: 700; font-size: 12px; padding: 6px 12px; }
.chip--pink { background: var(--pink); color: var(--white); border: none; font-weight: 700; font-size: 12px; padding: 6px 12px; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 200; }
.topbar { background: var(--ink); color: var(--bg); }
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.topbar a { color: var(--bg); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--teal); }
.topbar__left, .topbar__right { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar__right { opacity: .82; }

.nav {
  background: rgba(238, 241, 245, .9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.nav__logo:hover { color: var(--ink); }
.nav__logo-stack {
  position: relative;
  display: block;
  height: 40px;
  width: auto;
}
.nav__logo-base,
.nav__logo-hook {
  display: block;
  height: 40px;
  width: auto;
}
.nav__logo-hook {
  position: absolute;
  left: 0;
  top: 0;
  /* Centre du mark (42, 27) dans le viewBox 222×55 */
  transform-origin: 18.92% 49.09%;
  pointer-events: none;
}
.nav__logo.is-winking .nav__logo-hook {
  animation: logo-wink .6s cubic-bezier(.22, 1, .36, 1);
}
@keyframes logo-wink {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-18deg); }
  55% { transform: rotate(5deg); }
  75% { transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nav__logo.is-winking .nav__logo-hook { animation: none; }
}
.nav__desktop { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; align-items: center; }
.nav__links a.is-active { color: var(--pink); }
.nav__dropdown { position: relative; }
.nav__dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { font-size: 10px; }
.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 260px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
  transition-delay: .12s;
}
/* Pont invisible entre le lien et le panneau (évite la fermeture dans le gap) */
.nav__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.nav__menu a {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.nav__menu a:hover { background: var(--bg); color: var(--pink); }
.nav__burger {
  display: none;
  border: 2px solid var(--ink);
  background: transparent;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: var(--ink);
}
.nav__mobile {
  border-top: 2px solid var(--ink);
  background: var(--bg);
  padding: 14px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  font-size: 18px;
}
.nav__mobile[hidden] { display: none !important; }
.nav__mobile > a {
  padding: 14px 4px;
  border-bottom: 1px solid #D6DAE0;
}
.nav__mobile > a.is-active { color: var(--pink); }
.nav__mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px 16px;
  border-bottom: 1px solid #D6DAE0;
}
.nav__mobile-sub a {
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
}
.nav__mobile .btn { margin-top: 14px; text-align: center; }

/* Hero / sections */
.hero { padding: 64px 0 40px; }
.hero--tall { padding: 72px 0 48px; }
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(42px, 9vw, 108px);
  line-height: .92;
  letter-spacing: -.04em;
}
.hero h1.hero__title-md { font-size: clamp(42px, 8vw, 88px); line-height: .94; margin: 16px 0 20px; max-width: 960px; }
.hero__lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 520px;
  font-weight: 500;
  color: #333;
}
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.showreel {
  margin-top: 12px;
  padding: 28px 0 8px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 15% 40%, rgba(240, 24, 120, .07), transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 60%, rgba(24, 168, 168, .08), transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--soft-2) 18%, var(--soft-2) 82%, transparent 100%);
}
.showreel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.showreel__stage {
  position: relative;
  padding: 22px 0 36px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.showreel__track {
  --showreel-gap: 36px;
  --showreel-shift: calc(-50% - (var(--showreel-gap) / 2));
  display: flex;
  align-items: flex-start;
  gap: var(--showreel-gap);
  width: max-content;
  padding: 8px 4vw 4px;
  animation: showreel-scroll 52s linear infinite;
  will-change: transform;
}
.showreel__stage:hover .showreel__track {
  animation-play-state: paused;
}
.showreel__frame {
  flex: 0 0 auto;
  width: min(340px, 72vw);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transform: rotate(-1.2deg);
  transition: transform .35s ease;
}
.showreel__frame:nth-child(even) { transform: rotate(1deg) translateY(14px); }
.showreel__frame:nth-child(3n) { transform: rotate(-.5deg) translateY(6px); }
.showreel__frame:hover {
  transform: rotate(0deg) translateY(-6px);
  color: inherit;
  z-index: 2;
}
.showreel__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 10px 14px;
}
.showreel__dots {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
}
.showreel__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  display: block;
}
.showreel__dots i:nth-child(1) { background: var(--pink); }
.showreel__dots i:nth-child(2) { background: #F5C518; }
.showreel__dots i:nth-child(3) { background: var(--teal); }
.showreel__url {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  opacity: .72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(238, 241, 245, .12);
  border-radius: 100px;
  padding: 4px 12px;
}
.showreel__screen {
  border: 2px solid var(--ink);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 16 / 10;
  box-shadow: 0 22px 48px rgba(26, 26, 26, .16);
}
.showreel__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.05);
  transition: transform .55s ease, filter .45s ease;
}
.showreel__frame:hover .showreel__screen img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1);
}
.showreel__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding: 0 2px;
}
.showreel__caption strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.showreel__caption span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes showreel-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--showreel-shift), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .showreel__track { animation: none; }
  .showreel__screen img { transition: filter .2s ease; }
  .showreel__stage {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    padding-left: var(--pad);
    padding-right: var(--pad);
    scrollbar-width: thin;
  }
}

.logos {
  margin-top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 20px 0;
}
.logos__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 18px;
}

.section { padding: 72px 0; }
.section--tight { padding: 16px 0 56px; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.section__head h2,
.section h2.display {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.03em;
  line-height: .95;
}
.link-mono {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.service-list { display: flex; flex-direction: column; }
.service-list a {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 2px solid var(--ink);
}
.service-list a:last-child { border-bottom: 2px solid var(--ink); }
.service-list .num { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.service-list h3 { font-weight: 700; font-size: clamp(22px, 3vw, 30px); }
.service-list p { font-size: 15px; color: var(--text-soft); font-weight: 500; }
.service-list .arrow { font-size: 24px; }
.service-list .arrow.pink { color: var(--pink); }
.service-list .arrow.teal { color: var(--teal); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 0 72px; }
.stat {
  border-radius: var(--radius);
  padding: 40px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}
.stat--teal { background: var(--teal); }
.stat--pink { background: var(--pink); }
.stat--dark { background: var(--ink); color: var(--bg); }
.stat .k { font-family: var(--mono); font-size: 14px; opacity: .85; }
.stat .v { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.stat .d { font-size: 15px; font-weight: 600; opacity: .9; }

.testimonial {
  margin-bottom: 72px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.testimonial blockquote {
  font-weight: 700;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.testimonial__author { text-align: right; }
.testimonial__author .avatar { width: 64px; height: 64px; margin-left: auto; margin-bottom: 12px; }
.testimonial__author strong { display: block; font-size: 17px; }
.testimonial__author span { font-size: 14px; color: var(--text-mid); font-weight: 500; }

.cta-band { padding: 0 0 56px; }
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
}
.cta h2 {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.cta p {
  font-size: 19px;
  opacity: .85;
  max-width: 520px;
  margin: 0 auto 32px;
  font-weight: 500;
}
.cta--border {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 64px 48px;
}
.cta--border p { color: var(--text-soft); opacity: 1; }
.cta--split {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 64px 48px;
}
.cta--split h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.cta--split p { margin: 0; font-size: 17px; }
.cta__form { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__form input {
  border: 2px solid var(--bg);
  background: transparent;
  color: var(--bg);
  border-radius: 100px;
  padding: 14px 22px;
  font-size: 15px;
  width: 260px;
}

/* Studio */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 0 0 56px; }
.split__media {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--soft);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.split h2 { font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; line-height: 1; margin-bottom: 20px; }
.split p { font-size: 16px; line-height: 1.7; color: var(--text-soft); font-weight: 500; margin-bottom: 16px; }
.split p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.split p a:hover { color: var(--teal); }
.cards-3, .cards-4 { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800;
}
.card__icon--teal { background: var(--teal); }
.card__icon--pink { background: var(--pink); }
.card__icon--dark { background: var(--ink); color: var(--bg); }
.card h3 { font-weight: 700; font-size: 24px; }
.card p { font-size: 15px; color: var(--text-soft); font-weight: 500; line-height: 1.6; }
.team-card .placeholder { aspect-ratio: 1; margin-bottom: 14px; }
.team-card h3 { font-weight: 700; font-size: 18px; }
.team-card p { font-size: 14px; color: var(--text-mid); font-weight: 500; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 0 56px; }
.mini-stat {
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-stat .v { font-weight: 800; font-size: clamp(36px, 5vw, 52px); line-height: 1; }
.mini-stat .d { font-size: 14px; font-weight: 600; opacity: .9; }
.mini-stat--teal { background: var(--teal); color: var(--white); }
.mini-stat--pink { background: var(--pink); color: var(--white); }
.mini-stat--dark { background: var(--ink); color: var(--bg); }
.mini-stat--outline { border: 2px solid var(--ink); }
.mini-stat--outline .d { color: var(--text-mid); opacity: 1; }

/* Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filters__count {
  display: inline-block;
  margin-left: 6px;
  opacity: .65;
  font-size: 12px;
}
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 16px 0 56px; }
.project-card { text-decoration: none; color: inherit; }
.project-card__sector {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}
.project-card__visual {
  aspect-ratio: 16/10;
  border: 2px solid var(--ink);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.project-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s ease;
}
.project-card:hover .project-card__visual img {
  transform: scale(1.04);
}
.project-card .tag {
  position: absolute; top: 16px; left: 16px;
  z-index: 1;
}
.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.project-card__meta h3 { font-weight: 700; font-size: clamp(20px, 2.5vw, 26px); }
.project-card__meta span { font-family: var(--mono); font-size: 13px; }
.case {
  background: var(--ink);
  color: var(--bg);
}
.case__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.case__content { display: flex; flex-direction: column; gap: 22px; }
.case h2 { font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: .98; letter-spacing: -.03em; }
.case p { font-size: 16px; line-height: 1.65; opacity: .85; font-weight: 500; }
.case__nums { display: flex; gap: 40px; flex-wrap: wrap; }
.case__nums .v { font-weight: 800; font-size: 44px; }
.case__nums .d { font-size: 14px; opacity: .7; font-weight: 500; }
.case__visual {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #3A3E46;
  aspect-ratio: 4/3;
  background: #242830;
}
.case__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.article.project-page {
  max-width: none;
  margin: 0;
}
.project-page__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 48px 0 36px;
}
.project-page__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.project-page__meta,
.project-page__metric {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.project-page__meta { color: var(--muted); font-weight: 500; }
.project-page__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  width: 100%;
}
.project-page__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  flex: 1 1 420px;
}
.project-page__intro h1 {
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: .92;
  letter-spacing: -.045em;
}
.project-page__intro .article__lead {
  margin-top: 0;
  max-width: 38ch;
  font-size: 20px;
}
.project-page__actions {
  flex: 0 0 auto;
  padding-bottom: 4px;
}
.project-page__media {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  background: var(--soft);
  aspect-ratio: 16/10;
}
.project-page__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.project-page__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.project-page__facts .k,
.project-page__tags .k {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.project-page__facts strong {
  font-size: 18px;
  font-weight: 700;
}
.project-page__facts a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.project-page__tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
  margin-bottom: 48px;
  padding-bottom: 8px;
}
.project-page__tags .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.portfolio--related {
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
}
@media (max-width: 900px) {
  .project-page__head {
    gap: 18px;
    padding: 36px 0 28px;
  }
  .project-page__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .project-page__intro .article__lead { max-width: none; }
  .project-page__facts { grid-template-columns: 1fr 1fr; }
  .project-page__tags { grid-template-columns: 1fr; }
  .portfolio--related { grid-template-columns: 1fr; }
}

/* Expertises */
.exp-hero { border-bottom: 2px solid var(--ink); }
.exp-page {
  padding: 40px 0 0;
}
.exp-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 56px;
  align-items: center;
  padding: 36px 0 56px;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(ellipse 65% 80% at 8% 35%, rgba(240, 24, 120, .07), transparent 58%),
    radial-gradient(ellipse 60% 72% at 92% 55%, rgba(24, 168, 168, .08), transparent 54%);
}
.exp-page__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exp-page__intro h1 {
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: .92;
  letter-spacing: -.055em;
  max-width: 760px;
}
.exp-page__intro .article__lead {
  max-width: 720px;
}
.exp-page__intro .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exp-page__facts {
  margin: 34px 0 0;
}
.exp-page__section {
  padding: 72px 0 16px;
}
.exp-pillars .method-card {
  background: rgba(255,255,255,.35);
  transition: transform .18s ease, background .18s ease;
}
.exp-pillars .method-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.62);
}
.exp-page__body {
  max-width: 840px;
  margin: 56px 0 0;
}
.exp-page__body p:first-child {
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
}
.exp-visual {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  min-height: 360px;
}
.exp-visual:hover {
  color: inherit;
}
.exp-visual__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 12px 14px;
}
.exp-visual__url {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(238, 241, 245, .12);
  border-radius: 100px;
  padding: 5px 12px;
}
.exp-visual__screen {
  min-height: 330px;
  border: 2px solid var(--ink);
  border-top: none;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,241,245,.72)),
    repeating-linear-gradient(135deg, transparent, transparent 14px, rgba(26,26,26,.04) 14px, rgba(26,26,26,.04) 28px);
  box-shadow: 0 28px 70px rgba(26, 26, 26, .16);
  transition: transform .35s ease, box-shadow .35s ease;
}
.exp-visual:hover .exp-visual__screen {
  transform: translateY(-3px);
  box-shadow: 0 34px 78px rgba(26, 26, 26, .2);
}
.exp-visual__grid {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  opacity: .7;
}
.exp-visual__grid span {
  border: 2px solid rgba(26,26,26,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
}
.exp-visual__panel {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 1;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}
.exp-visual__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.exp-visual__panel strong {
  display: block;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
}
.exp-visual__panel p {
  margin-top: 12px;
  max-width: 460px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}
.exp-visual__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 58px;
  margin-top: 18px;
}
.exp-visual__bars i {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: var(--ink);
  opacity: .12;
}
.exp-visual__bars i:nth-child(1) { height: 34%; }
.exp-visual__bars i:nth-child(2) { height: 62%; }
.exp-visual__bars i:nth-child(3) { height: 45%; }
.exp-visual__bars i:nth-child(4) { height: 82%; }
.exp-visual__cards {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
  display: none;
  gap: 10px;
  width: 170px;
}
.exp-visual__cards span {
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--bg);
}
.exp-visual--pink .exp-visual__screen {
  background:
    radial-gradient(circle at 18% 18%, rgba(240,24,120,.24), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(24,168,168,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,241,245,.74));
}
.exp-visual--teal .exp-visual__screen {
  background:
    radial-gradient(circle at 18% 18%, rgba(24,168,168,.24), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(240,24,120,.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,241,245,.74));
}
.exp-visual--pink .exp-visual__panel,
.exp-visual--pink .exp-visual__cards span:nth-child(2),
.exp-visual--pink .exp-visual__bars i:nth-child(4) {
  border-color: var(--pink);
}
.exp-visual--teal .exp-visual__panel,
.exp-visual--teal .exp-visual__cards span:nth-child(2),
.exp-visual--teal .exp-visual__bars i:nth-child(4) {
  border-color: var(--teal);
}
.exp-visual--pink .exp-visual__bars i:nth-child(4) { background: var(--pink); opacity: 1; }
.exp-visual--teal .exp-visual__bars i:nth-child(4) { background: var(--teal); opacity: 1; }
.exp-visual--card {
  min-height: 0;
}
.exp-visual--card .exp-visual__screen {
  min-height: 300px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 42px rgba(26, 26, 26, .12);
}
.exp-visual--card .exp-visual__panel {
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
}
.exp-visual--card .exp-visual__panel strong {
  font-size: clamp(22px, 3vw, 34px);
}
.exp-visual--card .exp-visual__panel p {
  display: none;
}
.exp-visual--card .exp-visual__cards {
  width: 130px;
}
.exp-visual--phone .exp-visual__screen {
  width: min(360px, 100%);
  min-height: 520px;
  margin: 0 auto;
  border-radius: 0 0 38px 38px;
}
.exp-visual--phone .exp-visual__grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
}
.exp-visual--spark .exp-visual__grid span,
.exp-visual--signal .exp-visual__grid span {
  border-radius: 999px;
}
.exp-visual--lens .exp-visual__grid span {
  border-radius: 50%;
}
.exp-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 2px solid var(--ink);
}
.exp-block--rev .exp-block__text { order: 2; }
.exp-block--rev .exp-visual { order: 1; }
.exp-block__text { display: flex; flex-direction: column; gap: 20px; }
.exp-block h2 { font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.03em; line-height: 1; }
.exp-block p { font-size: 16px; line-height: 1.65; color: var(--text-soft); font-weight: 500; }
.exp-block .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.method-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.method-card .n { font-weight: 800; font-size: 48px; }
.method-card h3 { font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.method-card p { font-size: 14px; color: var(--text-soft); font-weight: 500; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 0 0 72px;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; font-family: var(--mono); color: var(--text-mid); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
}
.budget-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.budget-chips input { position: absolute; opacity: 0; pointer-events: none; }
.budget-chips label {
  font-family: var(--mono);
  font-size: 13px;
  border: 1.5px solid var(--ink);
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink);
}
.budget-chips input:checked + label {
  background: var(--ink);
  color: var(--bg);
}
.info-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-stack { display: flex; flex-direction: column; gap: 20px; }
.info-card strong { font-size: 20px; display: block; }
.info-card .sub { font-size: 14px; color: var(--text-mid); font-weight: 500; }
.info-card .sub a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.info-card .sub a:hover { color: var(--teal); }
.form-success {
  border: 2px solid var(--teal);
  background: #e8f7f7;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 600;
  color: #0f5e5e;
}
.form-error {
  border: 2px solid var(--pink);
  background: #fde8f1;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 600;
  color: #8a1048;
}

/* Devis gratuit — parcours */
.devis { padding-bottom: 80px; }
.devis__hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 64px 0 40px;
}
.devis__hero-copy .hero__title-md { margin: 16px 0 18px; }
.devis__promises {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.devis__aside {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 24, 120, .08), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(24, 168, 168, .1), transparent 46%),
    var(--white);
}
.devis__summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 20px;
}
.devis__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px dashed var(--soft);
  padding-bottom: 12px;
}
.devis__summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.devis__summary-row span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.devis__summary-row strong {
  font-size: 15px;
  text-align: right;
  transition: color .2s ease, transform .2s ease;
}
.devis__summary-row strong.is-filled {
  color: var(--pink);
}
.devis__aside-note {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.5;
}
.devis__wizard {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 36px 40px 40px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, .06);
}
.devis__progress { margin-bottom: 32px; }
.devis__progress-bar {
  height: 4px;
  background: var(--soft);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 18px;
}
.devis__progress-bar span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  border-radius: 100px;
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.devis__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.devis__steps li {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}
.devis__steps li span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--soft);
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.devis__steps li.is-active,
.devis__steps li.is-done { color: var(--ink); }
.devis__steps li.is-active span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.devis__steps li.is-done span {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.devis__panel {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  animation: devisIn .4s cubic-bezier(.22, 1, .36, 1);
}
.devis__panel[hidden] { display: none !important; }
@keyframes devisIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.devis__question {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px;
  padding: 0;
  float: none;
  width: 100%;
}
.devis__hint {
  font-size: 16px;
  color: var(--text-soft);
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 560px;
}
.devis__choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.devis__choices--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.devis__choices--budget {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.devis-choice {
  position: relative;
  cursor: pointer;
  display: block;
}
.devis-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.devis-choice__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 20px 22px;
  background: var(--bg);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  min-height: 100%;
}
.devis-choice--row .devis-choice__body {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  padding: 18px 22px;
}
.devis-choice__body strong {
  font-size: 17px;
  font-weight: 700;
}
.devis-choice__body em {
  font-style: normal;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}
.devis-choice:hover .devis-choice__body {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 26, 26, .06);
}
.devis-choice input:focus-visible + .devis-choice__body {
  outline: 3px solid rgba(240, 24, 120, .35);
  outline-offset: 2px;
}
.devis-choice input:checked + .devis-choice__body {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 14px 32px rgba(26, 26, 26, .14);
}
.devis-choice input:checked + .devis-choice__body em { color: #c8cdd6; }
.devis__extra {
  margin-top: 22px;
  padding-top: 8px;
  animation: devisIn .35s ease;
}
.devis__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--soft);
}
.devis__step-count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  margin-right: 8px;
}
.devis__nav .btn--outline { order: -1; }
.devis__form .form__row { margin-bottom: 4px; }
.devis__form .field { margin-bottom: 16px; }
.devis__done {
  padding: 72px 0 80px;
}
.devis__done-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(24, 168, 168, .14), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(240, 24, 120, .08), transparent 42%),
    var(--white);
  padding: 64px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  animation: devisIn .5s cubic-bezier(.22, 1, .36, 1);
}
.devis__done-mark {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.devis__done-card .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.devis__done-card h2 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}
.devis__done-card > p {
  font-size: 18px;
  color: var(--text-soft);
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.5;
}
.devis__done-card > p strong { color: var(--ink); font-weight: 700; }
.devis__done-highlight {
  font-size: 20px !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  margin-bottom: 28px !important;
}
.devis__done-next {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.devis__done-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.devis__done-contact {
  margin: 28px 0 0 !important;
  font-size: 14px !important;
  color: var(--muted) !important;
}
.devis__done-contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.devis__done-contact a:hover { color: var(--pink); }
.devis__panel.is-shake {
  animation: devisShake .4s ease;
}
@keyframes devisShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Blog */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 8px 16px;
  background: var(--white);
  min-width: min(320px, 100%);
  z-index: 40;
}
.search.is-open {
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
}
.search__icon {
  flex-shrink: 0;
  color: var(--muted);
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  min-width: 0;
}
.search__suggestions {
  position: absolute;
  top: calc(100% - 1px);
  left: -1.5px;
  right: -1.5px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-top: 1px solid var(--soft);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35);
  max-height: min(420px, 60vh);
  overflow-y: auto;
  z-index: 50;
}
.search__suggestion {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  color: inherit;
}
.search__suggestion:hover,
.search__suggestion.is-active {
  background: var(--bg);
  color: inherit;
}
.search__suggestion-cat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--teal);
  text-transform: uppercase;
}
.search__suggestion-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.search__suggestion-title mark {
  background: rgba(240, 24, 120, .14);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}
.search__suggestion-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search__empty,
.search__loading {
  padding: 16px 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.search__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-empty {
  padding: 24px 0 56px;
  font-family: var(--mono);
  font-size: 14px;
}
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.featured-post__media { aspect-ratio: 16/11; min-width: 0; border: none; border-radius: 0; }
.featured-post__body {
  padding: 40px 40px 40px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.featured-post h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.featured-post p { font-size: 16px; line-height: 1.6; color: var(--text-soft); font-weight: 500; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 0 32px; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0 56px;
}
.pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  flex-wrap: wrap;
}
.pagination__btn {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
}
.pagination__btn:hover { color: var(--pink); border-color: var(--pink); }
.pagination__btn--disabled {
  opacity: .35;
  pointer-events: none;
  background: transparent;
}
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.pagination__page:hover { color: var(--pink); }
.pagination__page.is-current {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pagination__ellipsis {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding: 0 4px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  height: 100%;
}
.post-card .placeholder,
.post-card .post-cover { aspect-ratio: 16/10; border: none; border-radius: 0; }
.post-card__body { padding: 0 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.post-card h3 { font-weight: 700; font-size: 23px; line-height: 1.1; }
.post-card p { font-size: 14px; color: var(--text-mid); font-weight: 500; line-height: 1.55; }
.meta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.meta-row .muted { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Couvertures CSS auto (hachures charte + accent plat, sans titre) */
.post-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink);
  background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 14px, var(--soft-2) 14px, var(--soft-2) 28px);
}
.post-cover__accent,
.post-cover__block {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.post-cover--teal .post-cover__accent,
.post-cover--teal .post-cover__block { background: var(--teal); }
.post-cover--pink .post-cover__accent,
.post-cover--pink .post-cover__block { background: var(--pink); }
.post-cover--p0 .post-cover__accent { inset: 0 auto 0 0; width: 10px; }
.post-cover--p0 .post-cover__block { display: none; }
.post-cover--p1 .post-cover__accent { inset: 0 0 auto 0; height: 10px; }
.post-cover--p1 .post-cover__block { display: none; }
.post-cover--p2 .post-cover__accent { inset: 0 0 auto 0; height: 8px; }
.post-cover--p2 .post-cover__block {
  top: 50%;
  right: 22px;
  width: 64px;
  height: 64px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  transform: translateY(-50%);
}
.post-cover--p3 .post-cover__accent { inset: 0 auto 0 0; width: 10px; }
.post-cover--p3 .post-cover__block {
  right: 22px;
  bottom: 22px;
  width: 88px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 8px;
}
.post-cover__cat,
.post-cover__brand {
  position: relative;
  z-index: 1;
}
.post-cover__cat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--ink);
}
.post-cover--teal .post-cover__cat { border-color: var(--teal); color: var(--teal); }
.post-cover--pink .post-cover__cat { border-color: var(--pink); color: var(--pink); }
.post-cover__brand {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.post-cover--featured {
  aspect-ratio: 16/11;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 28px;
}
.post-cover--hero {
  height: 160px;
  margin-bottom: 32px;
  padding: 20px 24px;
}
.post-cover--featured.post-cover--p2 .post-cover__block {
  width: 88px;
  height: 88px;
}
.post-cover--hero.post-cover--p2 .post-cover__block {
  width: 48px;
  height: 48px;
  right: 20px;
}
.post-cover--hero.post-cover--p3 .post-cover__block {
  width: 64px;
  height: 24px;
  right: 20px;
  bottom: 20px;
}

/* Article */
.article-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 8px;
}
.article-shell:has(.article-toc) {
  grid-template-columns: 240px minmax(0, 820px);
  justify-content: center;
}
.article-toc {
  position: sticky;
  top: 108px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding-top: 56px;
}
.article-toc__label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-toc__desktop ol,
.article-toc__mobile ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--soft);
}
.article-toc__item a {
  display: block;
  padding: 4px 0 4px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-mid);
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.article-toc__item--h3 a {
  padding-left: 26px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.article-toc__item a:hover,
.article-toc__item.is-active a {
  color: var(--ink);
  border-left-color: var(--pink);
}
.article-toc__item.is-active a { font-weight: 700; }
.article-toc__mobile { display: none; }
.article-toc__mobile summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  list-style: none;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
}
.article-toc__mobile summary::-webkit-details-marker { display: none; }
.article-toc__mobile[open] .article-toc__nav { padding: 14px 0 8px; }

.article { max-width: 820px; margin: 0 auto; width: 100%; }
.article--with-toc { margin: 0; }
.article__head { padding: 56px 0 32px; }
.article__back { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.article h1 {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
}
.article__lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 24px;
}
.article__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.article__author .avatar { width: 48px; height: 48px; }
.article__cover { height: 160px; margin-bottom: 32px; border-radius: var(--radius); }
.article__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 18px;
  line-height: 1.75;
  color: #26262B;
}
.article__body p { font-weight: 500; }
.article__body h2,
.article__body h3 {
  scroll-margin-top: 110px;
}
.article__body h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: 14px;
}
.article__body h3 {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.01em;
  margin-top: 10px;
}
.article__body blockquote {
  border-left: 4px solid var(--pink);
  padding: 8px 0 8px 28px;
  margin: 8px 0;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.article__body ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
}
.article__body code {
  font-family: var(--mono);
  font-size: .9em;
  background: rgba(26,26,26,.06);
  padding: 2px 6px;
  border-radius: 6px;
}
.code-block {
  background: var(--ink);
  border-radius: 16px;
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--bg);
  overflow: auto;
  margin: 0;
}
.code-block code { background: none; padding: 0; color: inherit; }
.author-box {
  margin: 48px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-box .avatar { width: 72px; height: 72px; }
.author-box p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.author-box p a:hover { color: var(--teal); }
.related { padding: 16px 0 56px; }
.related h2 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; margin-bottom: 28px; }
.related .post-card .post-cover {
  aspect-ratio: 16/7;
  padding: 16px 18px;
}
.related .post-cover--p2 .post-cover__block {
  width: 44px;
  height: 44px;
  right: 16px;
}
.related .post-cover--p3 .post-cover__block {
  width: 64px;
  height: 22px;
  right: 16px;
  bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}
.site-footer__grid {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 320px;
}
.site-footer__brand img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.site-footer__brand p {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.6;
}
.site-footer__group {
  margin-top: -4px;
}
.site-footer__group a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__group a:hover {
  color: var(--teal);
}
.site-footer__social {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.site-footer__social span { color: #B7BDC6; }
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.site-footer__bar {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__bar a {
  color: inherit;
  text-decoration: none;
}
.site-footer__bar a:hover {
  color: var(--ink);
}

/* Local SEO — villes */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.city-grid--compact {
  grid-template-columns: repeat(3, 1fr);
}
.city-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(238,241,245,.9)),
    repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(24,168,168,.04) 12px, rgba(24,168,168,.04) 24px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.city-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--ink);
}
.city-card--featured {
  border-color: var(--pink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(240,24,120,.06)),
    repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(240,24,120,.05) 12px, rgba(240,24,120,.05) 24px);
}
.city-card strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.city-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 500;
  flex: 1;
}
.city-card__cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--pink);
}
.city-card__covers {
  font-size: 13px !important;
  color: var(--text-soft);
}
.location-page .article__head { padding-bottom: 16px; }
.location-covers {
  margin-top: 36px;
  padding: 20px 24px;
  border-top: 1px solid rgba(24, 28, 36, .12);
}
.location-covers p:last-child {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}
.agence-cover-list {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 900px) {
  :root { --pad: 22px; }
  .nav__desktop { display: none; }
  .nav__burger { display: flex; }
  .showreel__frame { width: min(280px, 78vw); }
  .showreel__track { --showreel-gap: 20px; animation-duration: 36s; }
  .showreel__caption strong { font-size: 14px; }
  .stats, .cards-3, .cards-4, .mini-stats, .portfolio, .post-grid,
  .split, .case__inner, .exp-block, .contact-grid, .featured-post,
  .form__row, .cta--split, .testimonial, .city-grid, .city-grid--compact,
  .exp-page__hero, .devis__hero, .devis__choices--grid, .devis__choices--budget {
    grid-template-columns: 1fr !important;
  }
  .devis__wizard { padding: 28px 22px 32px; }
  .devis__steps { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .devis__step-count { width: 100%; margin: 0; order: -1; }
  .devis__nav { justify-content: stretch; }
  .devis__nav .btn { flex: 1; }
  .devis__done-card { padding: 48px 24px; }
  .pagination {
    flex-direction: column;
    align-items: stretch;
  }
  .pagination__btn { text-align: center; }
  .pagination__pages { order: -1; }
  .search { width: 100%; min-width: 0; }
  .service-list a {
    grid-template-columns: 40px 1fr auto;
  }
  .service-list a p { display: none; }
  .featured-post__body { padding: 24px; }
  .exp-block--rev .exp-block__text,
  .exp-block--rev .exp-visual { order: initial; }
  .exp-page__hero {
    gap: 34px;
    padding-top: 24px;
  }
  .exp-page__facts {
    grid-template-columns: 1fr 1fr;
  }
  .exp-visual {
    min-height: 0;
  }
  .exp-visual__screen {
    min-height: 300px;
  }
  .exp-visual--phone .exp-visual__screen {
    min-height: 420px;
  }
  .exp-visual__cards {
    width: 128px;
  }
  .exp-visual__panel {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 20px;
  }
  .exp-page__body {
    margin-top: 38px;
  }
  .cta, .cta--border, .cta--split { padding: 48px 24px; }
  .article__cover,
  .post-cover--hero { height: 120px; padding: 16px 18px; }
  .article-shell,
  .article-shell:has(.article-toc) {
    grid-template-columns: 1fr;
  }
  .article-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding-top: 24px;
    order: -1;
  }
  .article-toc__desktop { display: none; }
  .article-toc__mobile { display: block; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .testimonial__author { text-align: left; }
  .testimonial__author .avatar { margin-left: 0; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .cta__form input { width: 100%; }
  .exp-page__facts {
    grid-template-columns: 1fr;
  }
  .exp-visual__cards {
    display: none;
  }
  .exp-visual__grid {
    inset: 16px;
  }
}
