/* =================================================================
   AURÉLIEN LUZ - V4 styles.css
   Clean rebuild. Amber primary. Commercial, strong, readable.
   Palette: Apricot #F2C55D · Lavender #7465B6 · Charcoal #1B1A17 · Cream #FBF5E8
   ================================================================= */

/* ── 1. VARIABLES & RESET ──────────────────────────────────────── */
:root {
  --amber:       #f2c55d;
  --amber-deep:  #c88912;
  --amber-light: rgba(242, 197, 93, 0.10);
  --mauve:       #a99bdc;
  --mauve-deep:  #7465b6;
  --mauve-soft:  rgba(169, 155, 220, 0.18);
  --charcoal:    #1b1a17;
  --cream:       #fbf5e8;
  --paper:       #f9eaca;
  --sand:        #f9eaca;
  --ink:         #1b1a17;
  --muted:       #6f685f;
  --sage:        var(--mauve-deep);
  --line:        rgba(27, 26, 23, 0.12);
  --white-line:  rgba(251, 245, 232, 0.10);
  --accent:      var(--amber);
  --accent-dark: var(--amber-deep);
  --bg:          var(--cream);
  --paper-var:   var(--paper);
  --olive:       var(--charcoal);
  --studio:      var(--charcoal);
  --font:        'Inter';
  --logo-font:   'Gabarito';
  --mono:        'Inter';
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; background: none; border: none; }
fieldset { border: none; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }

/* ── 2. LAYOUT UTILITIES ───────────────────────────────────────── */
.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section--dark  { background: var(--charcoal); color: var(--cream); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.section--dark .sec-eyebrow { color: rgba(250, 247, 238, 0.40); }

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.section--dark .section-title { color: var(--cream); }

.section-title em,
.section-sub em { font-style: normal; color: var(--amber); }

.section-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.section--dark .section-sub { color: rgba(250, 247, 238, 0.60); }

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── 3. INTRO LOADER ───────────────────────────────────────────── */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  background: var(--charcoal);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.site-loader.is-locking  { pointer-events: none; }
.site-loader.is-leaving  { opacity: 0; transform: scale(1.02); }

.site-loader-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(58vw, 260px);
  color: var(--cream);
}

.site-loader-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(27, 26, 23, 0.10));
}

.site-loader-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--amber);
  animation: loaderPulse 1.1s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50%       { opacity: 0.4; transform: scaleX(0.35); }
}

html.intro-loading body { overflow: hidden; }
html.intro-loading .site-header,
html.intro-loading main { visibility: hidden; }
html.intro-revealing .site-header,
html.intro-revealing main { visibility: visible; animation: introFade 0.65s var(--ease) both; }

@keyframes introFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 4. REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── 5. SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

/* ── 6. HEADER & NAV ───────────────────────────────────────────── */
.site-shell { display: flex; flex-direction: column; min-height: 100dvh; }
.site-shell main { flex: 1; }

[data-site-header] {
  min-height: 68px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(250, 247, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  height: 68px;
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  font-family: var(--logo-font);
}

.brand-mark--image {
  object-fit: cover;
  padding: 0;
}

.brand-logo-final {
  display: block;
  width: 129px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-word { display: flex; flex-direction: column; line-height: 1.2; }
.brand-word span  { font-family: var(--logo-font); font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.brand-word small { font-size: 0.62rem; font-family: var(--mono); color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-link:hover { background: var(--sand); }
.nav-link[aria-current="page"] { color: var(--amber-deep); font-weight: 700; }

.nav-header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1.05rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta.nav-cta--diag {
  background: var(--amber);
  color: var(--charcoal);
}

.nav-cta.nav-cta--diag:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
}

.nav-cta.nav-cta--rdv {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.nav-cta.nav-cta--rdv:hover { border-color: var(--ink); background: var(--sand); }

.language-switch { display: flex; align-items: center; gap: 0.2rem; }

.lang-link {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.3rem;
}

.lang-link[aria-current="true"] { color: var(--ink); }

.nav-toggle { display: none; }

/* ── 7. MOBILE DRAWER ──────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--charcoal);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  padding: 96px 32px 48px;
  display: flex;
  flex-direction: column;
}

body.menu-open .mobile-drawer { transform: translateX(0); }

.mobile-drawer-inner { display: flex; flex-direction: column; gap: 0; flex: 1; }

.mobile-drawer .nav-link {
  color: var(--cream);
  font-size: 1.05rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(250, 247, 238, 0.07);
  border-radius: 0;
}

.mobile-drawer .nav-link:hover { background: none; opacity: 0.65; }

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 238, 0.07);
}

.site-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 24;
  max-width: min(360px, calc(100% - 36px));
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
}

.site-notice:empty { display: none; }

.cookie-banner {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.4rem);
  bottom: clamp(0.85rem, 2vw, 1.4rem);
  left: clamp(0.85rem, 2vw, 1.4rem);
  z-index: 72;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(0.9rem, 2vw, 1.35rem);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 1px solid rgba(36, 28, 23, 0.14);
  border-radius: 8px;
  background: rgba(250, 247, 238, 0.96);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(36, 28, 23, 0.18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.cookie-banner-copy {
  display: grid;
  gap: 0.28rem;
}

.cookie-banner-title {
  margin: 0;
  font-family: var(--brand);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.cookie-banner p {
  margin: 0;
  color: rgba(36, 28, 23, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-banner a {
  justify-self: start;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.cookie-banner-actions .btn {
  min-height: 38px;
  padding: 0.62rem 0.95rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 0.9rem;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 130px;
  }
}

/* ── 8. BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.5rem;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn-amber {
  background: var(--amber);
  color: var(--charcoal);
}

.btn-amber:hover {
  background: var(--amber-deep);
  box-shadow: 0 4px 20px rgba(245, 185, 66, 0.28);
  transform: translateY(-1px);
}

.btn-primary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-primary:hover { border-color: var(--ink); background: var(--sand); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover { border-color: var(--ink); background: var(--sand); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 247, 238, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(250, 247, 238, 0.65);
  background: rgba(250, 247, 238, 0.07);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.15s;
}

.text-link:hover { opacity: 0.6; }

/* ── 9. MARQUEE ────────────────────────────────────────────────── */
.site-marquee {
  background: var(--charcoal);
  border-top: 1px solid rgba(250, 247, 238, 0.05);
  border-bottom: 1px solid rgba(250, 247, 238, 0.05);
  overflow: hidden;
  padding: 13px 0;
}

.site-marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: 0.07em;
  color: rgba(250, 247, 238, 0.38);
  animation: marqueeScroll 36s linear infinite;
}

.m-sep    { opacity: 0.2; }
.m-accent { color: var(--amber); }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 10. HERO V4 ───────────────────────────────────────────────── */
/* ── 10. HERO V4 ────────────────────────────────────────────────── */
.v4-hero {
  position: relative;
  min-height: 96svh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Grille de points subtile sur fond clair */
.v4-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 20, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.v4-hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

/* ── META ROW (eyebrow + badge dispo) ── */
.v4-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}

.v4-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--sage);
  border: 1px solid rgba(111, 165, 133, 0.40);
  border-radius: 100px;
  padding: 0.25rem 0.8rem 0.25rem 0.6rem;
}

.v4-hero-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulseGreen 2.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.65); }
}

.v4-hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.v4-hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ── TITRE WRAP (prend l'espace vertical central) ── */
.v4-hero-title-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
}

.v4-hero-title {
  font-size: clamp(48px, 8.5vw, 112px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0;
  width: 100%;
}

/* Couleur propre à chaque mot variable (fond clair) */
.hero-word:nth-child(1) { color: var(--amber-deep); }      /* PLUS GRAND     → ambre */
.hero-word:nth-child(2) { color: var(--mauve-deep); }      /* PLUS VITE      → lavender purple */
.hero-word:nth-child(3) { color: var(--mauve-deep); }      /* PLUS RENTABLE  → lavender purple */
.hero-word:nth-child(4) { color: var(--amber-deep); }      /* MIEUX ACCOMPAGNÉ → ambre fort */

.hero-static { color: var(--ink); }

/* ── HERO TITLE ANIMATED CYCLE ──────────────────────────── */
.title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28em;
}

.hero-static {
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-word-switch {
  display: inline-grid;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.35em);
  will-change: transform, opacity;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

.hero-word em { font-style: normal; color: inherit; }

.hero-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-word.is-exiting {
  opacity: 0;
  transform: translateY(-0.22em);
  transition:
    transform 0.42s cubic-bezier(0.55, 0, 1, 0.45),
    opacity 0.38s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-word { transition: none; }
}
/* ─────────────────────────────────────────────────────────── */

/* ── FOOT (sous-texte + CTA) ── */
.v4-hero-foot {
  margin-bottom: clamp(2rem, 4.5vh, 3.5rem);
}

.v4-hero-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.68;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
}

.v4-hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.v4-hero-micro {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ── CARTES CHIFFRÉES (ligne du bas) ── */
.v4-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.v4-stat-card {
  padding: clamp(1rem, 2.5vh, 1.6rem) 1.5rem clamp(0.8rem, 2vh, 1.2rem);
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.52s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s,
    box-shadow 0.22s,
    background 0.22s;
}

.v4-stat-card:last-child { border-right: none; }

.v4-stat-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v4-stat-card:hover {
  background: rgba(245, 185, 66, 0.06);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.v4-stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.v4-stat-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── 11. PROOF BAND ────────────────────────────────────────────── */
.proof-band {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(250, 247, 238, 0.06);
  padding: clamp(48px, 6vw, 72px) 0;
}

.proof-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.proof-metric {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(250, 247, 238, 0.06);
}

.proof-metric:last-child { border-right: none; }

.proof-metric strong {
  display: block;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.proof-metric span {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.38);
}

/* ── 12. SERVICES ──────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.08);
}

.service-card-accent {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.service-card--coaching  .service-card-accent { background: var(--mauve); }
.service-card--consulting .service-card-accent { background: var(--amber); }
.service-card--advising  .service-card-accent { background: var(--sage); }

.service-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.service-card-target {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.service-card-body { flex: 1; }

.service-card-body p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-card-features {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-card-features li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}

.service-card-features li::before {
  content: '\2192';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.service-note {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── 13. PROJECTS ──────────────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(250, 247, 238, 0.09);
  background: rgba(250, 247, 238, 0.03);
  min-height: 210px;
  transition: border-color 0.2s, background 0.2s;
}

.project-card:hover {
  border-color: rgba(250, 247, 238, 0.18);
  background: rgba(250, 247, 238, 0.06);
}

.project-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.45rem;
}

.project-card p {
  font-size: 0.90rem;
  line-height: 1.6;
  color: rgba(250, 247, 238, 0.52);
  flex: 1;
  margin-bottom: 1rem;
}

.project-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.28);
  border: 1px solid rgba(250, 247, 238, 0.10);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.project-card .text-link { color: var(--amber); border-color: var(--amber); font-size: 0.85rem; }

/* ── 14. DIAGNOSTIC SECTION ────────────────────────────────────── */
.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.90fr) minmax(0, 1.10fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.diagnostic-panel {
  border: 1px solid rgba(250, 247, 238, 0.10);
  border-radius: 12px;
  background: rgba(250, 247, 238, 0.04);
  min-height: 520px;
  padding: 2rem;
}

/* ── 15. DIAGNOSTIC WIDGET (FUNCTIONAL CSS) ────────────────────── */
.diagnostic-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: rgba(250, 247, 238, 0.52);
}

.diagnostic-meta strong {
  display: block;
  color: var(--cream);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

.diagnostic-eyebrow {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.38);
}

.diagnostic-percent {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.09);
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.progress-segments {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.progress-segments span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(250, 247, 238, 0.09);
  transition: background 0.3s;
}

.progress-segments span.is-complete { background: var(--amber); }
.progress-segments span.is-current  { background: rgba(245, 185, 66, 0.40); }

.diagnostic-live-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(250, 247, 238, 0.25);
  margin-bottom: 1.5rem;
}

.diagnostic-step {
  transition: opacity 0.15s, transform 0.15s;
}

.is-stage-exiting .diagnostic-step {
  opacity: 0;
  transform: translateY(-6px);
}

.diagnostic-question legend {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.diagnostic-options {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.answer-option {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(250, 247, 238, 0.09);
  border-radius: 8px;
  background: rgba(250, 247, 238, 0.03);
  color: rgba(250, 247, 238, 0.80);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.90rem;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  cursor: pointer;
}

.answer-option:hover,
.answer-option[aria-pressed="true"] {
  border-color: var(--amber);
  background: rgba(245, 185, 66, 0.07);
  color: var(--cream);
}

.answer-option.is-confirming {
  border-color: var(--amber);
  background: rgba(245, 185, 66, 0.12);
}

.answer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 238, 0.28);
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.answer-option[aria-pressed="true"] .answer-dot,
.answer-option.is-confirming .answer-dot {
  background: var(--amber);
  border-color: var(--amber);
}

.answer-option small {
  font-family: var(--mono);
  font-size: 0.60rem;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 238, 0.28);
  white-space: nowrap;
}

.diagnostic-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.diagnostic-autoadvance {
  font-size: 0.80rem;
  color: rgba(250, 247, 238, 0.38);
  text-align: right;
  flex: 1;
}

.is-advancing .answer-option { pointer-events: none; }

/* Analysis */
.diagnostic-analysis { padding: 1rem 0; text-align: center; }

.analysis-ambient {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.analysis-ambient span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.15);
}

.analysis-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.analysis-mark {
  display: flex;
  gap: 0.06em;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--amber);
}

.analysis-head .kicker {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.38);
}

.diagnostic-analysis h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.5rem;
  transition: opacity 0.15s;
  letter-spacing: 0;
}

.diagnostic-analysis h3.is-switching { opacity: 0; }

.analysis-keywords {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.analysis-keywords span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: rgba(245, 185, 66, 0.38);
  border: 1px solid rgba(245, 185, 66, 0.18);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.analysis-stage-list {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
}

.analysis-stage-list li {
  font-size: 0.82rem;
  color: rgba(250, 247, 238, 0.25);
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.analysis-stage-list li.is-active { color: var(--cream); font-weight: 600; }

/* Result */
.result-panel { display: grid; gap: 1.4rem; }

.result-profile {
  padding: 1.5rem;
  border: 1px solid rgba(245, 185, 66, 0.20);
  border-radius: 10px;
  background: rgba(245, 185, 66, 0.04);
}

.result-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.result-profile h3 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.result-profile > p {
  font-size: 0.90rem;
  color: rgba(250, 247, 238, 0.60);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.result-insight {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(250, 247, 238, 0.03);
  margin-bottom: 1rem;
}

.result-insight > span {
  display: block;
  font-family: var(--mono);
  font-size: 0.60rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.28);
  margin-bottom: 0.4rem;
}

.result-insight > p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(250, 247, 238, 0.60);
}

.score-chart { display: grid; gap: 0.6rem; }

.score-chart-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.60rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.28);
  margin-bottom: 0.25rem;
}

.score-row {
  display: grid;
  grid-template-columns: 96px 1fr 36px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(250, 247, 238, 0.60);
}

.score-line {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.07);
}

.score-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  width: calc(var(--score-ratio, 0) * 100%);
  transition: width 0.6s var(--ease);
}

.score-row strong { color: var(--amber); text-align: right; font-size: 0.88rem; }

.result-actions { margin-top: 0; }

/* Email step */
.diagnostic-form-intro {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(250, 247, 238, 0.52);
  margin-bottom: 0.75rem;
}

.diagnostic-assurance {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 238, 0.28);
  margin-bottom: 1.2rem;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(250, 247, 238, 0.55);
  line-height: 1.5;
}

.consent-field input { width: auto; min-height: auto; flex-shrink: 0; margin-top: 3px; }
.consent-field a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ── 16. FORMS (Contact + General) ────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { display: grid; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field.anti-spam { display: none !important; }

label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.93rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea { min-height: 140px; resize: vertical; }

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.18);
}

.diagnostic-widget input,
.diagnostic-widget select,
.diagnostic-widget textarea {
  background: rgba(250, 247, 238, 0.05);
  border-color: rgba(250, 247, 238, 0.10);
  color: var(--cream);
}

.diagnostic-widget input::placeholder,
.diagnostic-widget textarea::placeholder { color: rgba(250, 247, 238, 0.22); }

.diagnostic-widget input:focus-visible,
.diagnostic-widget textarea:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.12);
}

.diagnostic-widget label { color: rgba(250, 247, 238, 0.60); }

.inline-message {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  min-height: 1.4rem;
  margin-top: 0.5rem;
}

.inline-message.success { color: #5f704a; }
.inline-message.warning { color: #9a6a3f; }
.inline-message.error   { color: #a65039; }

/* ── 17. BOOKING PANEL ─────────────────────────────────────────── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.booking-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.booking-panel { min-height: 480px; }

.booking-empty {
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.booking-empty .kicker { color: var(--mauve); }
.booking-empty h3 { font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.booking-empty p  { color: var(--muted); font-size: 0.92rem; }

/* ── 18. FAQ ───────────────────────────────────────────────────── */
.faq-section {
  background: var(--paper);
}

.faq-list { display: grid; gap: 0; margin-top: 2.5rem; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.22s;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] summary { color: var(--amber-deep); }

.faq-list details > p,
.faq-list details > div {
  padding: 0 0 1.25rem;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 70ch;
}

.faq-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

.reviews-section {
  background: var(--cream);
}

.reviews-section .section-title {
  color: var(--ink);
}

.reviews-section .section-sub {
  color: rgba(28, 26, 22, 0.66);
}

.reviews-carousel {
  width: auto;
  margin: 2rem calc((100vw - min(100vw - 48px, 1180px)) / -2) 0;
  padding: 0 calc((100vw - min(100vw - 48px, 1180px)) / 2) 0.9rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.reviews-grid {
  display: block;
}

.reviews-lane {
  width: 100%;
  overflow: visible;
}

.reviews-track {
  --reviews-loop-x: -50%;
  display: flex;
  width: max-content;
  align-items: flex-start;
  gap: 0.95rem;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: reviewsMarquee 42s linear infinite;
  animation-play-state: paused;
}

.reviews-track.is-loop-ready {
  animation-play-state: running;
}

.reviews-carousel:hover .reviews-track.is-loop-ready {
  animation-play-state: paused;
}

.review-card {
  --review-accent: #7465B6;
  --review-label: #7465B6;
  --review-accent-soft: rgba(116, 101, 182, 0.18);
  --review-bg-start: #FBF5E8;
  --review-bg-end: rgba(169, 155, 220, 0.18);
  --review-border: rgba(116, 101, 182, 0.24);
  position: relative;
  flex: 0 0 clamp(292px, 26vw, 392px);
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-height: 168px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--review-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--review-bg-start), var(--review-bg-end));
  box-shadow: 0 14px 34px rgba(67, 48, 20, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.review-card:nth-child(5n + 1) {
  --review-accent: #7465B6;
  --review-label: #7465B6;
  --review-accent-soft: rgba(116, 101, 182, 0.18);
  --review-bg-end: rgba(169, 155, 220, 0.2);
  --review-border: rgba(116, 101, 182, 0.3);
}

.review-card:nth-child(5n + 2) {
  --review-accent: #F2C55D;
  --review-label: #1B1A17;
  --review-accent-soft: rgba(242, 197, 93, 0.24);
  --review-bg-end: #F9EACA;
  --review-border: rgba(242, 197, 93, 0.42);
}

.review-card:nth-child(5n + 3) {
  --review-accent: #A99BDC;
  --review-label: #7465B6;
  --review-accent-soft: rgba(169, 155, 220, 0.24);
  --review-bg-end: rgba(169, 155, 220, 0.18);
  --review-border: rgba(169, 155, 220, 0.42);
}

.review-card:nth-child(5n + 4) {
  --review-accent: #1B1A17;
  --review-label: #1B1A17;
  --review-accent-soft: rgba(27, 26, 23, 0.1);
  --review-bg-end: #F9EACA;
  --review-border: rgba(27, 26, 23, 0.2);
}

.review-card:nth-child(5n) {
  --review-accent: #F2C55D;
  --review-label: #7465B6;
  --review-accent-soft: rgba(242, 197, 93, 0.22);
  --review-bg-end: rgba(251, 245, 232, 0.96);
  --review-border: rgba(116, 101, 182, 0.24);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--review-accent), rgba(255, 255, 255, 0.2));
}

.review-card::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  pointer-events: none;
}

.review-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--review-accent);
  box-shadow: 0 18px 42px rgba(67, 48, 20, 0.12);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  min-width: 0;
}

.review-person img,
.review-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
}

.review-person img {
  object-fit: cover;
}

.review-avatar {
  display: grid;
  place-items: center;
  background: var(--review-accent-soft);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.review-person h3 {
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-person p {
  margin-top: 0.18rem;
  overflow: hidden;
  color: var(--review-label);
  font-family: var(--mono);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card blockquote {
  color: rgba(28, 26, 22, 0.92);
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  font-weight: 700;
  line-height: 1.36;
}

/* Avis: no-photo vertical cards on mauve field. */
.reviews-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 250, 240, 0.16) 0, rgba(255, 250, 240, 0) 24rem),
    linear-gradient(180deg, #7465b6 0%, #6759a8 100%);
}

.reviews-section .section-title {
  color: var(--cream);
}

.reviews-carousel {
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
  padding-bottom: 1.4rem;
}

.reviews-track {
  gap: clamp(0.95rem, 1.4vw, 1.3rem);
}

.review-card {
  --review-border: rgba(255, 250, 240, 0.68);
  flex-basis: clamp(198px, 15.4vw, 238px);
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.72rem, 1vw, 0.98rem);
  min-height: clamp(246px, 22vw, 316px);
  padding: clamp(0.82rem, 1.05vw, 1.05rem);
  border-color: rgba(255, 250, 240, 0.74);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 24px 58px rgba(27, 26, 23, 0.18);
}

.review-card::before,
.review-card::after,
.review-person,
.review-avatar,
.review-card img {
  display: none !important;
}

.review-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(255, 250, 240, 0.94);
  box-shadow: 0 30px 74px rgba(27, 26, 23, 0.22);
}

.review-sector {
  width: fit-content;
  max-width: 100%;
  padding: 0.32rem 0.46rem;
  border: 1px solid rgba(116, 101, 182, 0.18);
  border-radius: 999px;
  background: rgba(169, 155, 220, 0.14);
  color: var(--mauve-deep);
  font-size: 0.59rem;
  font-weight: 900;
  line-height: 1.1;
}

.review-card blockquote {
  align-self: center;
  color: var(--ink);
  font-size: clamp(0.82rem, 0.92vw, 0.96rem);
  font-weight: 850;
  line-height: 1.35;
}

.review-name {
  color: rgba(27, 26, 23, 0.56);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
}

@keyframes reviewsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--reviews-loop-x, -50%), 0, 0);
  }
}

/* ── 19. TIPS CARDS ────────────────────────────────────────────── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.tip-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: box-shadow 0.2s, transform 0.2s;
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.tip-category {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.75rem;
}

.tip-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.38;
}

.tip-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.62;
  flex: 1;
}

.blog-page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 197, 93, 0.18), transparent 24rem),
    var(--charcoal);
}

.blog-index-section {
  background: var(--paper);
}

.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;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 760px);
  margin: 0 0 clamp(1.35rem, 2.6vw, 2rem);
  padding: 0.55rem;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 14px 38px rgba(72, 54, 11, 0.05);
}

.blog-search input {
  min-height: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.blog-search input:focus-visible {
  box-shadow: none;
}

.blog-search-submit {
  min-height: 46px;
  flex-shrink: 0;
}

.blog-search-results {
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.blog-search-results-head {
  margin-bottom: 1rem;
}

.blog-search-results-head h2 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .blog-search {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-search-submit {
    width: 100%;
  }
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.blog-index-sections {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.blog-index-sections[hidden],
.blog-search-results[hidden] {
  display: none !important;
}

.blog-index-category {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  padding-top: clamp(1rem, 2vw, 1.45rem);
  border-top: 1px solid rgba(27, 26, 23, 0.14);
}

.blog-index-category-head {
  display: grid;
  gap: 0.45rem;
}

.blog-index-category-head.blog-index-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-index-category-head.blog-index-card:hover,
.blog-index-category-head.blog-index-card:focus-visible {
  transform: none;
  box-shadow: none;
}

.blog-index-category-head h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-index-category-head p:not(.media-meta) {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.blog-index-card {
  display: flex;
  min-height: clamp(280px, 21vw, 360px);
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.35rem, 2.3vw, 2.15rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.92), rgba(251, 245, 232, 0.74));
  box-shadow: 0 20px 58px rgba(72, 54, 11, 0.07);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.36s,
    box-shadow 0.36s;
}

.blog-index-card:hover,
.blog-index-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(200, 137, 18, 0.28);
  box-shadow: 0 28px 72px rgba(72, 54, 11, 0.10);
}

.blog-index-card:focus-visible {
  outline: 3px solid rgba(116, 101, 182, 0.42);
  outline-offset: 4px;
}

.blog-index-card--featured {
  grid-row: span 2;
  min-height: 100%;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 18% 12%, rgba(169, 155, 220, 0.32), transparent 20rem),
    linear-gradient(145deg, rgba(255, 250, 240, 0.95), rgba(239, 229, 208, 0.82));
}

.blog-index-card h2 {
  max-width: 17ch;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.1vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.blog-index-card p:not(.media-meta) {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.blog-index-card .text-link {
  margin-top: auto;
}

.blog-category-section {
  background: var(--paper);
}

.blog-article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: minmax(188px, auto);
  gap: clamp(0.72rem, 1.4vw, 1rem);
  align-items: stretch;
}

.blog-article-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.62rem;
  padding: clamp(0.92rem, 1.35vw, 1.14rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(251, 245, 232, 0.78));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(72, 54, 11, 0.06);
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s,
    box-shadow 0.28s;
}

.blog-article-card:hover,
.blog-article-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(200, 137, 18, 0.28);
  box-shadow: 0 24px 62px rgba(72, 54, 11, 0.09);
}

.blog-article-card:focus-within {
  outline: 3px solid rgba(116, 101, 182, 0.42);
  outline-offset: 4px;
}

.blog-article-main {
  display: grid;
  gap: 0.62rem;
  color: inherit;
  text-decoration: none;
}

.blog-article-main:focus-visible {
  outline: 0;
}

.blog-article-card--soon {
  opacity: 0.82;
}

.blog-article-card--soon:hover {
  transform: none;
  border-color: rgba(27, 26, 23, 0.12);
  box-shadow: 0 18px 48px rgba(72, 54, 11, 0.06);
}

.blog-article-card h2 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.18vw, 1.24rem);
  line-height: 1.13;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-article-card p:not(.media-meta) {
  max-width: none;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.46;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-article-card .media-meta {
  margin-bottom: 0.05rem;
  font-size: 0.62rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.blog-card-tags span,
.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(200, 137, 18, 0.26);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  background: rgba(245, 185, 66, 0.12);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.blog-tag-chip:hover,
.blog-tag-chip:focus-visible {
  border-color: rgba(200, 137, 18, 0.5);
  background: rgba(245, 185, 66, 0.2);
}

.blog-article-card .text-link,
.blog-article-card .project-status {
  margin-top: auto;
  font-size: 0.84rem;
}

.blog-card-tags + .text-link {
  margin-top: 0;
}

.content-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: clamp(1rem, 2vw, 1.4rem);
}

.content-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.78rem;
  border: 1px solid rgba(27, 26, 23, 0.16);
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.68);
  color: var(--ink);
  font: 800 0.78rem/1 var(--mono);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}

.content-page-btn:hover:not(:disabled),
.content-page-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(200, 137, 18, 0.44);
  background: rgba(250, 247, 238, 0.95);
}

.content-page-btn.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.content-page-btn:disabled {
  cursor: default;
  opacity: 0.42;
}

.content-page-btn--step {
  min-width: 58px;
}

.video-playlist-block > .content-pagination {
  grid-column: 2;
  justify-content: flex-start;
  margin-top: 0;
}

.video-playlist-block {
  position: relative;
}

.video-playlist-next {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(27, 26, 23, 0.13);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.video-playlist-next span {
  width: 14px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

.video-playlist-next:hover,
.video-playlist-next:focus-visible {
  border-color: rgba(27, 26, 23, 0.3);
  background: var(--gold);
  transform: translateY(-50%) translateX(2px);
}

.blog-article-hero {
  display: block;
  padding-top: clamp(2.2rem, 3.4vw, 3.4rem) !important;
  padding-bottom: clamp(2.2rem, 3.4vw, 3.4rem) !important;
  background: var(--ink) !important;
  background-image: none !important;
  color: var(--cream) !important;
}

.blog-article-page .blog-article-hero .page-hero-grid {
  grid-template-columns: 1fr;
  gap: 0 !important;
  align-items: start;
}

.blog-article-page .blog-article-hero h1 {
  max-width: 980px;
  margin-bottom: clamp(0.85rem, 1.5vw, 1.25rem);
  color: var(--cream);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.blog-article-page .blog-article-hero .kicker {
  display: none;
}

.blog-article-page .blog-article-hero .lede {
  display: block;
  max-width: 74ch;
  margin: 0;
  color: rgba(251, 247, 239, 0.78);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.56;
}

.blog-article-page .blog-article-hero .btn {
  display: none;
}

.blog-article-page .blog-article-section {
  padding-top: clamp(1rem, 2vw, 1.8rem);
}

.blog-article-section {
  background: var(--paper);
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.blog-article-body {
  max-width: 760px;
}

.blog-article-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.blog-article-body h3 {
  margin-top: 1.55rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  line-height: 1.2;
}

.blog-article-body strong {
  color: var(--ink);
  font-weight: 800;
}

.blog-article-body p,
.blog-article-body li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-article-body p + p,
.blog-article-body ul + p {
  margin-top: 1rem;
}

.blog-article-body ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
}

.blog-article-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
}

.blog-back-card,
.blog-tag-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.92), rgba(251, 245, 232, 0.72));
}

.blog-video-link {
  display: grid;
  gap: 0.75rem;
}

.blog-video-link .media-meta,
.blog-video-link > p,
.blog-video-link > .text-link {
  display: none;
}

.blog-video-link h2,
.blog-back-card h2 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.blog-video-link p,
.blog-back-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-related-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}

.blog-related-video-frame .video-resource-media {
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.blog-related-video-frame--short {
  width: min(100%, 210px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}

.blog-related-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-related-video-placeholder {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 1px dashed rgba(27, 26, 23, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(245, 185, 66, 0.12), rgba(255, 250, 240, 0.8));
  color: rgba(27, 26, 23, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── 20. FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(250, 247, 238, 0.52);
  padding: clamp(56px, 8vw, 96px) 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-bg-name {
  position: absolute;
  bottom: -24px;
  right: -16px;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(250, 247, 238, 0.022);
  pointer-events: none;
  user-select: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-massive-name {
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-massive-name em { font-style: italic; color: var(--amber); }

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.72;
  color: rgba(250, 247, 238, 0.42);
  margin-bottom: 1.5rem;
  max-width: 30ch;
}

.footer-status-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  color: var(--sage);
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-links h4 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.28);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links ul { display: grid; gap: 0.5rem; }

.footer-links a {
  font-size: 0.87rem;
  color: rgba(250, 247, 238, 0.52);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 238, 0.06);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 238, 0.22);
  flex-wrap: wrap;
}

/* ── 21. RDV SECTION ───────────────────────────────────────────── */
.rdv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.rdv-what { display: grid; gap: 0.85rem; margin-top: 2rem; }

.rdv-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.rdv-item-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.rdv-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.rdv-item p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.rdv-guarantee {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 185, 66, 0.25);
  background: rgba(245, 185, 66, 0.04);
}

.rdv-guarantee p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.rdv-guarantee strong { color: var(--amber-deep); }

/* ── 22. CONTACT SECTION ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-panel { padding: 2rem; }

/* ── 23. SERVICE DETAIL PAGES ──────────────────────────────────── */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(96px, 14vw, 180px) 0 clamp(56px, 8vw, 96px);
  background-image: radial-gradient(rgba(250, 247, 238, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 64px);
  color: var(--cream);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.68;
  color: rgba(250, 247, 238, 0.62);
  margin-bottom: 1.5rem;
}

.microcopy {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 238, 0.32);
  margin-bottom: 1.5rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.legal-hero .page-hero-grid {
  align-items: end;
}

.legal-page .legal-section {
  background: var(--cream);
}

.legal-document {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(27, 26, 23, 0.10);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.64);
  box-shadow: 0 24px 70px rgba(72, 54, 11, 0.07);
}

.legal-document.reveal {
  opacity: 1;
  transform: none;
}

.legal-document h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  color: var(--ink);
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  color: var(--ink);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-document p {
  margin-bottom: 1rem;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.2rem 1.25rem;
  list-style: disc;
}

.legal-document a {
  color: var(--mauve-deep);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.legal-document .note {
  margin: 1.2rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--amber);
  background: rgba(242, 197, 93, 0.12);
  color: var(--ink);
}

.legal-document table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0 1.4rem;
  overflow-x: auto;
  border-collapse: collapse;
}

.legal-document th,
.legal-document td {
  min-width: 180px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(27, 26, 23, 0.12);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.legal-document th {
  color: var(--ink);
  background: rgba(242, 197, 93, 0.12);
}

.copy p { margin-bottom: 1rem; color: var(--muted); line-height: 1.72; }

.pull-quote {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--amber);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
}

/* ── 24. RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-header-ctas { display: none; }

  .nav-bar { grid-template-columns: auto 1fr auto auto; gap: 0.75rem; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .nav-toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .nav-toggle-lines span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.28s, opacity 0.28s;
  }

  body.menu-open .nav-toggle-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle-lines span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .v4-hero-title-wrap { flex: none; }

  .service-grid        { grid-template-columns: 1fr; }
  .project-grid        { grid-template-columns: 1fr; }
  .diagnostic-layout   { grid-template-columns: 1fr; }
  .booking-layout      { grid-template-columns: 1fr; }
  .contact-layout      { grid-template-columns: 1fr; }
  .rdv-layout          { grid-template-columns: 1fr; }
  .service-detail      { grid-template-columns: 1fr; }

  .proof-band-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-metric:nth-child(odd)  { border-right: 1px solid rgba(250, 247, 238, 0.06); }
  .proof-metric:nth-child(even) { border-right: none; }
  .proof-metric { border-bottom: 1px solid rgba(250, 247, 238, 0.06); }
  .proof-metric:nth-last-child(-n+2) { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 100%); }
  .tips-grid  { grid-template-columns: 1fr; }
  .form-grid  { grid-template-columns: 1fr; }

  .v4-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .v4-stat-card:nth-child(2) { border-right: none; }
  .v4-stat-card:nth-child(3) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .v4-stat-card:nth-child(4) { border-top: 1px solid var(--line); }

  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .language-switch { display: none; }
}

/* =================================================================
   HOME V5 - light commercial redesign
   ================================================================= */
:root {
  --amber: #f2c55d;
  --amber-deep: #c88912;
  --amber-soft: rgba(242, 197, 93, 0.20);
  --mauve: #a99bdc;
  --mauve-deep: #7465b6;
  --mauve-soft: rgba(169, 155, 220, 0.18);
  --charcoal: #1b1a17;
  --cream: #fbf5e8;
  --paper: #f9eaca;
  --sand: #f9eaca;
  --ink: #1b1a17;
  --muted: #6f685f;
  --sage: var(--mauve-deep);
  --line: rgba(27, 26, 23, 0.12);
  --font: 'Inter';
  --logo-font: 'Gabarito';
  --mono: 'Inter';
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

body {
  background:
    radial-gradient(circle at 10% 4%, rgba(242, 197, 93, 0.18), transparent 24rem),
    radial-gradient(circle at 94% 14%, rgba(169, 155, 220, 0.16), transparent 26rem),
    var(--cream);
}

body.modal-open {
  overflow: hidden;
}

.site-loader {
  background: var(--cream);
}

.site-loader-mark {
  color: var(--charcoal);
}

.site-header {
  background: rgba(251, 245, 232, 0.88);
  border-bottom: 1px solid rgba(27, 26, 23, 0.10);
}

.nav-bar {
  width: min(100% - 40px, 1320px);
}

.brand-mark {
  background: var(--charcoal);
  color: var(--paper);
  border-radius: 8px;
}

.brand-word small {
  color: var(--muted);
}

.nav-link:hover {
  background: rgba(242, 197, 93, 0.16);
}

.nav-cta.nav-cta--diag,
.btn-amber {
  background: var(--amber);
  color: var(--charcoal);
  border: 1px solid rgba(27, 26, 23, 0.14);
}

.nav-cta.nav-cta--diag:hover,
.btn-amber:hover {
  background: #e7b63c;
  box-shadow: 0 12px 28px rgba(200, 137, 18, 0.18);
}

.btn-primary {
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  border: 1.5px solid rgba(27, 26, 23, 0.22);
}

.btn-primary:hover { border-color: var(--ink); }

.btn-secondary {
  background: rgba(255, 250, 240, 0.72);
  border-color: rgba(27, 26, 23, 0.16);
}

.btn-secondary:hover {
  background: var(--paper);
  border-color: rgba(27, 26, 23, 0.44);
}

.btn:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.text-link:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid rgba(169, 155, 220, 0.48);
  outline-offset: 3px;
}

.mobile-drawer {
  background: rgba(251, 245, 232, 0.98);
  color: var(--ink);
  border-left: 1px solid var(--line);
}

.mobile-drawer .nav-link {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.mobile-actions {
  border-top-color: var(--line);
}

.section {
  padding: clamp(70px, 8vw, 122px) 0;
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.sec-eyebrow {
  color: var(--mauve-deep);
}

.section-title {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2.3rem, 5.6vw, 5.9rem);
  line-height: 0.96;
  text-wrap: balance;
}

.section-sub {
  color: var(--muted);
  max-width: 60ch;
}

.v4-hero {
  min-height: 88dvh;
  background:
    linear-gradient(90deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 86% 24%, rgba(169, 155, 220, 0.28), transparent 24rem),
    radial-gradient(circle at 18% 78%, rgba(242, 197, 93, 0.28), transparent 24rem),
    var(--cream);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.v4-hero::before {
  display: none;
}

.v4-hero .container {
  width: min(100% - 40px, 1320px);
  padding-top: clamp(1.25rem, 3vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.v4-hero-meta {
  justify-content: flex-start;
  margin-bottom: clamp(1rem, 4vh, 2.4rem);
}

.v4-hero-eyebrow {
  color: rgba(27, 26, 23, 0.56);
}

.v4-hero-eyebrow::before {
  background: var(--mauve);
}

.v4-hero-title-wrap {
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}

.v4-hero-title {
  font-size: clamp(3.9rem, 10.3vw, 9.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.title-line {
  gap: 0.18em;
}

.hero-word-switch {
  min-width: min(100%, 9.6em);
  min-height: 0.98em;
  vertical-align: baseline;
}

.hero-word:nth-child(1),
.hero-word:nth-child(3) {
  color: var(--amber-deep);
}

.hero-word:nth-child(2),
.hero-word:nth-child(4) {
  color: var(--mauve-deep);
}

.v4-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 58ch) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.v4-hero-ctas {
  justify-content: flex-start;
}

.v4-hero-micro {
  color: rgba(27, 26, 23, 0.60);
}

.v4-hero-stats {
  border: 1px solid rgba(27, 26, 23, 0.12);
  background: rgba(255, 250, 240, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  overflow: hidden;
}

.v4-stat-card {
  border-right-color: rgba(27, 26, 23, 0.12);
}

.v4-stat-card:hover {
  background: rgba(242, 197, 93, 0.14);
  border-color: rgba(200, 137, 18, 0.45);
  box-shadow: inset 0 0 0 1px rgba(200, 137, 18, 0.36);
  transform: translateY(-3px);
}

.v4-stat-card:nth-child(even):hover {
  background: rgba(169, 155, 220, 0.16);
  border-color: rgba(116, 101, 182, 0.38);
  box-shadow: inset 0 0 0 1px rgba(116, 101, 182, 0.30);
}

.proof-projects {
  background: var(--paper);
  overflow: hidden;
}

.project-slider {
  cursor: grab;
  margin-inline: calc((100vw - min(100vw - 40px, 1320px)) / -2);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 0 calc((100vw - min(100vw - 40px, 1320px)) / 2) 1rem;
  scrollbar-width: none;
  max-width: 100vw;
  contain: inline-size;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.project-slider-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.project-slider-track.is-loading {
  visibility: hidden;
}

.proof-project-card {
  width: clamp(270px, 28vw, 382px);
  min-height: 470px;
  display: grid;
  grid-template-rows: 210px 1fr;
  border: 1px solid rgba(27, 26, 23, 0.13);
  border-radius: 16px;
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}

.proof-project-card--link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.proof-project-card--link:focus-visible {
  outline: 3px solid rgba(116, 101, 182, 0.42);
  outline-offset: 4px;
}

.proof-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 137, 18, 0.34);
  box-shadow: 0 22px 50px rgba(80, 61, 20, 0.10);
}

.proof-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream);
}

.builder-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
}

.proof-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.proof-card-body h3,
.builder-card h3 {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.08;
  margin: 0.6rem 0 0.65rem;
}

.proof-card-body p,
.builder-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.proof-project-card .project-status,
.builder-card .project-status {
  width: fit-content;
  color: var(--mauve-deep);
  border-color: rgba(116, 101, 182, 0.22);
  background: rgba(169, 155, 220, 0.14);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.project-tags span {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27, 26, 23, 0.66);
  background: rgba(242, 197, 93, 0.18);
  border: 1px solid rgba(200, 137, 18, 0.18);
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
}

.services-section {
  background: var(--cream);
}

.service-list {
  display: grid;
  gap: 0.9rem;
}

.service-row {
  --row-accent: var(--amber);
  --row-bg: rgba(242, 197, 93, 0.12);
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) minmax(0, 2fr) minmax(160px, 0.9fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  min-height: 190px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(27, 26, 23, 0.13);
  border-radius: 18px;
  background: linear-gradient(90deg, var(--row-bg), rgba(255, 250, 240, 0.72) 34%, var(--paper));
  overflow: hidden;
  transition: transform 0.24s var(--ease), border-color 0.24s, background 0.24s, box-shadow 0.24s;
}

.service-row > * {
  min-width: 0;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--row-accent);
  transition: width 0.24s var(--ease);
}

.service-row:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--row-accent), #1b1a17 22%);
  box-shadow: 0 22px 60px rgba(78, 60, 20, 0.08);
}

.service-row:hover::before {
  width: 18px;
}

.service-row--consulting {
  --row-accent: var(--mauve);
  --row-bg: rgba(169, 155, 220, 0.17);
}

.service-row--advising {
  --row-accent: var(--amber);
  --row-bg: rgba(242, 197, 93, 0.10);
}

.service-row-left span {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.service-row-left h3 {
  font-size: clamp(1.8rem, 2.8vw, 3.8rem);
  line-height: 0.92;
  color: var(--ink);
  white-space: nowrap;
}

.service-row-center h4 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.service-row-center p {
  color: var(--muted);
  max-width: 68ch;
}

.service-row-right {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.service-row-right strong {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

.build-section {
  background: var(--paper);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.builder-card {
  display: grid;
  grid-template-rows: minmax(140px, 0.65fr) auto;
  border: 1px solid rgba(27, 26, 23, 0.13);
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}

.builder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 101, 182, 0.30);
  box-shadow: 0 22px 52px rgba(67, 55, 109, 0.10);
}

.builder-card--link {
  color: inherit;
  text-decoration: none;
}

.builder-card--link:focus-visible {
  outline: 3px solid rgba(116, 101, 182, 0.45);
  outline-offset: 4px;
}

.builder-card > div {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  padding: 1.35rem;
}

.builder-card .text-link {
  margin-top: auto;
  width: fit-content;
  color: var(--amber-deep);
}

.diagnostic-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 14% 18%, rgba(169, 155, 220, 0.34), transparent 30rem),
    radial-gradient(circle at 88% 54%, rgba(116, 101, 182, 0.24), transparent 32rem),
    radial-gradient(circle at 52% 92%, rgba(169, 155, 220, 0.18), transparent 22rem),
    #f4f1ff;
}

.diagnostic-section .container {
  width: min(100% - 40px, 1320px);
}

.diagnostic-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
}

.diagnostic-copy .section-title {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
}

.diagnostic-proofline {
  display: inline-flex;
  margin-top: 1.6rem;
  padding: 0.66rem 0.85rem;
  border: 1px solid rgba(116, 101, 182, 0.38);
  border-radius: 999px;
  background: rgba(116, 101, 182, 0.14);
  color: var(--mauve-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.diagnostic-shell,
.diagnostic-widget {
  border-radius: 22px;
}

.diagnostic-widget {
  min-height: 720px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid rgba(116, 101, 182, 0.32);
  background:
    linear-gradient(145deg, rgba(238, 233, 255, 0.98), rgba(220, 212, 252, 0.65)),
    #f4f1ff;
  box-shadow: 0 28px 72px rgba(67, 55, 109, 0.18);
}

.diagnostic-meta,
.diagnostic-live-note,
.diagnostic-autoadvance,
.diagnostic-form-intro,
.diagnostic-assurance,
.consent-field,
.result-profile > p,
.result-insight > p,
.score-row {
  color: var(--muted);
}

.diagnostic-meta strong,
.diagnostic-question legend,
.diagnostic-analysis h3,
.result-profile h3,
.analysis-stage-list li.is-active {
  color: var(--ink);
}

.diagnostic-eyebrow,
.analysis-head .kicker,
.result-insight > span,
.score-chart-header {
  color: rgba(27, 26, 23, 0.48);
}

.diagnostic-percent,
.result-label,
.score-row strong,
.analysis-mark {
  color: var(--amber-deep);
}

.progress-track,
.progress-segments span,
.score-line {
  background: rgba(27, 26, 23, 0.09);
}

.progress-bar,
.progress-segments span.is-complete,
.score-line span {
  background: var(--amber);
}

.progress-segments span.is-current {
  background: var(--mauve);
}

.answer-option {
  border-color: rgba(27, 26, 23, 0.12);
  background: rgba(255, 250, 240, 0.70);
  color: var(--ink);
}

.answer-option:hover,
.answer-option[aria-pressed="true"],
.answer-option.is-confirming {
  border-color: rgba(116, 101, 182, 0.55);
  background: rgba(169, 155, 220, 0.22);
  color: var(--ink);
}

.answer-option[aria-pressed="true"] .answer-dot,
.answer-option.is-confirming .answer-dot {
  background: var(--mauve-deep);
  border-color: var(--mauve-deep);
}

.answer-dot {
  border-color: rgba(27, 26, 23, 0.28);
}

.answer-option small,
.analysis-ambient span,
.analysis-stage-list li {
  color: rgba(27, 26, 23, 0.42);
}

.analysis-keywords span {
  color: var(--mauve-deep);
  border-color: rgba(116, 101, 182, 0.24);
  background: rgba(169, 155, 220, 0.12);
}

.result-profile {
  background: rgba(242, 197, 93, 0.10);
  border-color: rgba(200, 137, 18, 0.22);
}

.result-insight {
  background: rgba(255, 250, 240, 0.72);
}

.diagnostic-widget input,
.diagnostic-widget select,
.diagnostic-widget textarea {
  background: rgba(255, 250, 240, 0.86);
  border-color: rgba(27, 26, 23, 0.14);
  color: var(--ink);
}

.diagnostic-widget input::placeholder,
.diagnostic-widget textarea::placeholder {
  color: rgba(27, 26, 23, 0.34);
}

.diagnostic-widget label {
  color: var(--ink);
}

.booking-section {
  background: var(--paper);
}

.booking-panel {
  min-height: 650px;
  padding: 0;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 24px 64px rgba(72, 54, 11, 0.09);
}

.booking-note {
  display: inline-flex;
  margin-top: 1.6rem;
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}


.booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.86);
}

.booking-empty {
  min-height: 520px;
  justify-content: center;
  background: var(--paper);
}

.contact-strip {
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-strip h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 0.95;
}

.contact-subtitle {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 23, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  width: min(100%, 820px);
  max-height: min(92dvh, 900px);
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(27, 26, 23, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.22s var(--ease);
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

[data-contact-modal] .contact-modal-panel {
  background: #fff;
}

[data-contact-modal] input,
[data-contact-modal] select,
[data-contact-modal] textarea {
  background: #fff;
}

[data-rdv-modal] .contact-modal-panel {
  background: #fff;
}

[data-rdv-modal] input,
[data-rdv-modal] select,
[data-rdv-modal] textarea {
  background: #fff;
}

.contact-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-modal-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  color: var(--ink);
}

.modal-close {
  flex-shrink: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 245, 232, 0.78);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.16s, background 0.16s;
}

.modal-close:hover {
  transform: translateY(-1px);
  background: var(--cream);
}

.site-footer.site-footer--simple {
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: clamp(34px, 5vw, 58px) 0;
}

.footer-minimal {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.site-footer--simple .footer-brand {
  justify-content: center;
}

.site-footer--simple .footer-tagline {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 0;
}

.footer-company {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: -0.12rem 0 0;
  color: rgba(27, 26, 23, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-company a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 103, 202, 0.42);
}

.footer-company a:hover {
  color: var(--violet);
  border-bottom-color: currentColor;
}

.footer-legal-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: rgba(27, 26, 23, 0.45);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.42rem 0.72rem 0.42rem 0.5rem;
  border: 1px solid rgba(27, 26, 23, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-social-link:hover,
.footer-legal-line a:hover {
  border-color: rgba(27, 26, 23, 0.22);
  color: var(--ink);
}

.footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.7);
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  overflow: visible;
}

.footer-social-link--facebook {
  border-color: rgba(24, 119, 242, 0.24);
}

.footer-social-link--instagram {
  border-color: rgba(214, 41, 118, 0.24);
}

.footer-social-link--linkedin {
  border-color: rgba(10, 102, 194, 0.24);
}

.footer-social-link--tiktok {
  border-color: rgba(17, 17, 17, 0.22);
}

.footer-social-link--youtube {
  border-color: rgba(255, 0, 0, 0.24);
}

.footer-legal-line a {
  color: rgba(27, 26, 23, 0.45);
  text-decoration: none;
}

@media (max-width: 1180px) {
  .v4-hero-foot {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row-right {
    justify-items: start;
  }

  .service-row-left h3 {
    white-space: normal;
    font-size: clamp(2rem, 5vw, 3.8rem);
  }
}

@media (max-width: 980px) {
  .section-header--split,
  .diagnostic-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .diagnostic-layout {
    gap: 2rem;
  }

  .diagnostic-widget {
    min-height: auto;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    gap: 0.8rem;
  }
}

@media (max-width: 720px) {
  .nav-bar,
  .v4-hero .container,
  .diagnostic-section .container,
  .container {
    width: min(100% - 28px, 100%);
  }

  .section {
    padding: clamp(56px, 14vw, 86px) 0;
  }

  .v4-hero {
    min-height: auto;
  }

  .v4-hero .container {
    min-height: 90dvh;
  }

  .v4-hero-title {
    font-size: clamp(3rem, 16vw, 5.6rem);
    line-height: 0.92;
  }

  .hero-word-switch {
    min-width: 100%;
  }

  .v4-hero-stats {
    border-radius: 14px;
  }

  .v4-stat-card {
    padding-inline: 1rem;
  }

  .proof-project-card {
    width: min(82vw, 340px);
    min-height: 455px;
  }

  .service-row {
    min-height: auto;
    border-radius: 14px;
    padding: 1.35rem;
  }

  .service-row-left h3 {
    font-size: clamp(2.2rem, 14vw, 3.6rem);
  }

  .builder-card {
    grid-template-rows: 200px auto;
  }

  .diagnostic-section {
    min-height: auto;
  }

  .diagnostic-proofline {
    border-radius: 12px;
  }

  .diagnostic-controls,
  .booking-footer,
  .contact-strip-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .diagnostic-autoadvance {
    text-align: left;
  }

  .score-row {
    grid-template-columns: 82px 1fr 28px;
    gap: 0.45rem;
  }
  .contact-strip h2 {
    max-width: 9ch;
  }

  .contact-modal {
    padding: 0.7rem;
    align-items: end;
  }

  .contact-modal-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-carousel {
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .reviews-carousel::-webkit-scrollbar {
    display: none;
  }

  .reviews-track,
  .reviews-track.is-loop-ready {
    animation: none;
    transform: none !important;
  }

  .reviews-section .review-card[aria-hidden="true"] {
    display: none;
  }

  .review-card {
    flex-basis: min(61vw, 218px);
    min-height: 278px;
    padding: 0.82rem;
    scroll-snap-align: start;
  }

  .review-card blockquote {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-slider {
    cursor: default;
  }

  .reviews-track,
  .reviews-track.is-loop-ready {
    animation: none !important;
    transform: none !important;
  }

  .service-row,
  .builder-card,
  .proof-project-card,
  .contact-modal,
  .contact-modal-panel {
    transition: none;
  }
}

/* ── SCROLL-COVER TRANSITION (build-section → diagnostic) ──────── */
.scroll-cover-pair {
  position: relative;
  isolation: isolate;
}

.scroll-cover-pinned {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-bottom: 40vh;
}

.scroll-cover-incoming {
  position: relative;
  z-index: 2;
  border-radius: 28px 28px 0 0;
  box-shadow:
    0 -24px 64px rgba(67, 55, 109, 0.14),
    0 -1px 0 rgba(116, 101, 182, 0.18);
}

@media (max-width: 720px) {
  .scroll-cover-pinned {
    position: relative;
    padding-bottom: 0;
  }
  .scroll-cover-incoming {
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cover-pinned {
    position: relative;
    padding-bottom: 0;
  }
  .scroll-cover-incoming {
    border-radius: 0;
    box-shadow: none;
  }
}

/* ── CONTACT STRIP CTA ─────────────────────────────────────────── */
.btn--contact-cta {
  white-space: nowrap;
  padding: 1.05rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(200, 137, 18, 0.20);
}

.btn--contact-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(200, 137, 18, 0.30);
}

/* ── RDV TITLE LINE BREAKS ─────────────────────────────────────── */
.rdv-title br.rdv-br {
  display: block;
}

@media (max-width: 720px) {
  .rdv-title br.rdv-br {
    display: none;
  }
  .rdv-title {
    text-wrap: balance;
  }
}

/* ── DIAGNOSTIC SECTION : copy accent mauve ────────────────────── */
.diagnostic-copy .sec-eyebrow {
  color: var(--mauve-deep);
}

.diagnostic-copy .section-title {
  color: var(--ink);
}

.diagnostic-copy .diagnostic-proofline {
  border-color: rgba(116, 101, 182, 0.42);
  background: rgba(116, 101, 182, 0.10);
}

/* ── DIAGNOSTIC ANSWER DOT overrides for light widget ──────────── */
.diagnostic-widget .answer-option[aria-pressed="true"] .answer-dot,
.diagnostic-widget .answer-option.is-confirming .answer-dot {
  background: var(--mauve-deep);
  border-color: var(--mauve-deep);
}

.diagnostic-widget .answer-option,
.diagnostic-widget .answer-option[aria-pressed="true"] {
  border-color: rgba(27, 26, 23, 0.12);
  background: rgba(255, 250, 240, 0.70);
  color: var(--ink);
}

.diagnostic-widget .answer-option .answer-dot,
.diagnostic-widget .answer-option[aria-pressed="true"] .answer-dot {
  background: transparent;
  border-color: rgba(27, 26, 23, 0.28);
}

.diagnostic-widget .answer-option:hover,
.diagnostic-widget .answer-option:hover[aria-pressed="true"],
.diagnostic-widget .answer-option.is-confirming {
  border-color: rgba(116, 101, 182, 0.55);
  background: rgba(169, 155, 220, 0.22);
  color: var(--ink);
}

.diagnostic-widget .answer-option:hover .answer-dot,
.diagnostic-widget .answer-option:hover[aria-pressed="true"] .answer-dot,
.diagnostic-widget .answer-option.is-confirming .answer-dot {
  background: var(--mauve-deep);
  border-color: var(--mauve-deep);
}

/* ── PROGRESS SEGMENTS: use mauve as primary ───────────────────── */
.diagnostic-widget .progress-segments span.is-complete {
  background: var(--mauve-deep);
}

.diagnostic-widget .progress-segments span.is-current {
  background: rgba(116, 101, 182, 0.50);
}

.diagnostic-widget .progress-bar {
  background: linear-gradient(90deg, var(--mauve-deep), var(--mauve));
}


/* ── PROOF-PROJECTS header balance ─────────────────────────────── */
.proof-projects .section-header--split {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.proof-projects .section-sub {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  color: var(--ink);
  opacity: 0.72;
  max-width: 44ch;
}

.proof-tagline {
  margin-top: 0.6rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 500;
  color: var(--mauve-deep);
  opacity: 0.85;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .proof-tagline {
    white-space: normal;
  }
}


/* ── PROOF-PROJECTS title: one-line at desktop ─────────────────── */
.proof-projects .section-title {
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.proof-accent {
  color: var(--mauve-deep);
  font-style: normal;
}
/* ── BUILD-SECTION compaction ───────────────────────────────────── */
.build-section {
  padding: clamp(36px, 3.5vw, 56px) 0;
}

.build-section .section-header {
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

/* =================================================================
   HOME V6 - commercial structure, clearer sections, stronger CTAs
   ================================================================= */
.section-divider {
  position: relative;
  border-top: 1px solid rgba(27, 26, 23, 0.10);
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 137, 18, 0.32), transparent);
  pointer-events: none;
}

.nav-bar {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.nav-links {
  justify-content: center;
  gap: clamp(0.05rem, 0.5vw, 0.35rem);
}

.nav-link {
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  padding-inline: clamp(0.42rem, 0.65vw, 0.72rem);
}

.nav-cta.nav-cta--diag {
  min-height: 42px;
  padding-inline: 1.15rem;
  box-shadow: 0 12px 26px rgba(200, 137, 18, 0.18);
}

.commercial-hero {
  min-height: auto;
  padding: clamp(64px, 7vw, 106px) 0 clamp(70px, 8vw, 124px);
}

.commercial-hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

.commercial-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.commercial-hero-copy {
  min-width: 0;
}

.commercial-hero .v4-hero-title-wrap {
  flex: none;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.commercial-hero .v4-hero-title {
  font-size: clamp(3.3rem, 6.1vw, 6.9rem);
}

.commercial-hero .title-line {
  display: grid;
  gap: 0.08em;
}

.commercial-hero .hero-word-switch {
  width: 100%;
  min-width: 0;
}

.commercial-hero .v4-hero-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.commercial-hero .v4-hero-ctas {
  gap: 0.9rem;
}

.btn-hero-primary,
.btn-hero-secondary {
  min-height: 58px;
  padding: 1.05rem 1.55rem;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
}

.commercial-hero-media {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-photo-frame {
  position: relative;
  min-height: clamp(380px, 44vw, 620px);
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(242, 197, 93, 0.28), transparent 16rem),
    linear-gradient(145deg, var(--paper), #efe5d0);
  box-shadow: 0 28px 70px rgba(72, 54, 11, 0.12);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(27, 26, 23, 0.46);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-photo-placeholder::before {
  content: "AURÉLIEN";
  position: absolute;
  inset: auto 1.2rem 1rem auto;
  color: rgba(27, 26, 23, 0.10);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: 0;
}

.quote-block {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 4px solid var(--mauve, #a99bdc);
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  font-weight: 750;
  line-height: 1.45;
}

.parcours-quote-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 5.2vw, 5.4rem) 0;
  background:
    radial-gradient(circle at 18% 4%, rgba(169, 155, 220, 0.12), transparent 24rem),
    radial-gradient(circle at 86% 88%, rgba(27, 26, 23, 0.045), transparent 28rem),
    linear-gradient(180deg, #faf7ee 0%, #f7f1e4 100%);
}

.parcours-quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(27, 26, 23, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 26, 23, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 68%);
}

.parcours-quote-section .container {
  position: relative;
}

.parcours-quote {
  position: relative;
  max-width: 1060px;
  margin-inline: auto;
  padding: clamp(1.6rem, 3vw, 2.65rem) clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(169, 155, 220, 0.32);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(255, 247, 225, 0.82)),
    rgba(255, 250, 240, 0.92);
  box-shadow:
    0 24px 62px rgba(90, 72, 28, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.55vw, 1.52rem);
  font-weight: 680;
  line-height: 1.52;
  letter-spacing: 0;
  text-wrap: pretty;
}

.parcours-quote::before {
  content: "“";
  position: absolute;
  top: clamp(-1.1rem, -1.4vw, -0.55rem);
  left: clamp(0.9rem, 3vw, 2.6rem);
  color: rgba(169, 155, 220, 0.26);
  font-family: var(--logo-font);
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.parcours-quote::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: clamp(5rem, 14vw, 12rem);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 45, 0.72));
}

.parcours-page .page-hero {
  background:
    radial-gradient(circle at 80% 12%, rgba(245, 185, 66, 0.18), transparent 24rem),
    radial-gradient(circle at 10% 88%, rgba(168, 159, 214, 0.16), transparent 22rem),
    var(--charcoal);
}

.parcours-page .page-hero-grid {
  align-items: center;
}

.parcours-hero-visual {
  margin: clamp(1.2rem, 3vw, 2rem) 0 0;
  border: 1px solid rgba(250, 247, 238, 0.16);
  border-radius: 12px;
  background: rgba(250, 247, 238, 0.06);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.parcours-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.parcours-page .timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1120px;
}

.parcours-page .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 176px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(217, 156, 26, 0.62), transparent);
}

.parcours-page .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-top: 1px solid rgba(27, 26, 23, 0.12);
}

.parcours-page .timeline-item::before {
  content: "";
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.6rem);
  left: 171px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(245, 185, 66, 0.16);
}

.parcours-page .timeline-date {
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parcours-page .timeline-item h2 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.parcours-page .timeline-item p {
  max-width: 78ch;
  color: rgba(27, 26, 23, 0.74);
  font-size: 1rem;
  line-height: 1.72;
}

.parcours-page .timeline-item p + p {
  margin-top: 0.85rem;
}

.parcours-page .timeline-item .microcopy {
  color: rgba(27, 26, 23, 0.48);
}

.parcours-source-list {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.85rem;
}

.parcours-source-list span {
  line-height: 1.35;
}

.parcours-source-list span:not(:first-child) {
  color: #d49a18;
  font-weight: 800;
}

.parcours-source-list .text-link {
  width: fit-content;
  color: #d49a18;
  font-weight: 850;
  text-decoration-color: rgba(212, 154, 24, 0.45);
  text-underline-offset: 0.2em;
}

.parcours-source-list .text-link:hover,
.parcours-source-list .text-link:focus-visible {
  color: #b97900;
  text-decoration-color: currentColor;
}

.parcours-page > .page-hero,
.parcours-page > .section-tight {
  display: none;
}

.parcours-journey {
  --journey-progress: 0;
  --journey-gold: #d8a63a;
  --journey-cream: #f7f1e4;
  position: relative;
  min-height: 860vh;
  background:
    radial-gradient(circle at 14% 10%, rgba(216, 166, 58, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(168, 159, 214, 0.08), transparent 26rem),
    linear-gradient(180deg, #11100e 0%, #101010 58%, #13110e 100%);
  color: var(--journey-cream);
  overflow: clip;
}

.parcours-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(247, 241, 228, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(247, 241, 228, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 52% 44%, #000, transparent 72%);
}

.parcours-journey-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: visible;
}

.parcours-journey-layout {
  display: grid;
  grid-template-columns: minmax(500px, 0.98fr) 64px minmax(0, 1fr);
  gap: clamp(1.8rem, 3vw, 3.6rem);
  align-items: center;
  min-height: min(100vh, 820px);
  padding-block: clamp(4.5rem, 8vh, 6.5rem);
}

.parcours-journey-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.parcours-journey-copy .kicker {
  margin-bottom: 0.7rem;
  color: rgba(247, 241, 228, 0.58);
}

.parcours-journey-copy h1 {
  margin: 0 0 0.72rem;
  color: var(--journey-cream);
  font-size: clamp(1.62rem, 1.75vw, 2.05rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.parcours-journey-copy h1 span {
  color: var(--journey-gold);
}

.parcours-journey-copy p:not(.kicker) {
  max-width: 74ch;
  color: rgba(247, 241, 228, 0.72);
  font-size: 0.66rem;
  line-height: 1.42;
}

.parcours-journey-rail {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: 42px;
  height: min(64vh, 560px);
}

.parcours-journey-line,
.parcours-journey-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(216, 166, 58, 0.25);
}

.parcours-journey-progress {
  height: calc(var(--journey-progress) * 100%);
  background: linear-gradient(180deg, rgba(226, 184, 74, 0.2), #e2b84a 32%, #d8a63a);
  box-shadow: 0 0 24px rgba(216, 166, 58, 0.22);
  transition: height 120ms linear;
}

.parcours-journey-dot {
  position: absolute;
  left: 50%;
  top: var(--dot-y);
  width: 13px;
  height: 13px;
  border: 1px solid rgba(226, 184, 74, 0.72);
  border-radius: 999px;
  background: #11100e;
  transform: translate(-50%, -50%) scale(0.82);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.parcours-journey-dot.is-active {
  background: #e2b84a;
  box-shadow: 0 0 0 7px rgba(216, 166, 58, 0.12), 0 0 28px rgba(226, 184, 74, 0.42);
  transform: translate(-50%, -50%) scale(1.05);
}

.parcours-journey-stage {
  position: relative;
  min-height: calc(100dvh - clamp(9rem, 18vh, 13rem));
}

.parcours-journey-photos {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 470px);
  aspect-ratio: 4 / 3;
  margin-top: clamp(0.95rem, 2.1vh, 1.25rem);
  justify-self: start;
}

.parcours-journey-photo {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: clamp(0.45rem, 1.1vw, 0.7rem);
  border: 1px solid rgba(247, 241, 228, 0.14);
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  opacity: 0;
  filter: saturate(0.9);
  transform: translateY(10px) scale(0.98);
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
  overflow: hidden;
  pointer-events: none;
}

.parcours-journey-photo.is-active {
  opacity: 1;
  filter: saturate(1.04);
  transform: translateY(0) scale(1);
}

.parcours-journey-photo::before {
  display: none;
}

.parcours-journey-photo::after {
  display: none;
}

.parcours-journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  min-width: 0;
  background: transparent;
  image-orientation: from-image;
}

.parcours-journey-steps {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - clamp(9rem, 18vh, 13rem));
  margin: 0;
  padding: 0;
}

.parcours-journey-step {
  position: absolute;
  right: 0;
  top: clamp(3.8rem, 8vh, 5.8rem);
  width: min(100%, 660px);
  max-height: calc(100dvh - clamp(7.8rem, 15vh, 11rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.2rem, 1.8vw, 1.55rem) clamp(1.05rem, 1.7vw, 1.35rem);
  border-left: 1px solid rgba(216, 166, 58, 0.42);
  background: linear-gradient(90deg, rgba(17, 16, 14, 0.64), rgba(247, 241, 228, 0.035));
  box-shadow: inset 1px 0 0 rgba(216, 166, 58, 0.18);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 220ms;
}

.parcours-journey-step::-webkit-scrollbar {
  width: 4px;
}

.parcours-journey-step::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(216, 166, 58, 0.34);
}

.parcours-journey-step.is-active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.parcours-journey-step span {
  display: block;
  margin-bottom: 0.46rem;
  color: var(--journey-gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parcours-journey-step h2 {
  margin: 0 0 0.46rem;
  color: var(--journey-cream);
  font-size: clamp(1.2rem, 1.65vw, 1.72rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.parcours-journey-step p {
  margin: 0;
  color: rgba(247, 241, 228, 0.82);
  font-size: 0.8rem;
  line-height: 1.4;
}

.parcours-journey-step p + p {
  margin-top: 0.38rem;
}

.parcours-journey-step .microcopy {
  color: rgba(247, 241, 228, 0.58);
  font-size: 0.66rem;
  line-height: 1.25;
}

.parcours-journey-step .text-link {
  color: var(--journey-gold);
}

.parcours-journey-step .parcours-source-list {
  gap: 0.28rem;
  margin-top: 0.58rem;
}

.parcours-journey-step .parcours-source-list .text-link {
  color: var(--journey-gold);
  text-decoration-color: rgba(224, 176, 54, 0.48);
}

.parcours-journey-step .parcours-source-list span:not(:first-child) {
  color: var(--journey-gold);
}

.parcours-journey-step .parcours-source-list .text-link:hover,
.parcours-journey-step .parcours-source-list .text-link:focus-visible {
  color: #f2c65f;
}

.parcours-journey-photo-card {
  display: none;
  min-height: 58px;
  margin: 0.44rem 0 0.54rem;
  place-items: center;
  border: 1px dashed rgba(216, 166, 58, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(247, 241, 228, 0.075), rgba(247, 241, 228, 0.02)),
    rgba(16, 16, 16, 0.46);
  color: rgba(247, 241, 228, 0.52);
  overflow: hidden;
}

.parcours-journey-photo-card span {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.parcours-journey-step-photo {
  display: none;
}

.parcours-journey-step-photo img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 10px;
}

/* Internal pages: keep the diagnostic block flush. The landing page keeps its rounded overlap. */
.diagnostic-internal-panel,
.diag-page-diagnostic,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel) {
  margin-top: 0 !important;
  border-radius: 0 !important;
}

.diagnostic-internal-panel.section-divider,
.diag-page-diagnostic.section-divider,
.diagnostic-overlap-panel.section-divider:not(.diagnostic-overlap-stack .diagnostic-overlap-panel) {
  border-top: 0 !important;
}

.diagnostic-internal-panel::before,
.diagnostic-internal-panel::after,
.diag-page-diagnostic::before,
.diag-page-diagnostic::after,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel)::before,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel)::after {
  border-radius: 0 !important;
}

/* Home about block + relocated proof carousel */
.section.about-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(46px, 5.5vw, 82px);
  padding-bottom: clamp(48px, 5.5vw, 82px);
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 197, 93, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--cream), var(--paper));
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  max-width: 1080px;
}

.about-media {
  position: relative;
  align-self: center;
  height: clamp(220px, 21vw, 300px);
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(14px, 1.7vw, 22px);
  background: var(--charcoal);
  box-shadow: 0 24px 58px rgba(67, 50, 12, 0.14);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(27, 26, 23, 0.18));
  pointer-events: none;
}

.about-media img,
.about-motion {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.about-copy {
  max-width: 620px;
}

.about-copy .section-title {
  margin-bottom: clamp(0.7rem, 1.4vw, 1rem);
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
  line-height: 0.94;
  text-wrap: balance;
}

.about-title span {
  color: var(--mauve-deep);
}

.about-lead {
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.55;
  color: var(--charcoal);
  text-wrap: pretty;
}

.proof-projects--after-services {
  position: relative;
  z-index: 4;
  background: var(--paper);
  padding-top: clamp(74px, 7vw, 112px) !important;
  padding-bottom: clamp(70px, 7vw, 118px) !important;
}

.proof-projects--after-services .project-slider {
  padding-top: 0 !important;
}

@media (min-width: 981px) {
  .proof-projects--after-services {
    margin-top: 0;
  }

  .proof-projects--after-services::after {
    height: clamp(76px, 7vw, 112px);
  }
}

@media (max-width: 980px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-media {
    width: 100%;
    max-width: 300px;
    height: auto;
    min-height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 640px) {
  .section.about-section {
    padding-top: clamp(46px, 13vw, 68px);
    padding-bottom: clamp(48px, 14vw, 74px);
  }

  .about-layout {
    gap: 1.2rem;
  }

  .about-copy .section-title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .about-lead {
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .proof-projects--after-services {
    padding-top: clamp(58px, 15vw, 84px) !important;
  }
}

/* Contact strip CTA polish: stronger email action, closer and optically centered. */
.contact-strip .contact-strip-inner {
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5rem);
}

.contact-strip .contact-strip-inner > div:first-child {
  flex: 0 1 660px;
}

.contact-strip .contact-actions {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.contact-strip .btn--contact-cta {
  min-width: min(100%, 320px);
  padding: 1.05rem 2.2rem;
  color: var(--cream);
  background: linear-gradient(180deg, #8071c4 0%, var(--mauve-deep) 100%);
  border: 1.5px solid rgba(27, 26, 23, 0.20);
  box-shadow: 0 16px 34px rgba(116, 101, 182, 0.26);
}

.contact-strip .btn--contact-cta:hover {
  background: linear-gradient(180deg, #7465b6 0%, #6252a3 100%);
  border-color: rgba(27, 26, 23, 0.38);
  box-shadow: 0 18px 42px rgba(116, 101, 182, 0.34);
}

@media (max-width: 760px) {
  .contact-strip .contact-strip-inner {
    align-items: stretch;
    gap: 1.35rem;
  }

  .contact-strip .contact-actions,
  .contact-strip .btn--contact-cta {
    width: 100%;
  }
}

/* Landing booking/FAQ: keep adjacent conversion sections visually distinct. */
#rdv.booking-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 197, 93, 0.28) 0, rgba(242, 197, 93, 0) 32rem),
    linear-gradient(180deg, #fbf0d0 0%, #f9e6b8 100%);
}

#faq.faq-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(169, 155, 220, 0.14) 0, rgba(169, 155, 220, 0) 24rem),
    linear-gradient(180deg, #fbf8ef 0%, #f5eedf 100%);
  border-top: 1px solid rgba(27, 26, 23, 0.10);
}

#faq.faq-section.section-divider::before {
  display: none;
}

/* FAQ to closing transition: keep the last answer, contact CTA and footer distinct. */
#contact.contact-strip {
  position: relative;
  background: #eee8f7;
  border-top: 1px solid rgba(116, 101, 182, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.72);
}

.site-footer.site-footer--simple {
  background: var(--paper);
  border-top: 1px solid rgba(27, 26, 23, 0.08);
}

@media (max-width: 720px) {
  #contact.contact-strip {
    padding-block: clamp(2rem, 9vw, 3rem);
  }

  #contact.contact-strip .contact-strip-inner {
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start;
    gap: 1.35rem;
  }

  #contact.contact-strip .contact-strip-inner > div:first-child {
    flex-basis: auto;
  }
}

@media (max-width: 1040px) {
  .parcours-journey {
    min-height: 760vh;
  }

  .parcours-journey-layout {
    grid-template-columns: minmax(310px, 0.84fr) 48px minmax(0, 1fr);
    gap: 1.2rem;
  }

  .parcours-journey-copy {
    max-width: 370px;
  }

  .parcours-journey-copy h1 {
    font-size: clamp(1.4rem, 2.35vw, 1.72rem);
  }

  .parcours-journey-copy p:not(.kicker) {
    max-width: 54ch;
    font-size: 0.66rem;
  }

  .parcours-journey-photos {
    width: min(100%, 340px);
  }

  .parcours-journey-step {
    width: min(100%, 500px);
  }
}

@media (max-width: 760px) {
  .parcours-journey {
    min-height: 0;
    padding: 4.2rem 0 4.8rem;
    overflow: hidden;
  }

  .parcours-journey-sticky {
    position: relative;
    top: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .parcours-journey-layout {
    display: block;
    min-height: 0;
    padding-block: 0;
  }

  .parcours-journey-copy {
    max-width: none;
    margin-bottom: 1.4rem;
  }

  .parcours-journey-copy h1 {
    max-width: 16ch;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .parcours-journey-copy p:not(.kicker) {
    max-width: 52ch;
    font-size: 0.72rem;
  }

  .parcours-journey-rail {
    position: absolute;
    left: 1.5rem;
    top: clamp(31.5rem, 132vw, 36rem);
    bottom: 4.8rem;
    width: 32px;
    height: auto;
  }

  .parcours-journey-stage {
    min-height: 0;
  }

  .parcours-journey-photos {
    width: min(100%, 300px);
    margin: 1rem 0 2rem;
    aspect-ratio: 16 / 10;
  }

  .parcours-journey-steps {
    display: grid;
    gap: 2.2rem;
    min-height: 0;
    padding-left: 3.4rem;
  }

  .parcours-journey-step {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0 0 2.2rem;
    border-left: 0;
    border-bottom: 1px solid rgba(247, 241, 228, 0.1);
    background: transparent;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .parcours-journey-step.is-active {
    transform: none;
  }

  .parcours-journey-step-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    margin: 0.9rem 0 1rem;
  }

  .parcours-journey-step-photo img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: transparent;
  }

  .parcours-journey-photo-card {
    min-height: 128px;
    margin: 0.9rem 0 1rem;
  }
}

.hero-photo-frame.has-image .hero-photo-placeholder {
  display: none;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-proof-card {
  min-height: 118px;
  padding: 1rem;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.80);
  box-shadow: 0 18px 42px rgba(72, 54, 11, 0.06);
}

.hero-proof-card:last-child {
  border-right: 1px solid rgba(27, 26, 23, 0.12);
}

.proof-projects {
  padding-top: clamp(78px, 8vw, 130px);
}

.proof-projects .section-title,
.videos-section .section-title {
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
}

.proof-tagline {
  max-width: 58ch;
  white-space: normal;
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(180deg, var(--cream), var(--paper));
}

.services-diagnostic-callout {
  align-self: end;
  justify-self: start;
  max-width: 34ch;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(200, 137, 18, 0.28);
  border-radius: 16px;
  background: rgba(242, 197, 93, 0.16);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.service-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr);
  gap: 1rem;
  align-items: stretch;
}

.service-offer {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 1.35rem;
  padding: clamp(1.4rem, 2.3vw, 2rem);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.78);
}

.service-offer::before {
  width: 100%;
  height: 7px;
  inset: 0 0 auto;
}

.service-offer:hover {
  transform: translateY(-4px);
}

.service-offer:hover::before {
  width: 100%;
}

.service-offer:first-child {
  grid-row: span 2;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 197, 93, 0.22), transparent 18rem),
    rgba(255, 250, 240, 0.88);
}

.service-offer-head {
  display: grid;
  gap: 0.75rem;
}

.service-offer-head span {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.service-offer-head h3 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 0.92;
}

.service-offer-head strong {
  width: fit-content;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--paper);
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.2;
}

.service-offer > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.service-benefits {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  color: var(--ink);
}

.service-benefits li {
  position: relative;
  padding-left: 1.1rem;
  font-weight: 650;
}

.service-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--amber-deep);
}

.service-card-footer {
  margin-top: 0.4rem;
}

.revenue-simulator {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  margin-top: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 10%, rgba(169, 155, 220, 0.20), transparent 18rem),
    var(--cream);
}

.simulator-copy h3 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 0.98;
}

.simulator-copy p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 42ch;
}

.simulator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr);
  gap: 1rem;
}

.simulator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.simulator-fields label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.simulator-fields input {
  min-height: 48px;
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.92);
}

.simulator-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(116, 101, 182, 0.24);
  border-radius: 18px;
  background: rgba(238, 233, 255, 0.68);
}

.simulator-result > span,
.simulator-mini-grid span {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(27, 26, 23, 0.52);
}

.simulator-result > strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
}

.simulator-mini-grid {
  display: grid;
  gap: 0.55rem;
}

.simulator-mini-grid p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.simulator-result small {
  color: var(--muted);
  line-height: 1.45;
}

.diagnostic-commercial {
  min-height: auto;
  background:
    radial-gradient(circle at 14% 16%, rgba(169, 155, 220, 0.30), transparent 30rem),
    linear-gradient(145deg, #f4f1ff, var(--paper));
}

.diagnostic-commercial .section-title {
  font-size: clamp(2.4rem, 5.4vw, 5.8rem);
}

.diagnostic-commercial .diagnostic-layout {
  align-items: center;
}

.build-section {
  overflow: hidden;
  padding: clamp(78px, 9vw, 132px) 0;
  background:
    linear-gradient(180deg, var(--paper), var(--cream));
}

.builder-timeline {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.builder-timeline .builder-card {
  flex: 0 0 min(410px, 82vw);
  scroll-snap-align: start;
}

.builder-timeline .project-tags {
  margin-bottom: 1rem;
}

.videos-section {
  background: var(--charcoal);
  color: var(--paper);
}

.videos-section .section-title,
.videos-section .section-sub,
.videos-section .sec-eyebrow {
  color: var(--paper);
}

.videos-section .section-sub {
  opacity: 0.68;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.875rem;
}

.video-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 18px;
  transition: transform 0.22s var(--ease), border-color 0.22s, background 0.22s;
}

.video-card {
  border: 1px solid rgba(250, 247, 238, 0.14);
  background: rgba(250, 247, 238, 0.045);
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  display: grid;
  min-height: 130px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(242, 197, 93, 0.18), rgba(169, 155, 220, 0.14)),
    rgba(250, 247, 238, 0.06);
  cursor: pointer;
  overflow: hidden;
}

.video-thumb--short {
  width: min(100%, 170px);
  min-height: 0;
  aspect-ratio: 9 / 16;
  align-self: center;
  background: var(--charcoal);
}

.video-thumb--short img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
}

.video-thumb::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(250, 247, 238, 0.36);
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.08);
}

.video-thumb::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--paper);
  transform: translateX(2px);
}

.video-thumb span {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.52);
}

.media-meta {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mauve-deep);
}

.video-card h3 {
  color: inherit;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.18;
}

.video-card .text-link {
  margin-top: auto;
  color: var(--amber);
}

.video-card-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
}

.video-card-actions .text-link {
  width: fit-content;
  margin-top: 0;
  padding: 0;
  border: 0;
  color: var(--amber);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.video-card-actions .text-link--muted {
  color: rgba(250, 247, 238, 0.7);
}

.video-library-section {
  background: var(--paper);
}


.video-library-section .section-header--split {
  display: block;
}

.video-library-section .section-title {
  max-width: none;
  white-space: nowrap;
}

.video-library-section .section-sub {
  max-width: 72ch;
  margin-top: clamp(0.8rem, 1.6vw, 1.25rem);
  font-size: clamp(1.05rem, 1.45vw, 1.38rem);
  line-height: 1.45;
}

.video-library-grid {
  display: grid;
  gap: 1rem;
}

.shorts-section {
  background:
    radial-gradient(circle at 15% 8%, rgba(245, 185, 66, 0.14), transparent 18rem),
    var(--cream);
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
}

.short-card {
  display: grid;
  gap: 0.85rem;
  padding: clamp(0.82rem, 1.4vw, 1rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(251, 245, 232, 0.78));
  box-shadow: 0 18px 48px rgba(72, 54, 11, 0.06);
}

.short-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background: var(--charcoal);
  overflow: hidden;
}

.short-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.short-frame-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.short-frame-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.short-frame-button:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

.short-frame-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.38), transparent 28%, transparent 68%, rgba(20, 20, 20, 0.34)),
    linear-gradient(90deg, rgba(20, 20, 20, 0.16), transparent 42%);
  pointer-events: none;
}

.short-frame-label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  color: rgba(250, 247, 238, 0.86);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-resource-card {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.95), rgba(251, 245, 232, 0.76));
  box-shadow: 0 18px 48px rgba(72, 54, 11, 0.06);
}

.video-resource-card:target {
  border-color: rgba(217, 156, 26, 0.56);
  box-shadow: 0 22px 58px rgba(217, 156, 26, 0.16);
}

.video-resource-media {
  position: relative;
  display: grid;
  width: min(100%, 220px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  place-items: center;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
  text-decoration: none;
}

.video-resource-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
}

.video-resource-media::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(250, 247, 238, 0.38);
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.09);
}

.video-resource-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--paper);
  transform: translateX(3px);
}

.video-resource-media span {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 1rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.64);
}

.video-resource-content {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.video-resource-content h3 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.video-resource-content p:not(.media-meta) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.video-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.video-watch-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-watch-modal[hidden] {
  display: none !important;
}

.video-watch-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-watch-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-watch-panel {
  position: relative;
  width: min(100%, 280px);
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s var(--ease);
}

.video-watch-modal.is-open .video-watch-panel {
  transform: translateY(0) scale(1);
}

.video-watch-modal--video-only .video-watch-panel {
  width: min(100%, 360px);
  gap: 0;
  padding: 0;
  border: 0;
}

.video-watch-modal--video-only .video-watch-head {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: block;
  width: min(100%, 360px);
  transform: translateX(-50%);
}

.video-watch-modal--video-only .video-watch-head > div,
.video-watch-modal--video-only .video-watch-info,
.video-watch-modal--video-only .video-watch-actions {
  display: none;
}

.video-watch-modal--video-only .video-watch-frame {
  width: min(100%, 360px);
  max-height: calc(100dvh - 2rem);
}

.video-watch-modal--landscape .video-watch-panel {
  width: min(100%, 1040px);
}

.video-watch-modal--landscape .video-watch-frame {
  width: min(100%, 820px);
  aspect-ratio: 16 / 9;
}

.video-watch-modal--video-only.video-watch-modal--landscape .video-watch-panel {
  width: min(100%, 920px);
}

.video-watch-modal--video-only.video-watch-modal--landscape .video-watch-frame {
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 2rem);
}

.video-watch-modal--landscape .video-watch-head {
  width: min(100%, 820px);
}

.video-watch-modal--video-only.video-watch-modal--landscape .video-watch-head {
  width: min(100%, 920px);
}

.video-watch-head {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: block;
  width: min(100%, 230px);
  transform: translateX(-50%);
}

.video-watch-head > div {
  display: none;
}

.video-watch-head h2 {
  display: none;
  color: var(--cream);
  overflow-wrap: break-word;
  font-size: clamp(1.2rem, 2.2vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.video-watch-close {
  position: absolute;
  top: clamp(0.75rem, 1.8vw, 1.1rem);
  right: clamp(0.75rem, 1.8vw, 1.1rem);
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(250, 247, 238, 0.18);
  border-radius: 999px;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
}

.video-watch-close:hover {
  background: rgba(250, 247, 238, 0.08);
}

.video-watch-frame {
  grid-area: frame;
  width: min(100%, 230px);
  max-height: calc(100dvh - 4rem);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.video-watch-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-watch-info {
  display: grid;
  align-content: center;
  gap: clamp(1.25rem, 2.8vw, 2rem);
  min-width: 0;
  padding-right: clamp(2.4rem, 5vw, 4rem);
}

.video-watch-actions {
  display: flex;
  justify-content: center;
  align-self: center;
  width: min(100%, 230px);
  margin-top: 0;
}

.video-watch-actions .btn {
  min-width: 0;
  min-height: 36px;
  padding: 0.58rem 0.9rem;
  font-size: 0.76rem;
  justify-content: center;
}

@media (max-width: 760px) {
  .video-watch-modal {
    align-items: start;
    padding: 0.75rem;
    overflow-y: auto;
  }

  .video-watch-panel {
    width: min(100%, 250px);
    max-height: none;
    gap: 0.95rem;
    padding: 0.85rem;
  }

  .video-watch-frame {
    width: min(100%, 220px);
    max-height: none;
  }

  .video-watch-head,
  .video-watch-modal--video-only .video-watch-head {
    width: min(100%, 220px);
  }

  .video-watch-modal:not(.video-watch-modal--video-only) .video-watch-head {
    top: 0.85rem;
  }

  .video-watch-modal--landscape .video-watch-frame,
  .video-watch-modal--video-only.video-watch-modal--landscape .video-watch-frame {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .video-watch-modal--landscape .video-watch-head,
  .video-watch-modal--video-only.video-watch-modal--landscape .video-watch-head {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .video-watch-info {
    width: 100%;
    padding: 0;
    gap: 0.9rem;
  }

  .video-watch-head h2 {
    font-size: clamp(1.25rem, 8vw, 2.15rem);
  }

  .video-watch-actions,
  .video-watch-actions .btn {
    width: auto;
  }

  .video-watch-actions {
    width: min(100%, 220px);
  }
}

.videos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.vid-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 238, 0.22);
  background: transparent;
  color: rgba(250, 247, 238, 0.55);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.vid-page-btn:hover {
  border-color: rgba(250, 247, 238, 0.5);
  color: var(--paper);
}

.vid-page-btn.is-active {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--charcoal);
}

.vid-page-btn.vid-page-next {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
}

.videos-see-all {
  text-align: center;
  margin-top: 1.5rem;
}

.videos-see-all .text-link {
  color: var(--paper);
  opacity: 0.72;
  transition: opacity 0.2s;
}

.videos-see-all .text-link:hover {
  opacity: 1;
}

/* ===== VIDEO MODAL ===== */
.vid-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.vid-modal-overlay[hidden] { display: none; }

.vid-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 23, 0.82);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.vid-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  background: #1f1e1b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.vid-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.vid-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.45);
}

.vid-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2c2a26 0%, #1a1916 100%);
  position: relative;
}

.vid-modal-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vid-modal-play-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 238, 0.35);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vid-modal-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.5);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.vid-modal-info {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vid-modal-cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(166, 143, 210, 0.9);
}

.vid-modal-title {
  color: var(--paper);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.25;
  margin: 0;
}

.vid-modal-link {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-strip {
  background:
    radial-gradient(circle at 90% 12%, rgba(242, 197, 93, 0.24), transparent 22rem),
    var(--cream);
}

.contact-strip-inner {
  align-items: end;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

@media (max-width: 1180px) {
  .commercial-hero-layout,
  .service-card-grid,
  .revenue-simulator,
  .simulator-panel {
    grid-template-columns: 1fr;
  }

  .service-offer:first-child {
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .nav-bar {
    grid-template-columns: auto 1fr auto;
  }

  .commercial-hero-layout {
    gap: 2rem;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    position: static;
  }

  .blog-index-card--featured {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .commercial-hero {
    padding-top: 42px;
  }

  .commercial-hero .container {
    min-height: auto;
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(2.35rem, 10.4vw, 4rem);
  }

  .commercial-hero .hero-word {
    white-space: normal;
  }

  .commercial-hero .hero-word-switch {
    min-height: 1.95em;
    overflow: hidden;
  }

  .commercial-hero .v4-hero-ctas,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-photo-frame {
    min-height: 360px;
    border-radius: 18px;
  }

  .hero-proof-grid,
  .simulator-fields,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .video-library-section .section-title {
    white-space: normal;
  }

  .video-resource-card {
    grid-template-columns: 1fr;
  }

  .video-resource-media {
    width: min(100%, 210px);
  }

  .shorts-grid {
    grid-template-columns: 1fr;
  }

  .short-card {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .video-resource-actions,
  .video-resource-actions .btn {
    width: 100%;
  }

  .blog-index-card,
  .blog-index-card--featured {
    min-height: 240px;
    border-radius: 18px;
  }

  .parcours-page .timeline::before {
    left: 5px;
  }

  .parcours-page .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-left: 1.6rem;
  }

  .parcours-page .timeline-item::before {
    left: 0;
  }

  .parcours-hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .blog-article-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-card {
    min-height: 0;
  }

  .service-offer-head h3 {
    font-size: clamp(2.2rem, 13vw, 3.7rem);
  }

  .diagnostic-commercial .section-actions .btn {
    width: 100%;
  }

  .contact-strip h2 {
    max-width: 100%;
  }
}

/* =================================================================
   HOME V7 - targeted correction pass from visual QA
   ================================================================= */
.commercial-hero {
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(38px, 5vh, 64px) 0 clamp(48px, 6vh, 76px);
  overflow: visible;
}

.commercial-hero .container {
  width: min(100% - 48px, 1360px);
}

.commercial-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(760px, calc(100dvh - 148px));
  align-items: center;
}

.commercial-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  padding-right: clamp(0px, 31vw, 430px);
}

.commercial-hero .v4-hero-meta {
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
}

.commercial-hero .v4-hero-title-wrap {
  margin-bottom: clamp(1.25rem, 3.4vh, 2.4rem);
  overflow: visible;
}

.commercial-hero .v4-hero-title {
  overflow: visible;
  font-size: clamp(5.3rem, 7.7vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.commercial-hero .title-line,
.commercial-hero .hero-word-switch,
.commercial-hero .hero-word {
  overflow: visible;
}

.commercial-hero .hero-word-switch {
  min-height: 0.96em;
}

.commercial-hero-media {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 50%;
  width: min(32vw, 470px);
  transform: translateY(-48%);
}

.hero-photo-frame {
  min-height: auto;
  height: clamp(320px, 42vh, 480px);
  max-height: 520px;
  border-radius: 20px;
}

.hero-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-proof-card {
  min-height: 88px;
  padding: 0.78rem;
  border-radius: 13px;
}

.hero-proof-card .v4-stat-num {
  font-size: clamp(1.25rem, 2.1vw, 2rem);
}

.hero-proof-card .v4-stat-label {
  font-size: 0.5rem;
}

.proof-projects {
  padding: clamp(86px, 9vw, 132px) 0;
  background: var(--paper);
}

.proof-header {
  margin-bottom: clamp(1.8rem, 4vw, 3.2rem);
}

.proof-header .section-title {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
}

.proof-project-card {
  min-height: 430px;
}

.proof-card-body {
  padding: 1rem;
}

.proof-card-body p {
  display: block;
  overflow: visible;
  margin: 0;
}

.services-section {
  padding: clamp(92px, 9vw, 142px) 0;
}

.services-header {
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.services-header .section-title {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 2.55vw, 2.85rem);
  line-height: 1.02;
  white-space: nowrap;
}

.services-title-accent {
  color: var(--mauve-deep);
}

.services-diagnostic-callout {
  max-width: none;
  justify-self: start;
  align-self: auto;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.service-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-offer,
.service-offer:first-child {
  grid-row: auto;
  min-height: 610px;
  padding: clamp(1.2rem, 1.8vw, 1.55rem);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.84);
}

.service-offer-head {
  min-height: 174px;
  align-content: start;
}

.service-offer-head h3 {
  font-size: clamp(2.25rem, 3.2vw, 3.55rem);
}

.service-offer-head strong {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
}

.service-offer > p {
  min-height: 130px;
  font-size: 0.96rem;
}

.service-benefits {
  margin-top: 0;
  gap: 0.74rem;
}

.service-benefits li {
  min-height: 28px;
  padding-left: 2rem;
  display: flex;
  align-items: center;
  font-size: 0.94rem;
}

.service-benefits li::before {
  content: "V";
  top: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(200, 137, 18, 0.28);
  border-radius: 999px;
  background: rgba(242, 197, 93, 0.20);
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 900;
}

.service-card-footer {
  margin-top: auto;
}

.service-card-footer .btn {
  width: 100%;
  min-height: 52px;
}

.diagnostic-commercial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: auto;
  padding: clamp(92px, 9vw, 146px) 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 250, 240, 0.74), transparent 21rem),
    radial-gradient(circle at 82% 42%, rgba(116, 101, 182, 0.30), transparent 34rem),
    linear-gradient(145deg, #f2edff 0%, #ded5fb 52%, #f6f0ff 100%);
}

.diagnostic-commercial::before,
.diagnostic-commercial::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.diagnostic-commercial::before {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(116, 101, 182, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(116, 101, 182, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.diagnostic-commercial::after {
  top: -28%;
  left: -38%;
  width: 78%;
  height: 156%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 250, 240, 0.54) 43%, rgba(169, 155, 220, 0.22) 52%, transparent 70%);
  filter: blur(12px);
  transform: translateX(-12%) rotate(6deg);
  animation: diagnosticLightSweep 8s var(--ease) infinite;
}

@keyframes diagnosticLightSweep {
  0% { opacity: 0; transform: translateX(-18%) rotate(6deg); }
  18% { opacity: 0.78; }
  54% { opacity: 0.34; }
  100% { opacity: 0; transform: translateX(178%) rotate(6deg); }
}

.diagnostic-commercial .diagnostic-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.diagnostic-commercial .section-title {
  max-width: 780px;
  font-size: clamp(2.45rem, 4.5vw, 5.15rem);
  line-height: 0.98;
}

.diagnostic-commercial .section-sub {
  color: rgba(27, 26, 23, 0.68);
}

.diagnostic-commercial .diagnostic-widget {
  border-color: rgba(116, 101, 182, 0.36);
  box-shadow: 0 30px 86px rgba(67, 55, 109, 0.18);
}

.build-section {
  padding: clamp(82px, 9vw, 136px) 0;
  background: var(--cream);
}

.build-header {
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.build-header .section-title {
  margin: 0;
  max-width: none;
  font-size: clamp(3rem, 7vw, 7.5rem);
}

.builder-marquee {
  margin-inline: calc((100vw - min(100vw - 48px, 1360px)) / -2);
  overflow: hidden;
  padding: 0 calc((100vw - min(100vw - 48px, 1360px)) / 2);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.builder-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: buildMarquee 34s linear infinite;
}

.builder-marquee-track.is-loading {
  visibility: hidden;
}

.builder-marquee:hover .builder-marquee-track {
  animation-play-state: paused;
}

@keyframes buildMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.5rem)); }
}

.builder-marquee .builder-card {
  flex: 0 0 360px;
  grid-template-rows: 170px auto;
  min-height: 350px;
}

.builder-marquee .builder-card > div {
  min-height: 170px;
}

.builder-marquee .builder-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

@media (max-width: 1180px) {
  .commercial-hero-copy {
    padding-right: clamp(0px, 35vw, 360px);
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(4.7rem, 8vw, 7rem);
  }

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .services-header .section-title {
    white-space: normal;
  }

  .service-offer,
  .service-offer:first-child {
    min-height: auto;
  }

  .service-offer-head,
  .service-offer > p {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .commercial-hero {
    min-height: auto;
  }

  .commercial-hero-layout {
    min-height: auto;
  }

  .commercial-hero-copy {
    width: 100%;
    padding-right: 0;
  }

  .commercial-hero-media {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 520px);
    margin-top: 2rem;
    transform: none;
  }

  .diagnostic-commercial .diagnostic-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mobile-drawer {
    display: none;
  }

  body.menu-open .mobile-drawer {
    display: flex;
  }

  .commercial-hero {
    padding: 38px 0 64px;
  }

  .commercial-hero .container,
  .builder-marquee {
    width: min(100% - 28px, 100%);
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(3rem, 13vw, 4.2rem);
    line-height: 0.92;
  }

  .commercial-hero .hero-word-switch {
    min-height: 1em;
  }

  .commercial-hero .hero-word {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-photo-frame {
    height: 310px;
    min-height: 310px;
  }

  .hero-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-slider {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .services-header .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.8rem);
    line-height: 1.08;
  }

  .services-diagnostic-callout {
    width: 100%;
    border-radius: 14px;
  }

  .diagnostic-commercial .section-title {
    font-size: clamp(2.15rem, 9vw, 3.4rem);
  }

  .build-header .section-title {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .builder-marquee {
    margin-inline: auto;
    padding-inline: 0;
  }

  .builder-marquee .builder-card {
    flex-basis: min(310px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostic-commercial::after,
  .builder-marquee-track {
    animation: none;
  }
}

/* =================================================================
   MICRO CORRECTIONS - hero proof cards + diagnostic cover effect
   ================================================================= */
.hero-proof-card {
  border-color: rgba(116, 101, 182, 0.24);
  background:
    linear-gradient(145deg, rgba(238, 233, 255, 0.86), rgba(255, 250, 240, 0.74));
  box-shadow: 0 18px 42px rgba(67, 55, 109, 0.08);
}

.hero-proof-card:last-child {
  border-right-color: rgba(116, 101, 182, 0.24);
}

.hero-proof-card .v4-stat-num {
  color: var(--mauve-deep);
}

.hero-proof-card .v4-stat-label {
  color: rgba(116, 101, 182, 0.74);
}

.commercial-hero .hero-word.is-exiting {
  opacity: 0;
  transform: translateY(-0.1em);
  transition:
    transform 0.24s cubic-bezier(0.55, 0, 1, 0.45),
    opacity 0.18s ease;
}

.services-section {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(178px, 16vw, 260px);
}

.diagnostic-commercial {
  display: flex;
  align-items: center;
  z-index: 2;
  min-height: 100dvh;
  margin-top: clamp(-180px, -15vw, -110px);
  padding: clamp(124px, 10vw, 168px) 0 clamp(104px, 9vw, 148px);
  border-radius: clamp(32px, 3vw, 46px) clamp(32px, 3vw, 46px) 0 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 250, 240, 0.28), transparent 26rem),
    radial-gradient(circle at 84% 24%, rgba(116, 101, 182, 0.38), transparent 34rem),
    radial-gradient(circle at 48% 100%, rgba(169, 155, 220, 0.34), transparent 30rem),
    linear-gradient(145deg, #e8defe 0%, #d9cdf8 52%, #eee7ff 100%);
  box-shadow:
    0 -42px 110px rgba(67, 55, 109, 0.24),
    0 -1px 0 rgba(116, 101, 182, 0.22);
}

.diagnostic-commercial::before,
.diagnostic-commercial::after {
  z-index: 0;
}

.diagnostic-commercial::before {
  background-image:
    linear-gradient(90deg, rgba(67, 55, 109, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(67, 55, 109, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.18), transparent 34%);
}

.diagnostic-commercial::after {
  opacity: 0.88;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 250, 240, 0.46) 42%, rgba(116, 101, 182, 0.26) 53%, transparent 72%);
  mix-blend-mode: screen;
}

.diagnostic-commercial > .container,
.diagnostic-commercial .diagnostic-layout {
  position: relative;
  z-index: 1;
}

.diagnostic-commercial .diagnostic-layout {
  align-items: start;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: clamp(2.2rem, 5vw, 5.8rem);
}

.diagnostic-commercial .diagnostic-copy {
  padding-top: clamp(0.2rem, 1.2vw, 1.1rem);
}

.diagnostic-commercial .diagnostic-shell {
  align-self: start;
  margin-top: clamp(0.55rem, 1.4vw, 1.45rem);
}

.diagnostic-commercial .diagnostic-widget {
  min-height: clamp(700px, 74vh, 760px);
  background:
    linear-gradient(145deg, rgba(251, 248, 255, 0.94), rgba(233, 226, 255, 0.86)),
    #eee7ff;
}

@media (max-width: 720px) {
  .services-section {
    padding-bottom: clamp(112px, 24vw, 148px);
  }

  .diagnostic-commercial {
    display: block;
    min-height: auto;
    margin-top: -72px;
    padding: 92px 0 86px;
    border-radius: 28px 28px 0 0;
  }

  .diagnostic-commercial .diagnostic-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .diagnostic-commercial .diagnostic-copy,
  .diagnostic-commercial .diagnostic-shell {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .diagnostic-commercial .diagnostic-widget {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 1.1rem;
  }

  .diagnostic-commercial .diagnostic-question legend {
    max-width: 100%;
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1.15;
    text-wrap: balance;
  }
}

/* =================================================================
   TRUE DIAGNOSTIC SCROLL OVERLAP - Services behind, Diagnostic above
   ================================================================= */
.diagnostic-overlap-stack {
  position: relative;
  isolation: isolate;
  background: var(--cream);
}

.diagnostic-overlap-base {
  position: relative;
  z-index: 1;
}

.diagnostic-overlap-panel {
  position: relative;
  z-index: 4;
  transform: translateZ(0);
}

@media (min-width: 981px) {
  .diagnostic-overlap-base {
    position: sticky;
    top: 68px;
    z-index: 1;
  }

  .diagnostic-overlap-panel {
    margin-top: clamp(-360px, -24vw, -250px);
    border-radius: clamp(42px, 3.6vw, 58px) clamp(42px, 3.6vw, 58px) 0 0;
    box-shadow:
      0 -54px 130px rgba(67, 55, 109, 0.30),
      0 -1px 0 rgba(116, 101, 182, 0.34),
      inset 0 1px 0 rgba(255, 250, 240, 0.55);
  }

  .diagnostic-overlap-panel::before {
    border-radius: inherit;
  }
}

@media (max-width: 980px) {
  .diagnostic-overlap-stack {
    overflow: clip;
  }

  .diagnostic-overlap-base {
    position: relative;
  }

  .diagnostic-overlap-panel {
    margin-top: -96px;
    border-radius: 32px 32px 0 0;
    box-shadow:
      0 -34px 82px rgba(67, 55, 109, 0.22),
      inset 0 1px 0 rgba(255, 250, 240, 0.42);
  }
}

@media (max-width: 720px) {
  .diagnostic-overlap-panel {
    margin-top: -72px;
    border-radius: 28px 28px 0 0;
  }
}

/* =================================================================
   REQUESTED VISUAL PASS - mauve stat band, proof title, stronger overlap
   ================================================================= */
.commercial-hero-layout {
  padding-bottom: clamp(130px, 15vh, 184px);
}

.commercial-hero-media {
  pointer-events: none;
}

.commercial-hero-media .hero-photo-frame {
  pointer-events: auto;
}

.hero-proof-grid {
  position: absolute;
  right: 0;
  bottom: clamp(-156px, -14vh, -112px);
  width: min(calc(100vw - 48px), 1360px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(67, 55, 109, 0.26);
  border-radius: 26px;
  background: var(--mauve);
  box-shadow:
    0 28px 80px rgba(67, 55, 109, 0.18),
    inset 0 1px 0 rgba(255, 250, 240, 0.34);
}

.hero-proof-card {
  min-height: clamp(118px, 12vh, 156px);
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 0;
  border-right: 1px solid rgba(67, 55, 109, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-proof-card:last-child {
  border-right: 0;
}

.hero-proof-card:hover,
.v4-stat-card:nth-child(even):hover {
  transform: translateY(0);
  border-color: rgba(67, 55, 109, 0.22);
  background: rgba(255, 250, 240, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.22);
}

.hero-proof-card .v4-stat-num {
  color: #171512;
  font-size: clamp(2.9rem, 4.6vw, 4.55rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero-proof-card .v4-stat-label {
  margin-top: clamp(1rem, 2.2vw, 1.7rem);
  color: rgba(27, 26, 23, 0.64);
  font-size: clamp(0.62rem, 0.76vw, 0.82rem);
  letter-spacing: 0.16em;
}

.proof-projects {
  padding-top: clamp(92px, 8vw, 134px);
}

.proof-header .section-title {
  max-width: 15ch;
  font-size: clamp(3.7rem, 6.4vw, 6.7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.proof-accent {
  color: var(--mauve-deep);
}

.services-section {
  padding-bottom: clamp(220px, 20vw, 340px);
}

@media (min-width: 981px) {
  .diagnostic-overlap-panel {
    margin-top: clamp(-520px, -32vw, -340px);
    box-shadow:
      0 -76px 150px rgba(67, 55, 109, 0.34),
      0 -1px 0 rgba(116, 101, 182, 0.38),
      inset 0 1px 0 rgba(255, 250, 240, 0.62);
  }
}

@media (max-width: 980px) {
  .commercial-hero-layout {
    padding-bottom: 0;
  }

  .commercial-hero-media {
    pointer-events: auto;
  }

  .hero-proof-grid {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .hero-proof-card:nth-child(2) {
    border-right: 0;
  }

  .hero-proof-card:nth-child(3),
  .hero-proof-card:nth-child(4) {
    border-top: 1px solid rgba(67, 55, 109, 0.22);
  }

  .hero-proof-card .v4-stat-num {
    font-size: clamp(2.15rem, 10vw, 3.4rem);
  }

  .proof-header .section-title {
    max-width: 13.2ch;
    font-size: clamp(3.2rem, 12vw, 5.6rem);
  }

  .services-section {
    padding-bottom: clamp(142px, 30vw, 210px);
  }
}

@media (max-width: 560px) {
  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-card,
  .hero-proof-card:nth-child(2) {
    border-right: 0;
  }

  .hero-proof-card + .hero-proof-card {
    border-top: 1px solid rgba(67, 55, 109, 0.22);
  }
}

/* =================================================================
   FINAL ALIGNMENT PASS - stable hero stats + controlled diagnostic flow
   ================================================================= */
.commercial-hero {
  padding-bottom: clamp(42px, 5vh, 68px);
}

.commercial-hero-layout {
  min-height: min(720px, calc(100dvh - 150px));
  padding-bottom: clamp(138px, 15vh, 176px);
}

.commercial-hero .v4-hero-title {
  font-size: clamp(4.7rem, 6.6vw, 6.85rem);
  line-height: 0.9;
}

.commercial-hero .v4-hero-foot {
  gap: clamp(1.1rem, 2.2vh, 1.45rem);
}

.v4-hero-micro {
  position: relative;
  z-index: 3;
  max-width: 46ch;
}

.commercial-hero-media {
  width: min(29vw, 430px);
  transform: translateY(-52%);
}

.hero-photo-frame {
  height: clamp(300px, 39vh, 430px);
}

.hero-proof-grid {
  left: auto;
  right: 0;
  bottom: clamp(-188px, -18vh, -152px);
  width: min(calc(100vw - 80px), 1360px);
  transform: none;
  border-radius: 24px;
}

.hero-proof-card {
  min-height: clamp(108px, 11.2vh, 128px);
  padding: clamp(1rem, 1.55vw, 1.55rem) clamp(1.05rem, 1.9vw, 1.75rem);
}

.hero-proof-card .v4-stat-num {
  font-size: clamp(2.5rem, 3.75vw, 3.65rem);
  line-height: 0.88;
}

.hero-proof-card .v4-stat-label {
  margin-top: clamp(0.78rem, 1.4vw, 1.05rem);
  font-size: clamp(0.54rem, 0.62vw, 0.68rem);
}

.services-section {
  padding-bottom: clamp(118px, 10vw, 168px);
}

.diagnostic-overlap-stack {
  overflow: visible;
}

.diagnostic-overlap-base {
  position: relative;
  z-index: 1;
}

.diagnostic-overlap-panel {
  position: relative;
  z-index: 3;
  margin-top: clamp(-138px, -8vw, -86px);
  border-radius: clamp(30px, 3vw, 44px) clamp(30px, 3vw, 44px) 0 0;
  box-shadow:
    0 -36px 92px rgba(67, 55, 109, 0.22),
    0 -1px 0 rgba(116, 101, 182, 0.28),
    inset 0 1px 0 rgba(255, 250, 240, 0.48);
}

.diagnostic-commercial {
  min-height: auto;
  padding: clamp(104px, 8vw, 136px) 0 clamp(94px, 8vw, 128px);
}

.diagnostic-commercial .section-title {
  max-width: 12.8ch;
  font-size: clamp(2.85rem, 3.3vw, 4.15rem);
  line-height: 0.96;
}

@media (min-width: 981px) {
  .diagnostic-overlap-base {
    position: relative;
    top: auto;
  }

  .diagnostic-overlap-panel {
    margin-top: clamp(-138px, -8vw, -86px);
  }
}

@media (max-width: 1180px) {
  .commercial-hero .v4-hero-title {
    font-size: clamp(4.1rem, 7.6vw, 6rem);
  }

  .commercial-hero-media {
    width: min(34vw, 420px);
  }
}

@media (max-width: 980px) {
  .commercial-hero-layout {
    padding-bottom: 0;
  }

  .commercial-hero-media {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 520px);
    margin-top: 2rem;
    transform: none;
  }

  .hero-proof-grid {
    left: auto;
    transform: none;
    width: 100%;
  }

  .diagnostic-overlap-panel {
    margin-top: -72px;
  }
}

@media (max-width: 720px) {
  .commercial-hero .v4-hero-title {
    font-size: clamp(2.95rem, 12vw, 4rem);
  }

  .hero-proof-card {
    min-height: 112px;
  }

  .services-section {
    padding-bottom: 112px;
  }

  .diagnostic-overlap-panel,
  .diagnostic-commercial {
    margin-top: -56px;
  }
}

/* =================================================================
   PINNED SERVICES COVER - services stop at the end, diagnostic covers
   ================================================================= */
@media (min-width: 981px) {
  .diagnostic-overlap-stack {
    --overlap-base-height: 100dvh;
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: var(--cream);
  }

  .diagnostic-overlap-base {
    position: sticky;
    top: calc(100dvh - var(--overlap-base-height));
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
  }

  .diagnostic-overlap-panel {
    position: relative;
    z-index: 5;
    margin-top: 0;
    border-radius: clamp(34px, 3vw, 48px) clamp(34px, 3vw, 48px) 0 0;
    transform: translateZ(0);
    box-shadow:
      0 -54px 120px rgba(67, 55, 109, 0.28),
      0 -1px 0 rgba(116, 101, 182, 0.34),
      inset 0 1px 0 rgba(255, 250, 240, 0.58);
  }

  .diagnostic-overlap-panel::before {
    border-radius: inherit;
  }

  .diagnostic-commercial {
    margin-top: 0;
    min-height: 100dvh;
    padding: clamp(104px, 8vw, 136px) 0 clamp(94px, 8vw, 128px);
  }
}

/* =================================================================
   STAT CARDS SEPARATION + COUNT-UP POLISH
   ================================================================= */
.hero-proof-grid {
  --hero-proof-edge: clamp(28px, 4.4vw, 72px);
  right: calc(var(--hero-proof-edge) - max(24px, ((100vw - 1360px) / 2)));
  bottom: clamp(-232px, -22vh, -196px);
  width: calc(100vw - (var(--hero-proof-edge) * 2));
  max-width: none;
  gap: clamp(0.72rem, 1vw, 1rem);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-proof-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(122px, 12.5vh, 148px);
  padding: clamp(1.12rem, 1.7vw, 1.75rem);
  border: 1px solid rgba(67, 55, 109, 0.24);
  border-radius: clamp(18px, 1.7vw, 24px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 250, 240, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(177, 163, 226, 0.98), rgba(149, 132, 211, 0.96));
  box-shadow:
    0 22px 58px rgba(67, 55, 109, 0.16),
    inset 0 1px 0 rgba(255, 250, 240, 0.34);
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 250, 240, 0.32) 48%, transparent 62% 100%);
  transform: translateX(-130%);
  opacity: 0;
}

.hero-proof-card::after {
  content: "";
  position: absolute;
  inset: auto clamp(1.12rem, 1.7vw, 1.75rem) clamp(0.78rem, 1.1vw, 1rem);
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.44);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), background 0.42s;
}

.hero-proof-card:last-child {
  border-right: 1px solid rgba(67, 55, 109, 0.24);
}

.hero-proof-card:hover,
.v4-stat-card:nth-child(even):hover {
  transform: translateY(-6px);
  border-color: rgba(67, 55, 109, 0.36);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 250, 240, 0.42), transparent 42%),
    linear-gradient(145deg, rgba(187, 174, 232, 1), rgba(144, 126, 207, 0.98));
  box-shadow:
    0 30px 74px rgba(67, 55, 109, 0.22),
    inset 0 1px 0 rgba(255, 250, 240, 0.42);
}

.hero-proof-card:hover::after {
  transform: scaleX(1);
  background: rgba(255, 250, 240, 0.68);
}

.hero-proof-card.is-counting::before {
  animation: stat-card-sheen 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-proof-card.is-counting::after,
.hero-proof-card.is-counted::after {
  transform: scaleX(1);
}

.hero-proof-card .v4-stat-num {
  color: #171512;
  text-wrap: nowrap;
  font-variant-numeric: tabular-nums;
  transform-origin: left bottom;
}

.hero-proof-card .v4-stat-num.is-counting {
  animation: stat-number-pop 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-proof-card .v4-stat-label {
  color: rgba(27, 26, 23, 0.66);
}

@keyframes stat-card-sheen {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

@keyframes stat-number-pop {
  0% {
    filter: blur(5px);
    opacity: 0.7;
    transform: translateY(10px) scale(0.96);
  }
  52% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(-2px) scale(1.025);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero-proof-grid {
    --hero-proof-edge: 0px;
    right: 0;
    width: 100%;
    gap: 0.8rem;
    border-radius: 0;
  }

  .hero-proof-card,
  .hero-proof-card:nth-child(2),
  .hero-proof-card:nth-child(3),
  .hero-proof-card:nth-child(4),
  .hero-proof-card + .hero-proof-card {
    border: 1px solid rgba(67, 55, 109, 0.24);
  }
}

@media (max-width: 560px) {
  .hero-proof-grid {
    gap: 0.72rem;
  }

  .hero-proof-card {
    min-height: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof-card,
  .hero-proof-card::after,
  .hero-proof-card .v4-stat-num {
    transition: none;
    animation: none;
  }
}

/* ── SERVICE CARD FOOTER FLEX ──────────────────────────────────── */
.service-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── BTN OUTLINE DARK ──────────────────────────────────────────── */
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  font-size: 0.88rem;
  padding: 0.65rem 1.15rem;
}
.btn-outline-dark:hover {
  border-color: var(--ink);
  background: rgba(27, 26, 23, 0.04);
}

/* Services: compact cards with collapsible included points */
.service-card-grid {
  gap: clamp(0.75rem, 1.2vw, 1rem);
}

.service-offer,
.service-offer:first-child {
  min-height: 430px;
  gap: 0.85rem;
  padding: clamp(1rem, 1.45vw, 1.25rem);
  border-radius: 16px;
}

.service-offer::before {
  height: 6px;
}

.service-offer-head {
  min-height: 126px;
  gap: 0.48rem;
}

.service-offer-head h3 {
  font-size: clamp(2.05rem, 2.75vw, 3rem);
  line-height: 0.95;
}

.service-offer-head strong {
  min-height: 42px;
  padding: 0.56rem 0.72rem;
  border-radius: 12px;
  font-size: clamp(0.84rem, 1.05vw, 0.98rem);
}

.service-offer > p {
  min-height: 92px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-quick-points {
  display: grid;
  gap: 0.85rem;
  margin: 0.15rem 0 auto;
  padding: 0;
}

.service-quick-points li {
  position: relative;
  min-height: 28px;
  padding-left: 2rem;
  color: rgba(27, 26, 23, 0.76);
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  font-weight: 700;
  line-height: 1.38;
}

.service-quick-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  display: inline-grid;
  place-items: center;
  width: 1.32rem;
  height: 1.32rem;
  border-radius: 999px;
  background: rgba(116, 101, 182, 0.14);
  color: var(--mauve-deep);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-benefits-menu {
  margin-top: auto;
  border-top: 1px solid rgba(27, 26, 23, 0.10);
  border-bottom: 1px solid rgba(27, 26, 23, 0.10);
}

.service-benefits-menu summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.service-benefits-menu summary::-webkit-details-marker {
  display: none;
}

.service-benefits-menu summary::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s var(--ease);
}

.service-benefits-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.service-benefits-menu summary strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.service-benefits-menu .service-benefits {
  margin: 0;
  padding: 0 0 0.95rem;
  gap: 0.52rem;
}

.service-benefits-menu .service-benefits li {
  min-height: 24px;
  padding-left: 1.85rem;
  font-size: 0.88rem;
}

.service-benefits-menu .service-benefits li::before {
  width: 19px;
  height: 19px;
  font-size: 0.6rem;
}

.service-card-footer {
  margin-top: 0.15rem;
  gap: 0.55rem;
}

.service-card-footer .btn {
  min-height: 46px;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.72rem, 1.4vw, 1rem);
  align-items: stretch;
}

.pricing-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 164px;
  flex-direction: column;
  gap: 0.58rem;
  padding: clamp(0.86rem, 1.2vw, 1.05rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    rgba(250, 247, 238, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.pricing-plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(217, 156, 26, 0.58);
  pointer-events: none;
}

.pricing-plan-card--featured {
  border-color: rgba(217, 156, 26, 0.34);
  background:
    radial-gradient(circle at 88% 0%, rgba(245, 185, 66, 0.24), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0)),
    rgba(245, 185, 66, 0.13);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.pricing-plan-card--featured::after {
  border-top-color: var(--amber);
}

.pricing-plan-badge,
.pricing-plan-name,
.pricing-plan-support {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-plan-badge {
  width: fit-content;
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  background: rgba(217, 156, 26, 0.14);
  color: var(--amber-deep);
  font-size: 0.58rem;
  font-weight: 800;
}

.pricing-plan-name {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.pricing-plan-card--featured .pricing-plan-name {
  color: var(--muted);
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.24rem;
  color: var(--ink);
  font-size: clamp(1.62rem, 3vw, 2.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.pricing-plan-card--featured .pricing-plan-price {
  color: var(--ink);
}

.pricing-plan-price small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.pricing-plan-card--featured .pricing-plan-price small {
  color: var(--muted);
}

.pricing-plan-card p {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.38;
}

.pricing-plan-card--featured p {
  color: var(--ink);
}

.pricing-plan-support {
  margin-top: auto;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(27, 26, 23, 0.10);
  color: var(--amber-deep);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.35;
}

.pricing-plan-card--featured .pricing-plan-support {
  border-top-color: rgba(27, 26, 23, 0.10);
  color: var(--amber-deep);
}

.pricing-plan-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(27, 26, 23, 0.10);
  border-radius: 14px;
  background: rgba(245, 185, 66, 0.12);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.pricing-plan-grid--compact {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0 0 0.95rem;
}

.pricing-plan-grid--compact .pricing-plan-card {
  min-height: 132px;
  padding: 0.9rem;
}

.pricing-plan-grid--compact .pricing-plan-price {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.service-modal-section--pricing {
  grid-column: 1 / -1;
}

.pricing-plan-grid--modal .pricing-plan-card {
  min-height: 148px;
}

.pricing-plan-grid--modal .pricing-plan-price {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.pricing-plan-grid--page {
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.pricing-plan-grid--page .pricing-plan-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: clamp(0.85rem, 1.6vw, 1.15rem);
  row-gap: 0.38rem;
  align-items: start;
  padding: clamp(0.86rem, 1.2vw, 1.05rem);
  box-shadow: none;
}

.pricing-plan-grid--page .pricing-plan-price {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-content: flex-end;
  font-size: clamp(1.58rem, 2.65vw, 2.08rem);
  text-align: right;
}

.pricing-plan-grid--page .pricing-plan-card p {
  grid-column: 1;
  max-width: 34ch;
}

.pricing-plan-grid--page .pricing-plan-support {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .pricing-plan-grid,
  .pricing-plan-grid--modal,
  .pricing-plan-grid--page {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .pricing-plan-card {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .pricing-plan-price {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .pricing-plan-grid--page .pricing-plan-card {
    grid-template-columns: 1fr;
  }

  .pricing-plan-grid--page .pricing-plan-price,
  .pricing-plan-grid--page .pricing-plan-card p,
  .pricing-plan-grid--page .pricing-plan-support {
    grid-column: 1;
  }

  .pricing-plan-grid--page .pricing-plan-price {
    grid-row: auto;
    justify-content: flex-start;
    text-align: left;
  }
}

.services-section {
  padding-bottom: clamp(160px, 13vw, 230px);
}

.diagnostic-overlap-panel {
  margin-top: clamp(-138px, -8vw, -86px);
  z-index: 5;
  pointer-events: auto;
}

.service-list,
.service-offer,
.service-card-footer,
.service-card-footer .btn {
  position: relative;
}

.service-list,
.service-offer {
  z-index: 6;
}

.service-card-footer {
  z-index: 7;
}

.service-card-footer .btn {
  z-index: 8;
}

@media (min-width: 981px) {
  .diagnostic-overlap-stack {
    --overlap-base-height: 100dvh;
    isolation: isolate;
    overflow: visible;
  }

  .diagnostic-overlap-base {
    position: sticky;
    top: calc(100dvh - var(--overlap-base-height));
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
  }

  .diagnostic-overlap-panel {
    margin-top: 0;
    z-index: 5;
  }

  .diagnostic-commercial {
    min-height: 100dvh;
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  .service-offer,
  .service-offer:first-child {
    min-height: auto;
  }

  .service-offer-head,
  .service-offer > p {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .service-card-footer,
  .service-card-footer .btn {
    width: 100%;
  }

  .diagnostic-overlap-panel {
    margin-top: -56px;
  }
}

/* ── SERVICE MODALS ────────────────────────────────────────────── */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.service-modal[hidden] { display: none !important; }
.service-modal.is-open { opacity: 1; pointer-events: auto; }

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 23, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-modal-panel {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100dvh - 2rem);
  overflow: visible;
  padding: clamp(1rem, 1.8vw, 1.45rem);
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(27, 26, 23, 0.20);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s var(--ease);
}
.service-modal.is-open .service-modal-panel {
  transform: translateY(0) scale(1);
}

.service-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.service-modal-head h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-modal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.15rem;
}

.service-modal-section h3 {
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.service-modal-section p {
  font-size: 0.82rem;
  line-height: 1.42;
  color: var(--ink);
}
.service-modal-section ul {
  display: grid;
  gap: 0.24rem;
}
.service-modal-section ul li {
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.35;
}

.service-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 0.1rem;
}

.service-modal-section .pricing-plan-card p {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.42;
}

@media (max-width: 760px) {
  .service-modal {
    align-items: start;
    padding: 0.75rem;
  }

  .service-modal-panel {
    max-height: none;
    overflow: visible;
  }

  .service-modal-body {
    grid-template-columns: 1fr;
  }
}

/* ── BLOG TEASER (home section) ────────────────────────────────── */
.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.blog-teaser-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.blog-teaser-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 137, 18, 0.30);
  box-shadow: 0 18px 44px rgba(72, 54, 11, 0.08);
}
.blog-teaser-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.blog-teaser-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.blog-teaser-card .text-link { margin-top: auto; }

@media (max-width: 980px) {
  .blog-teaser-grid { grid-template-columns: 1fr 1fr; }
  .service-modal-panel { max-height: 90dvh; }
}
@media (max-width: 640px) {
  .blog-teaser-grid { grid-template-columns: 1fr; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
  .service-card-footer { flex-direction: column; align-items: flex-start; }
}

/* === Blog filter bar === */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.blog-filter-btn {
  padding: 0.4em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.blog-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.blog-filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Diagnostic density pass: remove dead vertical space around the quiz */
.diagnostic-section,
.diagnostic-commercial,
.diag-page-diagnostic {
  min-height: auto;
  align-items: start;
}

.diagnostic-commercial {
  padding-top: clamp(56px, 5.2vw, 84px);
  padding-bottom: clamp(48px, 4.6vw, 72px);
}

.diagnostic-commercial .diagnostic-layout,
.diag-page-diagnostic .diagnostic-layout {
  align-items: start;
  gap: clamp(1.6rem, 3.2vw, 3.8rem);
}

.diagnostic-commercial .diagnostic-shell,
.diag-page-diagnostic .diagnostic-shell {
  margin-top: 0;
}

.diagnostic-widget,
.diagnostic-commercial .diagnostic-widget {
  min-height: auto;
  padding: clamp(1rem, 1.8vw, 1.45rem);
}

.diagnostic-live-note {
  margin-bottom: 0.8rem;
}

.diagnostic-question legend {
  margin-bottom: 0.8rem;
}

.diagnostic-options {
  gap: 0.48rem;
  margin-bottom: 0.8rem;
}

.answer-option {
  min-height: 48px;
  padding: 0.66rem 0.82rem;
}

.diagnostic-controls {
  margin-top: 0.75rem;
}

@media (min-width: 981px) {
  .diagnostic-commercial {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .diagnostic-commercial {
    padding-top: 56px;
    padding-bottom: 52px;
  }
}

/* Site-wide density pass: reduce dead space in repeated sections and booking flows */
.section {
  padding-top: clamp(40px, 4vw, 64px);
  padding-bottom: clamp(40px, 4vw, 64px);
}

.page-hero,
.diag-page-hero,
.rdv-page-hero {
  padding-top: clamp(64px, 5.5vw, 88px) !important;
  padding-bottom: clamp(36px, 3.8vw, 56px) !important;
}

.section-header {
  margin-bottom: clamp(1.2rem, 2.2vw, 2rem);
}

.section-header--split,
.booking-layout,
.page-hero-grid,
.rdv-hero-grid,
.rdv-form-grid {
  gap: clamp(1.4rem, 3.2vw, 3.5rem) !important;
}

.booking-section {
  padding-top: clamp(36px, 3.6vw, 56px);
  padding-bottom: clamp(36px, 3.6vw, 56px);
}

.booking-panel {
  min-height: 0 !important;
}

.booking-empty {
  min-height: 0 !important;
  padding: clamp(1.5rem, 3vw, 2.35rem) !important;
  gap: 0.75rem !important;
}

.booking-note {
  margin-top: 1rem;
}

.rdv-pre-form-section {
  padding-top: clamp(34px, 3.4vw, 54px) !important;
  padding-bottom: clamp(34px, 3.4vw, 54px) !important;
}

/* Home booking: modern, balanced conversion block. */
#rdv.booking-section {
  padding-top: clamp(72px, 7vw, 118px);
  padding-bottom: clamp(72px, 7vw, 118px);
}

#rdv .booking-layout--modern {
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(2.4rem, 5vw, 5.2rem) !important;
}

#rdv .booking-copy {
  display: grid;
  align-content: center;
  gap: clamp(1rem, 1.8vw, 1.55rem);
  max-width: 780px;
}

#rdv .booking-kicker {
  width: fit-content;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(116, 101, 182, 0.24);
  border-radius: 999px;
  background: rgba(169, 155, 220, 0.14);
  color: var(--mauve-deep);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

#rdv #home-booking-title {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

#rdv #home-booking-title span {
  display: block;
  color: var(--mauve-deep);
  margin-top: 0.16em;
  padding-bottom: 0.04em;
  line-height: 1.08;
}

#rdv .booking-copy .section-sub {
  max-width: 48ch;
  margin: 0;
  color: rgba(27, 26, 23, 0.68);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

#rdv .booking-note {
  width: fit-content;
  margin-top: 0;
  padding: 0.68rem 0.8rem;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 250, 240, 0.58);
  color: var(--amber-deep);
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0;
}

#rdv .booking-panel {
  align-self: center;
  display: grid;
  min-height: 0 !important;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(251, 240, 208, 0.68)),
    var(--cream);
  box-shadow: 0 28px 70px rgba(80, 61, 20, 0.13);
  overflow: hidden;
}

#rdv .booking-empty {
  justify-content: center;
  align-items: stretch;
  min-height: 0 !important;
  padding: clamp(1.4rem, 2.6vw, 2.5rem) !important;
  border: 1px solid rgba(116, 101, 182, 0.15);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.72);
  text-align: left;
  gap: clamp(1rem, 1.8vw, 1.35rem) !important;
}

#rdv .booking-empty h3 {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 2.75vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: 0;
}

#rdv .booking-empty p {
  max-width: 36ch;
  margin: 0;
  color: rgba(27, 26, 23, 0.62);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

#rdv .booking-steps {
  display: grid;
  gap: 0.65rem;
}

#rdv .booking-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(27, 26, 23, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

#rdv .booking-step span {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

#rdv .booking-step strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

#rdv .booking-empty .section-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

#rdv .booking-empty .btn {
  min-height: 3.35rem;
  justify-content: center;
  padding-inline: 1rem;
}

@media (max-width: 980px) {
  #rdv .booking-layout--modern {
    grid-template-columns: 1fr;
  }

  #rdv #home-booking-title {
    max-width: 12ch;
    font-size: clamp(3.05rem, 11vw, 5.8rem);
  }

  #rdv .booking-panel {
    align-self: auto;
  }
}

@media (max-width: 560px) {
  #rdv.booking-section {
    padding-top: clamp(54px, 12vw, 72px);
    padding-bottom: clamp(54px, 12vw, 72px);
  }

  #rdv .booking-empty .section-actions {
    grid-template-columns: 1fr;
  }

  #rdv .booking-panel {
    padding: 0.8rem;
    border-radius: 22px;
  }

  #rdv .booking-empty {
    padding: 1.2rem !important;
  }
}

/* Home booking: compact revision with modal CTA. */
#rdv.booking-section {
  padding-top: clamp(44px, 5vw, 76px);
  padding-bottom: clamp(44px, 5vw, 76px);
}

#rdv .booking-layout--simple {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.74fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem) !important;
}

#rdv .booking-layout--simple .booking-copy {
  max-width: 640px;
  gap: 0;
}

#rdv .booking-layout--simple #home-booking-title {
  max-width: 620px;
  font-size: clamp(2.9rem, 4.45vw, 4.9rem);
  line-height: 1.03;
}

#rdv .booking-layout--simple #home-booking-title span {
  margin-top: 0.12em;
}

#rdv .booking-side {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 1.35rem;
  max-width: 500px;
}

#rdv .booking-side .section-sub {
  margin: 0;
  max-width: 42ch;
  color: rgba(27, 26, 23, 0.68);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.62;
}

#rdv .booking-side .btn {
  min-width: 170px;
  justify-content: center;
}

.rdv-modal-panel {
  width: min(100%, 760px);
}

.rdv-modal .contact-modal-head h2 {
  line-height: 1.08;
  padding-bottom: 0.04em;
}

.rdv-modal .consent-field {
  margin-top: 1.1rem;
}

.rdv-modal .section-actions {
  margin-top: 1.25rem;
}

@media (max-width: 980px) {
  #rdv .booking-layout--simple {
    grid-template-columns: 1fr;
    gap: 1.5rem !important;
  }

  #rdv .booking-layout--simple #home-booking-title {
    max-width: 11.5ch;
    font-size: clamp(2.9rem, 10vw, 4.7rem);
  }

  #rdv .booking-side {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  #rdv .booking-side .btn {
    width: 100%;
  }
}

.rdv-form-card {
  padding: clamp(1.2rem, 2.4vw, 1.9rem) !important;
}

.rdv-form-card .section-sub {
  margin-bottom: 1rem !important;
}

.rdv-info-block {
  gap: 1rem !important;
}

.rdv-info-items {
  gap: 0.6rem !important;
}

.rdv-info-item,
.rdv-point,
.diag-proof-item {
  padding: 0.72rem 0.9rem !important;
}


.contact-strip {
  padding-top: clamp(1.35rem, 2.4vw, 2.2rem);
  padding-bottom: clamp(1.35rem, 2.4vw, 2.2rem);
}

.site-footer.site-footer--simple {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: 22px;
}

.site-footer--simple .footer-top {
  margin-bottom: 1.45rem;
  gap: clamp(1.4rem, 4vw, 3.2rem);
}

@media (max-width: 720px) {
  .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .page-hero,
  .diag-page-hero,
  .rdv-page-hero {
    padding-top: 56px !important;
    padding-bottom: 36px !important;
  }}

/* Hero stat cards: keep them inside the hero, above the proof section */
.commercial-hero-layout {
  padding-bottom: clamp(28px, 4vh, 56px) !important;
}

.hero-proof-grid {
  bottom: clamp(-126px, -9vh, -92px) !important;
}

.hero-proof-card {
  min-height: clamp(96px, 9.2vh, 118px) !important;
  padding: clamp(0.86rem, 1.25vw, 1.25rem) clamp(0.95rem, 1.55vw, 1.45rem) !important;
}

.hero-proof-card .v4-stat-num {
  font-size: clamp(2.25rem, 3.35vw, 3.3rem) !important;
}

.hero-proof-card .v4-stat-label {
  margin-top: clamp(0.62rem, 1vw, 0.85rem) !important;
}

@media (min-width: 981px) {
  .commercial-hero {
    position: relative;
  }

  .commercial-hero .hero-proof-grid {
    bottom: clamp(-154px, -13vh, -136px) !important;
  }
}

/* Builder carousel: keep the animated project cards in their section */
#parcours.build-section {
  padding-top: clamp(42px, 4.4vw, 70px) !important;
  padding-bottom: clamp(36px, 3.8vw, 58px) !important;
  overflow: visible;
}

#parcours .build-header {
  margin-bottom: clamp(0.45rem, 1vw, 0.85rem);
}

#parcours .section-title {
  font-size: clamp(3.2rem, 6.4vw, 6.9rem);
  line-height: 0.88;
}

#parcours .builder-marquee {
  width: auto;
  margin-inline: calc((100vw - min(100vw - 48px, 1360px)) / -2);
  padding: 16px calc((100vw - min(100vw - 48px, 1360px)) / 2) 34px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

#parcours .builder-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: buildMarquee 34s linear infinite;
}

#parcours .builder-marquee-track.is-loading {
  visibility: hidden;
}

#parcours .builder-marquee:hover .builder-marquee-track {
  animation-play-state: paused;
}

#parcours .builder-card[aria-hidden="true"] {
  display: grid;
}

#parcours .builder-marquee .builder-card {
  flex: 0 0 clamp(292px, 17.6vw, 330px);
  grid-template-rows: 156px auto;
  min-height: 314px;
  border-radius: 16px;
}

#parcours .builder-marquee .builder-card:hover {
  transform: translateY(-6px);
}

#parcours .builder-card img {
  display: block;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

#parcours .builder-marquee .builder-card > div {
  min-height: 138px;
  padding: 1rem 1.05rem 1.05rem;
}

#parcours .builder-card h3 {
  margin: 0.42rem 0 0.45rem;
  font-size: 1.08rem;
}

#parcours .builder-card p {
  font-size: 0.86rem;
  line-height: 1.42;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

#parcours .builder-marquee .project-tags {
  margin-top: 0.7rem;
}

@media (max-width: 980px) {
  .hero-proof-grid {
    bottom: auto !important;
  }
}

@media (max-width: 640px) {
  #parcours .builder-marquee {
    margin-inline: -14px;
    padding: 12px 14px 26px;
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
  }

  #parcours .builder-marquee::-webkit-scrollbar {
    display: none;
  }

  #parcours .builder-marquee-track {
    display: flex;
    width: max-content;
    gap: 0.85rem;
    animation: none;
  }

  #parcours .builder-card[aria-hidden="true"] {
    display: none;
  }

  #parcours .builder-marquee .builder-card {
    flex: 0 0 min(78vw, 292px);
    grid-template-rows: 128px auto;
    min-height: 280px;
  }
}

/* Services -> diagnostic overlap pacing */
@media (min-width: 981px) {
  .diagnostic-overlap-stack {
    --services-phantom-scroll: clamp(700px, 82vh, 980px);
  }

  .diagnostic-overlap-panel {
    margin-top: var(--services-phantom-scroll);
  }
}

/* Targeted fixes: hero CTA clearance + services phantom scroll */
@media (min-width: 981px) {
  .proof-projects .project-slider {
    width: min(calc(100vw - 96px), 1360px) !important;
    max-width: 1360px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    contain: none !important;
  }

  .proof-projects .proof-project-card {
    width: clamp(286px, 24vw, 340px) !important;
  }

  [data-service-project-slider] .proof-project-card {
    width: clamp(286px, 24vw, 340px) !important;
  }

  .proof-projects {
    padding-bottom: clamp(14px, 1.8vw, 28px) !important;
  }

  .services-section {
    padding-top: clamp(28px, 2.8vw, 42px) !important;
  }

  .commercial-hero-layout {
    padding-bottom: clamp(190px, 20vh, 260px) !important;
  }

  .commercial-hero .v4-hero-foot {
    position: relative;
    z-index: 4;
    margin-bottom: clamp(1.75rem, 4vh, 3rem) !important;
  }

  .commercial-hero .v4-hero-ctas {
    position: relative;
    z-index: 4;
    margin-bottom: clamp(1rem, 2.2vh, 1.6rem) !important;
  }

  .commercial-hero .hero-proof-grid {
    left: auto !important;
    right: 0 !important;
    bottom: clamp(-238px, -21vh, -198px) !important;
    width: min(calc(100vw - 96px), 1360px) !important;
    max-width: 1360px !important;
    transform: none !important;
    z-index: 1;
  }

  .diagnostic-overlap-stack {
    --services-phantom-scroll: clamp(960px, 112vh, 1320px);
  }

  .diagnostic-overlap-base {
    position: sticky !important;
    top: calc(100dvh - var(--overlap-base-height, 100dvh)) !important;
    z-index: 1;
  }

  .diagnostic-overlap-panel {
    margin-top: var(--services-phantom-scroll) !important;
    z-index: 5;
  }
}

@media (max-width: 980px) {
  .commercial-hero .v4-hero-ctas {
    margin-bottom: clamp(1rem, 5vw, 2rem) !important;
  }
}

.diagnostic-overlap-panel,
.diagnostic-commercial {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 250, 240, 0.34), transparent 26rem),
    radial-gradient(circle at 84% 24%, rgba(245, 185, 66, 0.38), transparent 34rem),
    radial-gradient(circle at 48% 100%, rgba(217, 156, 26, 0.22), transparent 30rem),
    linear-gradient(145deg, #fff4cc 0%, #f6cf63 54%, #ffe9a4 100%) !important;
}

.diagnostic-overlap-panel::before {
  background-image:
    linear-gradient(90deg, rgba(139, 91, 12, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 91, 12, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.22), transparent 34%) !important;
}

.diagnostic-overlap-panel::after {
  background: linear-gradient(105deg, transparent 18%, rgba(255, 250, 240, 0.46) 42%, rgba(245, 185, 66, 0.22) 53%, transparent 72%) !important;
}

/* Services pin: normal arrival from projects, then diagnostic covers it. */
@media (min-width: 981px) {
  .diagnostic-overlap-stack {
    --services-pin-top: 68px;
    --services-pin-height: calc(100dvh - var(--services-pin-top));
    isolation: isolate;
    overflow: visible;
  }

  .diagnostic-overlap-base {
    position: sticky !important;
    top: var(--services-pin-top) !important;
    z-index: 1 !important;
    min-height: var(--services-pin-height) !important;
    display: flex !important;
    align-items: center !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
  }

  .services-section {
    padding-top: clamp(32px, 3vw, 48px) !important;
    padding-bottom: clamp(92px, 7vw, 128px) !important;
  }

  .diagnostic-overlap-panel {
    margin-top: clamp(70px, 6vw, 110px) !important;
    z-index: 20 !important;
    min-height: calc(100dvh - 68px) !important;
    display: flex !important;
    align-items: center !important;
    padding-top: clamp(96px, 7vw, 132px) !important;
    padding-bottom: clamp(96px, 7vw, 132px) !important;
    border-radius: clamp(42px, 3.6vw, 58px) clamp(42px, 3.6vw, 58px) 0 0 !important;
    background:
      radial-gradient(circle at 16% 10%, rgba(255, 250, 240, 0.34), transparent 26rem),
      radial-gradient(circle at 84% 24%, rgba(245, 185, 66, 0.38), transparent 34rem),
      radial-gradient(circle at 48% 100%, rgba(217, 156, 26, 0.22), transparent 30rem),
      linear-gradient(145deg, #fff4cc 0%, #f6cf63 54%, #ffe9a4 100%) !important;
    box-shadow:
      0 -54px 130px rgba(139, 91, 12, 0.24),
      0 -1px 0 rgba(200, 137, 18, 0.34),
      inset 0 1px 0 rgba(255, 250, 240, 0.62) !important;
  }

  .diagnostic-overlap-panel::before {
    background-image:
      linear-gradient(90deg, rgba(139, 91, 12, 0.075) 1px, transparent 1px),
      linear-gradient(0deg, rgba(139, 91, 12, 0.075) 1px, transparent 1px),
      linear-gradient(180deg, rgba(255, 250, 240, 0.22), transparent 34%) !important;
  }

  .diagnostic-overlap-panel::after {
    background: linear-gradient(105deg, transparent 18%, rgba(255, 250, 240, 0.46) 42%, rgba(245, 185, 66, 0.22) 53%, transparent 72%) !important;
  }
}

/* Videos title layout */
.videos-section .section-header--split {
  display: block;
}

.videos-section .section-title {
  max-width: none;
  white-space: nowrap;
}

.videos-section .section-sub {
  max-width: none;
  margin-top: clamp(0.6rem, 1.3vw, 1rem);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .videos-section .section-title {
    white-space: normal;
  }
}

/* Back-office */
.admin-body {
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(245, 185, 66, 0.12), transparent 30%),
    linear-gradient(315deg, rgba(168, 159, 214, 0.14), transparent 34%),
    #f8f4ea;
  color: var(--ink);
}

.admin-login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.admin-login-card {
  width: min(100%, 440px);
  display: grid;
  gap: 1rem;
  padding: clamp(1.45rem, 4vw, 2.2rem);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 16px;
  background: rgba(250, 247, 238, 0.86);
  box-shadow: 0 28px 70px rgba(27, 26, 23, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-login-card .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.admin-login-card h1 {
  font-size: clamp(2.2rem, 7vw, 3.7rem);
  letter-spacing: -0.04em;
  margin-top: 0.35rem;
}

.admin-login-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.admin-login-card label {
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-login-card input {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(26, 26, 26, 0.14);
}

.admin-login-card .btn {
  min-height: 52px;
  margin-top: 0.25rem;
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}

.admin-login-card .btn:hover {
  background: #000;
  border-color: #000;
}

.admin-login-card .btn:disabled {
  opacity: 0.62;
  cursor: wait;
}

.admin-login-card .inline-message {
  margin: 0;
  color: #9a4d38;
}

.admin-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.1rem;
  border-right: 1px solid rgba(26, 26, 26, 0.10);
  background: rgba(20, 20, 20, 0.95);
  color: var(--cream);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 850;
}

.admin-brand .brand-mark {
  background: var(--amber);
  color: var(--charcoal);
}

.admin-nav {
  display: grid;
  gap: 0.25rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.62rem 0.78rem;
  border-radius: 8px;
  color: rgba(250, 247, 238, 0.70);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.admin-nav a:hover,
.admin-nav a[aria-current="page"] {
  background: rgba(250, 247, 238, 0.10);
  color: var(--cream);
}

.admin-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--amber);
}

.admin-sidebar-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 247, 238, 0.10);
}

.admin-sidebar-actions .text-link {
  width: fit-content;
  color: rgba(250, 247, 238, 0.72);
  font-size: 0.88rem;
}

.admin-sidebar-actions .btn {
  width: 100%;
  border-color: rgba(250, 247, 238, 0.20);
  color: var(--cream);
  background: rgba(250, 247, 238, 0.06);
}

.admin-sidebar-actions .btn:hover {
  border-color: rgba(250, 247, 238, 0.42);
  background: rgba(250, 247, 238, 0.10);
}

.admin-main {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-page {
  width: min(100%, 1180px);
  display: grid;
  gap: 1.35rem;
}

.admin-page > .kicker {
  margin: 0;
  color: var(--amber-deep);
}

.admin-page > h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
}

[data-admin-content] {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

[data-analytics-content] {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-stats article,
.admin-card,
.admin-create-form,
.admin-row,
.admin-filters {
  border: 1px solid rgba(26, 26, 26, 0.10);
  border-radius: 12px;
  background: rgba(250, 247, 238, 0.78);
  box-shadow: 0 18px 44px rgba(27, 26, 23, 0.06);
}

.admin-stats article {
  display: grid;
  gap: 0.35rem;
  min-height: 118px;
  padding: 1.05rem;
}

.admin-stats strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.admin-stats span,
.admin-row span,
.admin-date,
.admin-tag {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-card {
  padding: 1rem;
}

.admin-card h2,
.admin-create-form h2 {
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.admin-card p + p {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.admin-analytics-card p {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.admin-analytics-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.admin-analytics-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
}

.admin-table {
  display: grid;
  gap: 0.85rem;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 1rem;
  padding: 1rem;
}

.admin-row > div,
.admin-row-meta,
.admin-row-body {
  min-width: 0;
}

.admin-row strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
}

.admin-row p {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.admin-row p + p {
  margin-top: 0.35rem;
}

.admin-row-meta,
.admin-row-body,
.admin-row-actions,
.admin-status-form {
  display: grid;
  gap: 0.55rem;
}

.admin-row-actions {
  align-content: start;
}

.admin-status-form {
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.035);
}

.admin-status-form textarea {
  min-height: 96px;
}

.admin-create-form,
.admin-edit-form {
  display: grid;
  gap: 1rem;
}

.admin-create-form {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.admin-edit-form {
  padding-top: 1rem;
}

.admin-create-form .btn,
.admin-edit-form .btn,
.admin-actions .btn,
.admin-row-actions .btn,
.admin-status-form .btn {
  min-height: 44px;
  padding: 0.62rem 1rem;
}

.admin-create-form .btn-primary,
.admin-edit-form .btn-primary {
  width: fit-content;
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-image-upload-control {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  align-items: center;
  gap: 0.85rem;
}

.admin-image-upload-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-image-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-upload-button {
  width: fit-content;
  cursor: pointer;
}

.admin-image-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-upload-hint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-note,
.admin-empty,
.admin-config-warning {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 26, 26, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.36);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.admin-config-warning {
  border-color: rgba(217, 156, 26, 0.28);
  background: rgba(245, 185, 66, 0.14);
  color: #76520f;
  font-weight: 750;
}

.admin-empty {
  color: var(--muted);
  font-weight: 700;
}

.admin-tag {
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(168, 159, 214, 0.16);
  color: #6458a0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-content-row {
  display: block;
}

.admin-content-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
}

.admin-content-row summary strong,
.admin-content-row summary span {
  min-width: 0;
}

.admin-content-row summary strong {
  margin: 0;
}

.admin-content-row summary span {
  text-align: right;
}

.admin-row details,
.admin-row pre {
  margin-top: 0.75rem;
}

.admin-row details summary {
  cursor: pointer;
  color: var(--amber-deep);
  font-weight: 800;
}

.admin-row pre {
  max-width: 100%;
  overflow: auto;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.92);
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1.5;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(26, 26, 26, 0.12);
}

.admin-body label {
  color: rgba(26, 26, 26, 0.72);
}

.admin-body .consent-field {
  align-items: center;
  color: var(--ink);
  font-weight: 750;
}

.admin-body .consent-field span {
  color: var(--ink);
}

.admin-rich-field {
  gap: 0.55rem;
}

.admin-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0.55rem;
  border: 1px solid rgba(26, 26, 26, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.42);
}

.admin-rich-toolbar .btn {
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  font-size: 0.78rem;
}

.admin-rich-field textarea {
  min-height: 320px;
}

.admin-rich-source {
  display: none;
}

.admin-rich-editor {
  display: block;
  min-height: 360px;
  max-height: 68vh;
  overflow: auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(26, 26, 26, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  outline: none;
  white-space: normal;
}

.admin-rich-editor > * + * {
  margin-top: 0.75rem;
}

.admin-rich-editor:focus {
  border-color: rgba(179, 122, 43, 0.42);
  box-shadow: 0 0 0 4px rgba(179, 122, 43, 0.12);
}

.admin-rich-editor h2,
.admin-rich-editor h3,
.admin-rich-editor p,
.admin-rich-editor ul {
  margin: 0;
}

.admin-rich-editor h2 {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  line-height: 1.15;
}

.admin-rich-editor h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.admin-rich-editor ul {
  padding-left: 1.2rem;
}

.admin-rich-editor p,
.admin-rich-editor li {
  color: var(--muted);
  line-height: 1.65;
}

.admin-rich-editor strong {
  color: var(--ink);
  font-weight: 850;
}

.admin-rich-editor u {
  text-decoration-color: var(--amber);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.admin-rich-editor .article-text-large {
  color: var(--ink);
  font-size: 1.14em;
  font-weight: 850;
  line-height: 1.42;
}

.admin-rich-editor .article-text-small {
  color: var(--muted);
  font-size: 0.88em;
  line-height: 1.5;
}

.blog-article-body u {
  text-decoration-color: var(--amber);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.blog-article-body .article-text-large {
  font-size: 1.14em;
  font-weight: 850;
  line-height: 1.42;
}

.blog-article-body .article-text-small {
  color: var(--muted);
  font-size: 0.88em;
  line-height: 1.5;
}

@media (max-width: 1060px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 0.9rem;
  }

  .admin-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav a {
    white-space: nowrap;
  }

  .admin-sidebar-actions {
    display: flex;
    align-items: center;
  }

  .admin-sidebar-actions .btn {
    width: auto;
  }
}

@media (max-width: 820px) {
  .admin-main {
    padding: 1rem;
  }

  .admin-stats,
  .admin-grid-two,
  .admin-filters,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-content-row summary {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .admin-content-row summary span {
    text-align: left;
  }

  .admin-image-upload-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-login {
    place-items: stretch;
    align-content: center;
  }

  .admin-sidebar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sidebar-actions .btn {
    width: 100%;
  }

  .admin-page > h1 {
    font-size: 2.4rem;
  }

  .admin-create-form .btn-primary,
  .admin-edit-form .btn-primary,
  .admin-actions .btn {
    width: 100%;
  }
}

/* Parcours: tighter section, readable title, contained project cards */
#parcours .build-header {
  margin-bottom: clamp(1.15rem, 2.2vw, 2rem) !important;
}

#parcours > .container {
  width: min(100% - 48px, 1320px);
}

#parcours .section-title {
  max-width: 1260px;
  font-size: clamp(3rem, 5.2vw, 5.8rem) !important;
  line-height: 1.03 !important;
}

#parcours .build-title-line {
  display: inline-block;
  white-space: nowrap;
}

#parcours .build-title-accent {
  color: var(--mauve-deep);
}

#parcours .builder-marquee {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: 16px 0 34px !important;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent) !important;
}

#parcours .builder-marquee .builder-card {
  flex-basis: clamp(330px, 25vw, 380px) !important;
  grid-template-rows: 220px auto !important;
  min-height: auto !important;
}

#parcours .builder-marquee .builder-card > div {
  min-height: 0 !important;
}

#parcours .builder-card img {
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  min-height: 220px;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center;
}

@media (max-width: 640px) {
  #parcours .build-title-line {
    white-space: normal;
  }

  #parcours .builder-marquee {
    width: auto !important;
    max-width: none !important;
    margin-inline: -14px !important;
    padding: 12px 14px 26px !important;
  }

  #parcours .builder-marquee .builder-card {
    flex-basis: min(330px, 82vw) !important;
    grid-template-rows: 186px auto !important;
    min-height: auto !important;
  }

  #parcours .builder-card img {
    min-height: 186px;
    transform: scale(1.08);
  }
}

/* Builder cards: back-office content + Safari-safe loop */
@keyframes buildMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--builder-loop-x, -50%), 0, 0);
  }
}

#parcours .builder-marquee-track {
  --builder-loop-x: -50%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation-play-state: paused;
}

#parcours .builder-marquee-track.is-loop-ready {
  animation-play-state: running;
}

#parcours .builder-marquee:hover .builder-marquee-track.is-loop-ready {
  animation-play-state: paused;
}

#parcours .builder-card {
  color: inherit;
  text-decoration: none;
}

#parcours .builder-card--link {
  cursor: pointer;
}

#parcours .builder-card--link:focus-visible {
  outline: 3px solid rgba(116, 101, 182, 0.42);
  outline-offset: 4px;
}

#parcours .builder-card .project-tags {
  display: none !important;
}

@media (max-width: 640px) {
  #parcours .builder-marquee-track,
  #parcours .builder-marquee-track.is-loop-ready {
    animation: none !important;
    transform: none !important;
  }
}

/* Home video: single vertical short */
.videos-section .section-header--split {
  max-width: 780px;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.videos-section .section-title {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.8rem, 5.8vw, 6.2rem);
}

.video-short-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.85rem, 1.45vw, 1.35rem);
}

.video-short-list.is-loading {
  min-height: clamp(260px, 34vw, 420px);
}

.video-short-feature {
  width: 100%;
  display: grid;
  gap: 0.68rem;
}

.video-short-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: var(--charcoal);
  box-shadow: 0 18px 44px rgba(27, 26, 23, 0.20);
}

.video-short-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.video-short-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.38), transparent 28%, transparent 68%, rgba(20, 20, 20, 0.34)),
    linear-gradient(90deg, rgba(20, 20, 20, 0.16), transparent 42%);
  pointer-events: none;
}

.video-short-card:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

.video-short-label {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.86);
}

.video-short-label,
.service-hero-video-label,
.video-resource-media > span {
  display: none;
}

.video-short-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 13, 11, 0.34);
  box-shadow: none;
  transform: translate(-50%, -50%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.video-short-play::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 21.5C27 19.8 28.9 18.8 30.3 19.8L45.1 29.7C46.5 30.6 46.5 32.4 45.1 33.3L30.3 43.2C28.9 44.2 27 43.2 27 41.5V21.5Z' fill='%23FAF7EE'/%3E%3C/svg%3E") center / 64px 64px no-repeat;
  transform: none;
}

.video-short-feature h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.18;
}

.videos-section .videos-see-all {
  text-align: left;
  margin-top: clamp(1.4rem, 2.8vw, 2rem);
}

@media (max-width: 640px) {
  .videos-section .section-title {
    width: auto;
    white-space: normal;
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .video-short-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1.2rem 0.35rem 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .video-short-list::-webkit-scrollbar {
    display: none;
  }

  .video-short-feature {
    width: min(68vw, 184px);
    flex: 0 0 min(68vw, 184px);
    scroll-snap-align: start;
  }

  .video-short-card {
    border-radius: 18px;
  }

  .videos-section .videos-see-all {
    text-align: left;
  }
}

/* Dedicated diagnostic result page */
.diag-result-hero {
  background: var(--charcoal);
  color: var(--cream);
}

.diag-result-hero .kicker,
.diag-result-hero h1 {
  color: inherit;
}

.diagnostic-result-section {
  background: var(--cream);
}

.diagnostic-result-shell {
  max-width: 880px;
  margin: 0 auto;
}

.diagnostic-result-widget {
  min-height: clamp(420px, 50vh, 560px);
}

.diagnostic-result-widget.is-result-step {
  min-height: auto;
}

/* Final hero video override */
.commercial-hero .commercial-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding-bottom: clamp(44px, 7vh, 92px) !important;
}

.commercial-hero .commercial-hero-video {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  max-width: 640px;
  align-self: start;
  justify-self: end;
  margin: 0;
  transform: none;
  pointer-events: auto;
}

.commercial-hero .hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.commercial-hero .hero-video-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: #111;
  cursor: pointer;
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.commercial-hero .hero-video-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commercial-hero .hero-video-play {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 13, 11, 0.34);
  box-shadow: none;
  transform: translate(-50%, -50%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.commercial-hero .hero-video-play::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 21.5C27 19.8 28.9 18.8 30.3 19.8L45.1 29.7C46.5 30.6 46.5 32.4 45.1 33.3L30.3 43.2C28.9 44.2 27 43.2 27 41.5V21.5Z' fill='%23FAF7EE'/%3E%3C/svg%3E") center / 64px 64px no-repeat;
  transform: none;
}

.commercial-hero .hero-video-source {
  position: absolute;
  right: clamp(12px, 1.4vw, 18px);
  bottom: clamp(12px, 1.4vw, 18px);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.74);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}

.commercial-hero .hero-video-button::after {
  content: "Lire la vidéo";
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(38px, 4vw, 52px));
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.78rem, 0.86vw, 0.94rem);
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(17, 17, 17, 0.58);
  white-space: nowrap;
}

.commercial-hero .hero-video-source,
.commercial-hero .hero-video-button::after {
  content: none;
  display: none;
}

.commercial-hero .hero-video-button:hover .hero-video-play,
.commercial-hero .hero-video-toggle:hover ~ .hero-video-button .hero-video-play {
  background: #e6002e;
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow:
    0 22px 46px rgba(17, 17, 17, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.commercial-hero .hero-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.commercial-hero .hero-video-frame.is-video-started iframe {
  pointer-events: auto;
}

.commercial-hero .hero-video-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 1;
  transform: none;
  transition:
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.commercial-hero .hero-video-toggle:hover,
.commercial-hero .hero-video-toggle:focus-visible {
  background: transparent;
}

.commercial-hero .hero-video-toggle:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px rgba(247, 197, 82, 0.68);
}

.commercial-hero .hero-video-toggle:active {
  transform: none;
}

.commercial-hero .hero-video-toggle::before {
  content: none;
}

.commercial-hero .hero-video-toggle[data-state="playing"]::before {
  content: none;
}

.commercial-hero .hero-video-frame.is-video-started .hero-video-toggle {
  pointer-events: none;
}

.commercial-hero .hero-video-frame iframe ~ .hero-video-button {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.commercial-hero .hero-video-frame.is-video-started iframe ~ .hero-video-button {
  opacity: 0;
  visibility: hidden;
}

/* Unified video play overlay */
.video-short-play,
.commercial-hero .hero-video-play,
.service-hero-video .hero-video-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 13, 11, 0.34);
  box-shadow: none;
  transform: translate(-50%, -50%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.video-thumb::before,
.video-resource-media::before,
.vid-modal-play-ring {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 13, 11, 0.34);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.video-short-play::before,
.commercial-hero .hero-video-play::before,
.service-hero-video .hero-video-play::before,
.vid-modal-play-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 21.5C27 19.8 28.9 18.8 30.3 19.8L45.1 29.7C46.5 30.6 46.5 32.4 45.1 33.3L30.3 43.2C28.9 44.2 27 43.2 27 41.5V21.5Z' fill='%23FAF7EE'/%3E%3C/svg%3E") center / 64px 64px no-repeat;
  -webkit-mask: none;
  mask: none;
  transform: none;
}

.video-thumb::after,
.video-resource-media::after {
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 21.5C27 19.8 28.9 18.8 30.3 19.8L45.1 29.7C46.5 30.6 46.5 32.4 45.1 33.3L30.3 43.2C28.9 44.2 27 43.2 27 41.5V21.5Z' fill='%23FAF7EE'/%3E%3C/svg%3E") center / 64px 64px no-repeat;
  -webkit-mask: none;
  mask: none;
  transform: translate(-50%, -50%);
}

.video-short-card:hover .video-short-play,
.short-frame-button:hover .video-short-play,
.commercial-hero .hero-video-button:hover .hero-video-play,
.commercial-hero .hero-video-toggle:hover ~ .hero-video-button .hero-video-play,
.service-hero-video-button:hover .hero-video-play {
  background: rgba(18, 13, 11, 0.44);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-thumb:hover::before,
.video-resource-media:hover::before {
  background: rgba(18, 13, 11, 0.44);
  transform: scale(1.04);
}

@media (max-width: 1180px) {
  .commercial-hero .commercial-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.92fr);
    gap: clamp(1.4rem, 3vw, 2.5rem);
  }
}

@media (max-width: 980px) {
  .commercial-hero .commercial-hero-layout {
    grid-template-columns: 1fr;
    padding-bottom: clamp(42px, 8vw, 72px) !important;
  }

  .commercial-hero .commercial-hero-video {
    width: min(100%, 720px);
    max-width: none;
    justify-self: start;
    margin-top: clamp(1.4rem, 5vw, 2.25rem);
  }
}

@media (max-width: 560px) {
  .commercial-hero .commercial-hero-video {
    width: 100%;
  }
}

/* Split hero: title and CTAs left, compact video right */
.commercial-hero .container {
  display: block;
}

.commercial-hero .commercial-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.56fr);
  justify-items: stretch;
  align-items: center;
  gap: clamp(2.6rem, 5.6vw, 6.6rem);
  min-height: auto;
  padding-bottom: clamp(58px, 7vw, 92px) !important;
  text-align: left;
}

.commercial-hero .commercial-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  min-width: 0;
}

.commercial-hero .v4-hero-title-wrap {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
}

.commercial-hero .v4-hero-title {
  width: auto;
  max-width: 9.4ch;
  font-size: clamp(3.75rem, 5.7vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  white-space: normal;
}

.commercial-hero .title-line {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.04em;
}

.commercial-hero .hero-word-switch {
  width: 100%;
  min-width: 0;
  min-height: 0.96em;
  overflow: visible;
}

.commercial-hero .hero-word {
  max-width: 100%;
  white-space: nowrap;
}

.commercial-hero .commercial-hero-video {
  width: min(32vw, 540px);
  max-width: 540px;
  align-self: auto;
  justify-self: end;
  margin: 0;
}

.commercial-hero .hero-video-frame,
.commercial-hero .hero-video-button {
  border-radius: 14px;
}

.commercial-hero .hero-video-frame {
  box-shadow: 0 14px 34px rgba(27, 26, 23, 0.12);
}

.commercial-hero .v4-hero-foot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 1.8vw, 1.35rem);
  justify-content: flex-start;
  margin: 0 !important;
}

.commercial-hero .v4-hero-sub {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.62;
}

.commercial-hero .v4-hero-ctas {
  justify-content: flex-start;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .commercial-hero .commercial-hero-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.54fr);
    gap: clamp(2rem, 4vw, 3.6rem);
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(3.25rem, 6vw, 4.8rem);
  }

  .commercial-hero .commercial-hero-video {
    width: min(31vw, 480px);
  }
}

@media (max-width: 980px) {
  .commercial-hero .commercial-hero-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: clamp(1.1rem, 4vw, 1.8rem);
    text-align: center;
  }

  .commercial-hero .commercial-hero-copy {
    justify-items: center;
  }

  .commercial-hero .v4-hero-title-wrap,
  .commercial-hero .v4-hero-ctas {
    justify-content: center;
  }

  .commercial-hero .v4-hero-foot {
    align-items: center;
  }

  .commercial-hero .v4-hero-sub {
    max-width: 42rem;
    text-align: center;
  }

  .commercial-hero .v4-hero-title {
    max-width: none;
    text-align: center;
  }

  .commercial-hero .title-line {
    align-items: center;
  }

  .commercial-hero .commercial-hero-video {
    width: min(74vw, 540px);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .commercial-hero .commercial-hero-layout {
    gap: 0.85rem;
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(1.35rem, 5.4vw, 2rem);
    letter-spacing: -0.055em;
  }

  .commercial-hero .title-line {
    gap: 0.14em;
  }

  .commercial-hero .commercial-hero-video {
    width: min(88vw, 420px);
  }

  .commercial-hero .hero-video-frame,
  .commercial-hero .hero-video-button {
    border-radius: 10px;
  }
}

/* 4K pacing: keep the compact hero from becoming a full-screen empty band. */
.commercial-hero {
  min-height: auto !important;
  padding-top: clamp(32px, 3vw, 58px) !important;
  padding-bottom: 0 !important;
}

.commercial-hero .container {
  flex: 0 0 auto;
  width: min(100% - 48px, 1200px) !important;
}

.commercial-hero .commercial-hero-layout {
  padding-bottom: clamp(34px, 3.2vw, 58px) !important;
}

.proof-projects {
  padding-top: clamp(34px, 3vw, 58px) !important;
}

.proof-projects .proof-header.reveal {
  opacity: 1;
  transform: none;
}

.proof-projects .project-slider {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding: 0 max(24px, calc((100vw - 1200px) / 2)) 1rem 0 !important;
  contain: none !important;
}

.proof-projects .project-slider-track {
  padding-left: 0;
}

@media (min-width: 981px) and (max-width: 2200px) {
  .commercial-hero .commercial-hero-video {
    transform: translateX(clamp(18px, 1.2vw, 42px));
  }
}

@media (min-width: 1600px) {
  .commercial-hero .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .commercial-hero .commercial-hero-layout {
    padding-bottom: clamp(12px, 1.2vw, 24px) !important;
  }

  .proof-projects {
    padding-top: clamp(10px, 1vw, 20px) !important;
  }
}

@media (min-width: 981px) {
  .commercial-hero .commercial-hero-media {
    position: relative;
  }

  .commercial-hero .hero-proof-grid {
    left: auto !important;
    right: 0 !important;
    bottom: clamp(-242px, -18vh, -206px) !important;
    width: min(calc(100vw - 96px), 1240px) !important;
    max-width: 1240px !important;
    transform: none !important;
    z-index: 2;
  }

  .proof-projects {
    padding-top: clamp(155px, 12vw, 205px) !important;
  }
}

@media (min-width: 981px) {
  .proof-projects {
    position: relative;
    isolation: isolate;
    border-top: 0;
  }

  .proof-projects.section-divider::before {
    display: none;
  }

  .proof-projects > .container {
    position: relative;
    z-index: 1;
  }

  .proof-projects::after {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    z-index: 0;
    height: calc(clamp(118px, 10vw, 152px) + 1px);
    background:
      linear-gradient(90deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
      linear-gradient(0deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
      radial-gradient(circle at 86% 0%, rgba(169, 155, 220, 0.14), transparent 24rem),
      radial-gradient(circle at 18% 100%, rgba(242, 197, 93, 0.18), transparent 24rem),
      var(--cream);
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
    background-position: 0 0, 0 22px, center, center, 0 0;
    pointer-events: none;
  }
}

.commercial-hero .hero-video-frame {
  box-shadow:
    0 26px 62px rgba(27, 26, 23, 0.18),
    0 10px 24px rgba(67, 55, 109, 0.10);
}

@media (max-width: 720px) {
  .commercial-hero .hero-video-frame {
    box-shadow:
      0 18px 42px rgba(27, 26, 23, 0.16),
      0 8px 18px rgba(67, 55, 109, 0.08);
  }
}

/* ── SERVICE PAGES REDESIGN ───────────────────────────────────── */
.service-page {
  --service-accent: var(--amber);
  --service-accent-soft: rgba(245, 185, 66, 0.14);
  --service-hero-media-height: clamp(420px, 34vw, 500px);
  --service-panel: #ede7db;
  background:
    radial-gradient(circle at 14% 8%, rgba(168, 159, 214, 0.13), transparent 22rem),
    radial-gradient(circle at 88% 24%, rgba(111, 165, 133, 0.12), transparent 24rem),
    var(--cream);
}

.service-page--consulting {
  --service-accent: var(--sage);
  --service-accent-soft: rgba(111, 165, 133, 0.16);
}

.service-page--advising {
  --service-accent: var(--mauve);
  --service-accent-soft: rgba(168, 159, 214, 0.17);
}

.service-page .section-title,
.service-page h1,
.service-page h2,
.service-page h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 64px;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(250, 247, 238, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 247, 238, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 6%, color-mix(in srgb, var(--service-accent) 32%, transparent), transparent 25rem),
    #151513;
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: -1;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.service-hero-grid.container {
  width: min(100% - 48px, 1440px);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(200px, 300px) minmax(340px, 470px);
  gap: clamp(18px, 2vw, 32px);
  align-items: center;
}

.service-hero-copy {
  max-width: 760px;
  align-self: center;
}

.service-hero .kicker {
  color: var(--service-accent);
}

.service-hero h1 {
  max-width: 760px;
  margin: 0 0 1.25rem;
  color: var(--cream);
  font-size: clamp(2.8rem, 3.3vw, 3.55rem);
  line-height: 1.08;
}

.service-hero .lede {
  max-width: 62ch;
  color: rgba(250, 247, 238, 0.68);
  font-size: 1.08rem;
}

.service-hero-panel {
  display: grid;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: var(--service-hero-media-height);
  min-height: 0;
  gap: 0.68rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(250, 247, 238, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 247, 238, 0.12), rgba(250, 247, 238, 0.055)),
    rgba(250, 247, 238, 0.04);
  box-shadow: inset 0 1px 0 rgba(250, 247, 238, 0.15), 0 22px 60px rgba(0, 0, 0, 0.22);
}

.service-hero-video {
  position: relative;
  width: auto;
  max-width: 100%;
  height: var(--service-hero-media-height);
  min-height: 0;
  aspect-ratio: 9 / 16;
  align-self: center;
  justify-self: center;
  border: 1px solid rgba(250, 247, 238, 0.16);
  border-radius: 8px;
  background: #11110f;
  box-shadow: inset 0 1px 0 rgba(250, 247, 238, 0.14), 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.service-hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.service-hero-video-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  background: #11110f;
  cursor: pointer;
}

.service-hero-video-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.service-hero-video-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.34), transparent 30%, transparent 66%, rgba(20, 20, 20, 0.34)),
    linear-gradient(90deg, rgba(20, 20, 20, 0.18), transparent 44%);
  pointer-events: none;
}

.service-hero-video-button:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

.service-hero-video-label {
  position: absolute;
  z-index: 2;
  top: 1.05rem;
  left: 1.05rem;
  color: rgba(250, 247, 238, 0.86);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-panel-label,
.service-hero-panel dt,
.service-signal-grid span,
.service-deliverable-board span,
.service-format-grid span,
.service-process-list span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-panel-label {
  color: rgba(250, 247, 238, 0.48);
}

.service-hero-panel strong {
  color: var(--cream);
  font-size: clamp(1.45rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.service-hero-panel p,
.service-hero-panel dd {
  color: rgba(250, 247, 238, 0.66);
  font-size: 0.91rem;
  line-height: 1.62;
}

.service-hero-panel dl {
  display: grid;
  gap: 0.42rem;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(250, 247, 238, 0.12);
}

.service-hero-panel div {
  display: grid;
  gap: 0.04rem;
}

.service-hero-panel dt {
  color: var(--service-accent);
}

.service-page--consulting .service-hero .kicker {
  color: var(--amber);
  font-family: var(--font);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
}

.service-section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.service-page .service-detail > .reveal:first-child h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  line-height: 1.04;
}

.service-page .service-detail {
  align-items: start;
}

.service-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(27, 26, 23, 0.12);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.service-card-list li {
  position: relative;
  min-height: 118px;
  padding: 1.05rem 1.15rem 1.05rem 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    var(--service-panel);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.service-card-list li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0.85rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--service-accent);
}

.service-card-list li:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 90% 0%, var(--service-accent-soft), transparent 9rem),
    var(--service-panel);
}

.service-page--coaching .service-signal-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  padding: 5.1rem 0 4.9rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 180, 68, 0.11), transparent 24rem),
    linear-gradient(180deg, #fffaf0 0%, #faf6ea 100%);
}

.service-page--coaching .service-signal-inner {
  display: grid;
  gap: clamp(3.2rem, 5vw, 4.8rem);
  width: min(100% - 48px, 1280px);
}

.service-signal-head {
  display: grid;
  justify-items: center;
  text-align: center;
  animation: serviceSignalFade 0.7s ease-out both;
}

.service-page--coaching .service-signal-head .kicker {
  margin-bottom: 0.85rem;
  color: rgba(17, 17, 17, 0.52);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-page--coaching .service-signal-head h2 {
  position: relative;
  max-width: 780px;
  padding-bottom: 1rem;
  color: #111111;
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.service-page--coaching .service-signal-head h2 span {
  color: #dfae2f;
}

.service-page--coaching .service-signal-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4.1rem;
  height: 2px;
  background: #dfae2f;
  transform: translateX(-50%);
}

.service-timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  padding: 0;
  color: #111111;
}

.service-timeline-list::before {
  content: "";
  position: absolute;
  top: 1.38rem;
  left: calc(8.333% + 1.38rem);
  right: calc(8.333% + 1.38rem);
  height: 1px;
  background: #dfae2f;
  transform-origin: left center;
  animation: serviceTimelineDraw 0.85s 0.15s ease-out both;
}

.service-timeline-list li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1.1rem;
  min-width: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: serviceSignalFade 0.58s ease-out both;
}

.service-timeline-list li:nth-child(1) { animation-delay: 0.22s; }
.service-timeline-list li:nth-child(2) { animation-delay: 0.3s; }
.service-timeline-list li:nth-child(3) { animation-delay: 0.38s; }
.service-timeline-list li:nth-child(4) { animation-delay: 0.46s; }
.service-timeline-list li:nth-child(5) { animation-delay: 0.54s; }
.service-timeline-list li:nth-child(6) { animation-delay: 0.62s; }

.service-timeline-number {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(223, 174, 47, 0.78);
  border-radius: 999px;
  background: #dfae2f;
  color: #111111;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 0 0 7px rgba(250, 246, 234, 0.96);
}

.service-timeline-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.52rem;
  border: 1px solid rgba(223, 174, 47, 0.78);
  border-radius: 999px;
  background: #dfae2f;
  color: #111111;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-timeline-list p {
  max-width: 17ch;
  color: rgba(17, 17, 17, 0.82);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}

@keyframes serviceSignalFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes serviceTimelineDraw {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .service-page--coaching .service-signal-section {
    min-height: 0;
    padding: 4.6rem 0 5rem;
  }

  .service-page--coaching .service-signal-inner {
    gap: 3.3rem;
  }

  .service-timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2.8rem;
  }

  .service-timeline-list::before {
    display: none;
  }

  .service-timeline-list p {
    max-width: 24ch;
  }
}

@media (max-width: 680px) {
  .service-page--coaching .service-signal-section {
    padding: 4rem 0 4.4rem;
  }

  .service-page--coaching .service-signal-inner {
    width: min(100% - 32px, 100%);
    gap: 2.8rem;
  }

  .service-page--coaching .service-signal-head h2 {
    max-width: 12ch;
    font-size: 2.45rem;
  }

  .service-timeline-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0;
  }

  .service-timeline-list::before {
    display: block;
    top: 1.35rem;
    bottom: 1rem;
    left: 1.37rem;
    right: auto;
    width: 1px;
    height: auto;
    transform-origin: top center;
    animation-name: serviceTimelineDrawY;
  }

  .service-timeline-list li {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 1rem;
    justify-items: start;
    align-items: center;
    padding: 0 0 1.85rem;
    text-align: left;
  }

  .service-timeline-list li:last-child {
    padding-bottom: 0;
  }

  .service-timeline-icon {
    grid-column: 1;
    width: 2.75rem;
    height: 2.75rem;
    color: #111111;
  }

  .service-timeline-list p {
    grid-column: 2;
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.48;
    text-wrap: pretty;
  }
}

@keyframes serviceTimelineDrawY {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.service-card-list--steps {
  counter-reset: service-step;
}

.service-card-list--steps li {
  counter-increment: service-step;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding-left: 1.05rem;
}

.service-card-list--steps li::before {
  content: counter(service-step, decimal-leading-zero);
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--service-accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.service-signal-grid,
.service-complement-grid,
.service-format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(27, 26, 23, 0.12);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.service-signal-grid article,
.service-complement-grid article,
.service-format-grid article {
  min-height: 230px;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    var(--service-panel);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.service-signal-grid article:hover,
.service-complement-grid article:hover,
.service-format-grid article:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 92% 0%, var(--service-accent-soft), transparent 8rem),
    var(--service-panel);
}

.service-signal-grid span,
.service-format-grid span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--service-accent);
}

.service-signal-grid h3,
.service-complement-grid h3,
.service-format-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1.18rem;
  line-height: 1.12;
}

.service-signal-grid p,
.service-complement-grid p,
.service-format-grid p,
.service-track-list p,
.service-deliverable-board p {
  color: var(--muted);
  line-height: 1.62;
}

.service-work-section,
.service-complements-section,
.service-proof-section {
  background:
    linear-gradient(90deg, rgba(27, 26, 23, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.service-work-grid,
.service-method-grid,
.service-offer-grid,
.service-deliverable-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.service-track-list {
  display: grid;
  gap: 0.8rem;
}

.service-track-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(27, 26, 23, 0.13);
}

.service-track-list article:last-child {
  border-bottom: 1px solid rgba(27, 26, 23, 0.13);
}

.service-track-list h3 {
  font-size: 1.08rem;
}

.service-offer-grid .pricing-plan-note {
  grid-column: 1 / -1;
}

.service-page--coaching .service-pricing-showcase {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.05rem, 1.6vw, 1.35rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)),
    rgba(237, 231, 219, 0.9);
  box-shadow: none;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card::after {
  border-top: 0;
  border-left: 4px solid rgba(245, 185, 66, 0.56);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card--featured {
  min-height: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 185, 66, 0.28), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    rgba(245, 185, 66, 0.16);
  border-color: rgba(217, 156, 26, 0.34);
  box-shadow: 0 24px 54px rgba(78, 58, 17, 0.12);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card--featured::after {
  border-left-color: var(--amber);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-name {
  order: 1;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-badge {
  order: 0;
  width: fit-content;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price {
  order: 2;
  grid-column: auto;
  grid-row: auto;
  justify-content: flex-start;
  align-items: flex-end;
  margin-top: 0.1rem;
  font-size: clamp(2.15rem, 3.8vw, 3.1rem);
  text-align: left;
  white-space: normal;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card p {
  order: 3;
  grid-column: auto;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.48;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-support {
  order: 4;
  grid-column: auto;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 26, 23, 0.12);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-note {
  margin-top: 0.35rem;
}

.service-complement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-complement-grid article {
  min-height: 205px;
}

.service-deliverable-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.service-deliverable-board article {
  min-height: 180px;
  padding: 1.2rem;
  background: rgba(250, 247, 238, 0.68);
  border-right: 1px solid rgba(27, 26, 23, 0.10);
  border-bottom: 1px solid rgba(27, 26, 23, 0.10);
}

.service-deliverable-board article:nth-child(2n) {
  border-right: 0;
}

.service-deliverable-board article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.service-deliverable-board span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--service-accent);
}

.service-format-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-format-grid article {
  min-height: 210px;
}

.service-process-list {
  display: grid;
  border-top: 1px solid rgba(27, 26, 23, 0.14);
}

.service-process-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(27, 26, 23, 0.14);
}

.service-process-list span {
  color: var(--service-accent);
}

.service-process-list p {
  max-width: 58ch;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.5;
}

.service-proof-section .section-title {
  max-width: 720px;
}

.service-page .service-section-head .section-title,
.service-page .service-method-grid .section-title,
.service-page .service-offer-grid .section-title,
.service-page .service-deliverable-grid .section-title,
.service-page .service-proof-section .section-title {
  font-size: 3.05rem;
  line-height: 1.03;
}

.service-page .pricing-plan-card {
  border-radius: 8px;
}

.service-page .pricing-plan-badge {
  border-radius: 4px;
}

.service-page .btn {
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.service-page .btn:hover {
  transform: translateY(-2px);
}

.service-page .btn:active {
  transform: translateY(0) scale(0.99);
}

@media (max-width: 1040px) {
  .service-hero-grid,
  .service-work-grid,
  .service-method-grid,
  .service-offer-grid,
  .service-deliverable-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero-grid.container {
    width: min(100% - 48px, 1200px);
  }

  .service-hero-panel {
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .service-hero-video {
    width: min(100%, 280px);
    height: auto;
    justify-self: center;
  }

  .service-signal-grid,
  .service-complement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page--coaching .service-pricing-showcase {
    grid-template-columns: 1fr;
  }

  .service-page--coaching .service-pricing-showcase .pricing-plan-card,
  .service-page--coaching .service-pricing-showcase .pricing-plan-card--featured {
    min-height: 0;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .service-hero {
    padding: 56px 0 34px;
  }

  .service-hero h1 {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .service-page--consulting .service-hero .kicker {
    font-size: 2.45rem;
  }

  .service-hero .lede {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .service-hero-grid {
    gap: 1.45rem;
  }

  .service-hero .section-actions {
    gap: 0.7rem;
    margin-top: 1.45rem;
  }

  .service-hero .section-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .service-hero-panel strong {
    font-size: 1.45rem;
  }

  .service-hero-panel {
    gap: 0.72rem;
    padding: 1rem;
  }

  .service-hero-video {
    width: min(100%, 280px);
    justify-self: center;
  }

  .service-hero-panel p,
  .service-hero-panel dd {
    line-height: 1.62;
  }

  .service-hero-panel dl {
    gap: 0.46rem;
    padding-top: 0.65rem;
  }

  .service-page .service-section-head .section-title,
  .service-page .service-method-grid .section-title,
  .service-page .service-offer-grid .section-title,
  .service-page .service-deliverable-grid .section-title,
  .service-page .service-proof-section .section-title {
    font-size: 2.12rem;
    line-height: 1.08;
  }

  .service-signal-grid,
  .service-complement-grid,
  .service-format-grid,
  .service-deliverable-board {
    grid-template-columns: 1fr;
  }

  .service-signal-grid article,
  .service-complement-grid article,
  .service-format-grid article {
    min-height: 0;
  }

  .service-track-list article,
  .service-process-list li {
    grid-template-columns: 1fr;
  }

  .service-deliverable-board article,
  .service-deliverable-board article:nth-child(2n),
  .service-deliverable-board article:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(27, 26, 23, 0.10);
  }

  .service-deliverable-board article:last-child {
    border-bottom: 0;
  }
}

/* Coaching formulas: vertical premium stack, no side-by-side split */
.service-page--coaching .service-offer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 247, 238, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 247, 238, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(245, 185, 66, 0.20), transparent 24rem),
    #151513;
  background-size: 46px 46px, 46px 46px, auto, auto;
  color: var(--cream);
}

.service-page--coaching .service-offer-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.service-page--coaching .service-offer-grid {
  display: block;
  max-width: 860px;
}

.service-page--coaching .service-offer-grid > .reveal:first-child {
  max-width: 760px;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.service-page--coaching .service-offer-grid > .reveal:first-child h2 {
  color: var(--cream);
  font-size: clamp(2.65rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.service-page--coaching .service-offer-section .kicker {
  color: var(--amber);
}

.service-page--coaching .service-pricing-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: min(100%, 560px);
  margin-inline: auto;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 0.85rem;
  padding: clamp(1.1rem, 2.2vw, 1.55rem);
  border: 1px solid rgba(250, 247, 238, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 247, 238, 0.12), rgba(250, 247, 238, 0.045)),
    rgba(250, 247, 238, 0.035);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(250, 247, 238, 0.14);
  overflow: hidden;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card::after {
  border-top: 0;
  border-left: 4px solid rgba(245, 185, 66, 0.72);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card--featured {
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 185, 66, 0.28), transparent 10rem),
    linear-gradient(180deg, rgba(250, 247, 238, 0.16), rgba(250, 247, 238, 0.05)),
    rgba(245, 185, 66, 0.10);
  border-color: rgba(245, 185, 66, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(250, 247, 238, 0.18),
    0 24px 58px rgba(0, 0, 0, 0.22);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-badge {
  order: 0;
  width: fit-content;
  border-radius: 4px;
  background: rgba(245, 185, 66, 0.18);
  color: var(--amber);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-name {
  order: 1;
  color: rgba(250, 247, 238, 0.58);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price {
  order: 2;
  grid-column: auto;
  grid-row: auto;
  justify-content: flex-start;
  color: var(--cream);
  font-size: clamp(3rem, 6.8vw, 4.75rem);
  letter-spacing: 0;
  line-height: 0.9;
  text-align: left;
  white-space: normal;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price small {
  color: rgba(250, 247, 238, 0.58);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card p {
  order: 3;
  grid-column: auto;
  max-width: 35ch;
  color: rgba(250, 247, 238, 0.78);
  font-size: 1rem;
  line-height: 1.5;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-support {
  order: 4;
  grid-column: auto;
  margin-top: 0.45rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(250, 247, 238, 0.12);
  color: var(--amber);
}

.service-page--coaching .service-offer-section .pricing-plan-note {
  width: min(100%, 560px);
  margin: 0.95rem auto 0;
  border-color: rgba(245, 185, 66, 0.28);
  background: rgba(245, 185, 66, 0.12);
  color: var(--cream);
}

@media (max-width: 720px) {
  .service-page--coaching .service-offer-grid {
    max-width: none;
  }

  .service-page--coaching .service-offer-grid > .reveal:first-child h2 {
    font-size: 2.45rem;
  }

  .service-page--coaching .service-pricing-showcase .pricing-plan-price {
    font-size: clamp(2.65rem, 14vw, 3.5rem);
  }
}

/* Coaching formulas final pass: calm, vertical, premium */
.service-page--coaching .service-offer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 185, 66, 0.13), transparent 18rem),
    radial-gradient(circle at 88% 52%, rgba(168, 159, 214, 0.10), transparent 22rem),
    linear-gradient(90deg, rgba(27, 26, 23, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: auto, auto, 42px 42px, auto;
  color: var(--ink);
}

.service-page--coaching .service-offer-section::after {
  display: none;
}

.service-page--coaching .service-offer-grid {
  display: block;
  max-width: 960px;
}

.service-page--coaching .service-offer-grid > .reveal:first-child {
  max-width: 720px;
  margin: 0 auto clamp(1.6rem, 4vw, 2.8rem);
  text-align: center;
}

.service-page--coaching .service-offer-grid > .reveal:first-child h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.02;
}

.service-page--coaching .service-offer-section .kicker {
  color: var(--amber-deep);
}

.service-page--coaching .service-pricing-showcase {
  display: grid;
  width: min(100%, 680px);
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-inline: auto;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card {
  display: block;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0)),
    rgba(237, 231, 219, 0.82);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 18px 42px rgba(74, 55, 16, 0.06);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card::after {
  border: 0;
  border-left: 4px solid rgba(217, 156, 26, 0.48);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card--featured {
  background:
    radial-gradient(circle at 96% 0%, rgba(245, 185, 66, 0.22), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    rgba(245, 185, 66, 0.13);
  border-color: rgba(217, 156, 26, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 24px 58px rgba(110, 79, 12, 0.12);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card--featured::after {
  border-left-color: var(--amber);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-name,
.service-page--coaching .service-pricing-showcase .pricing-plan-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-badge {
  margin-right: 0.55rem;
  border-radius: 4px;
  background: rgba(245, 185, 66, 0.18);
  color: var(--amber-deep);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price {
  display: flex;
  grid-column: auto;
  grid-row: auto;
  justify-content: flex-start;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(2.45rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price small {
  color: var(--muted);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card p {
  grid-column: auto;
  max-width: 38ch;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-support {
  display: block;
  grid-column: auto;
  margin-top: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(27, 26, 23, 0.11);
  color: var(--amber-deep);
}

.service-page--coaching .service-offer-section .pricing-plan-note {
  width: min(100%, 680px);
  margin: 0.95rem auto 0;
  border-color: rgba(27, 26, 23, 0.10);
  background: rgba(245, 185, 66, 0.12);
  color: var(--ink);
  box-shadow: none;
}

@media (max-width: 720px) {
  .service-page--coaching .service-offer-grid > .reveal:first-child {
    text-align: left;
  }

  .service-page--coaching .service-offer-grid > .reveal:first-child h2 {
    font-size: 2.25rem;
  }

  .service-page--coaching .service-pricing-showcase {
    width: 100%;
  }

  .service-page--coaching .service-pricing-showcase .pricing-plan-price {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }
}

/* Coaching formulas portrait cards: final vertical direction */
.service-page--coaching .service-pricing-showcase {
  width: min(100%, 430px);
  gap: 1.05rem;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2.4vw, 1.65rem);
  border-radius: 8px;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(2) {
  transform: translateX(36px);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(3) {
  transform: translateX(-18px);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card:hover {
  transform: translateY(-4px);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(2):hover {
  transform: translateX(36px) translateY(-4px);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(3):hover {
  transform: translateX(-18px) translateY(-4px);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-name,
.service-page--coaching .service-pricing-showcase .pricing-plan-badge {
  margin-bottom: 1.1rem;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price {
  display: block;
  margin-top: auto;
  margin-bottom: 1.1rem;
  font-size: clamp(3.2rem, 8vw, 4.8rem);
}

.service-page--coaching .service-pricing-showcase .pricing-plan-price small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-card p {
  max-width: 24ch;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.service-page--coaching .service-pricing-showcase .pricing-plan-support {
  margin-top: auto;
}

@media (max-width: 720px) {
  .service-page--coaching .service-pricing-showcase {
    width: 100%;
  }

  .service-page--coaching .service-pricing-showcase .pricing-plan-card,
  .service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(2),
  .service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(3),
  .service-page--coaching .service-pricing-showcase .pricing-plan-card:hover,
  .service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(2):hover,
  .service-page--coaching .service-pricing-showcase .pricing-plan-card:nth-child(3):hover {
    min-height: 350px;
    transform: none;
  }
}

/* Coaching formulas as landing service cards */
.service-page--coaching .service-formula-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  margin-top: 0;
}

.service-page--coaching .service-formula-grid .service-offer,
.service-page--coaching .service-formula-grid .service-offer:first-child {
  align-self: stretch;
  grid-row: auto;
  min-height: 0;
}

.service-page--coaching .service-formula-grid .service-offer-head h3 {
  font-size: clamp(2.25rem, 3.2vw, 3.55rem);
}

.service-page--coaching .service-formula-grid .service-offer-head strong {
  color: var(--paper);
}

.service-page--coaching .service-formula-grid .service-quick-points {
  margin-top: clamp(1.15rem, 2vw, 1.65rem);
}

.service-page--coaching .service-formula-grid + .pricing-plan-note {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .service-page--coaching .service-formula-grid {
    grid-template-columns: 1fr;
  }

  .service-page--coaching .service-formula-grid .service-offer,
  .service-page--coaching .service-formula-grid .service-offer:first-child {
    min-height: 0;
  }
}

/* Service pages: keep card sections optically aligned across coaching, consulting and advising */
.service-page {
  --service-page-gutter: 48px;
  --service-page-content: 1200px;
}

.service-page .section:not(.service-hero) > .container,
.service-page--coaching .service-signal-inner,
.service-page--coaching .service-offer-grid {
  width: min(100% - var(--service-page-gutter), var(--service-page-content));
  max-width: var(--service-page-content);
  margin-inline: auto;
}

.service-page--coaching .service-signal-inner {
  gap: clamp(3rem, 5vw, 4.5rem);
}

.service-timeline-list {
  width: 100%;
}

.service-timeline-list p {
  max-width: min(18ch, 100%);
}

.service-page--coaching .service-formula-grid {
  width: 100%;
}

.service-page--coaching .service-formula-grid .service-offer-head h3 {
  font-size: clamp(2rem, 2.6vw, 3.05rem);
  overflow-wrap: anywhere;
}

.service-page--coaching .service-formula-grid .service-offer-head strong {
  white-space: normal;
}

.service-page--coaching .service-offer-grid > .reveal:first-child {
  max-width: min(100%, 1200px);
}

.service-page--coaching .service-offer-grid > .reveal:first-child h2 {
  max-width: 1200px;
  margin-inline: auto;
  font-size: clamp(2.35rem, 3.25vw, 3.55rem);
}

.service-page--coaching .service-offer-grid > .reveal:first-child h2 span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .service-page--coaching .service-offer-grid > .reveal:first-child h2 span {
    white-space: normal;
  }
}

.service-page .builder-marquee {
  margin-inline: 0;
  padding-inline: 0;
  mask-image: linear-gradient(90deg, #000, #000 92%, transparent);
}

.service-page .service-signal-section .service-detail,
.service-page .service-work-section .service-detail,
.service-page .service-method-section .service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.7rem, 5vw, 4.4rem);
}

.service-page .service-signal-section .service-detail > .reveal:first-child,
.service-page .service-work-section .service-detail > .reveal:first-child,
.service-page .service-method-section .service-detail > .reveal:first-child {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.service-page .service-signal-section .service-detail > .reveal:first-child h2,
.service-page .service-work-section .service-detail > .reveal:first-child h2,
.service-page .service-method-section .service-detail > .reveal:first-child h2 {
  margin-inline: auto;
}

.service-hero-grid.container {
  width: min(100% - 64px, 1800px);
}

.service-hero-grid {
  grid-template-columns: minmax(420px, 760px) minmax(220px, 300px) minmax(390px, 520px);
  justify-content: space-between;
}

.service-hero-copy {
  max-width: none;
}

.service-hero-panel {
  max-width: 520px;
}

@media (max-width: 1040px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .service-hero-panel {
    max-width: none;
  }
}

.service-page .service-card-list {
  counter-reset: service-line-item;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: clamp(1rem, 1.7vw, 1.6rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.service-page .service-card-list::before {
  content: "";
  position: absolute;
  top: 1.04rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--service-accent);
  opacity: 0.82;
}

.service-page .service-card-list li,
.service-page .service-card-list--steps li {
  counter-increment: service-line-item;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  gap: 1.05rem;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.86);
  font-size: clamp(0.82rem, 0.88vw, 0.94rem);
  font-weight: 700;
  line-height: 1.38;
  text-align: center;
  text-wrap: balance;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}

.service-page .service-card-list li::before,
.service-page .service-card-list--steps li::before {
  content: counter(service-line-item, decimal-leading-zero);
  position: static;
  display: inline-grid;
  place-items: center;
  width: 2.08rem;
  height: 2.08rem;
  border: 1px solid color-mix(in srgb, var(--service-accent) 72%, transparent);
  border-radius: 999px;
  background: var(--service-accent);
  color: #111111;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 0 0 7px var(--cream);
}

.service-page .service-card-list li:hover,
.service-page .service-card-list--steps li:hover {
  transform: translateY(-2px);
  background: transparent;
  color: #111111;
}

@media (max-width: 720px) {
  .service-page {
    --service-page-gutter: 32px;
  }

  .service-hero-grid.container {
    width: min(100% - 32px, 1200px);
  }

  .service-hero-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .service-page .service-card-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.35rem;
  }

  .service-page .service-card-list::before {
    top: 1rem;
    bottom: 1rem;
    left: 1.03rem;
    right: auto;
    width: 1px;
    height: auto;
  }

  .service-page .service-card-list li,
  .service-page .service-card-list--steps li {
    grid-template-columns: 2.05rem minmax(0, 1fr);
    column-gap: 1rem;
    justify-items: start;
    padding: 0 0 1.55rem;
    font-size: 0.98rem;
    line-height: 1.45;
    text-align: left;
    text-wrap: pretty;
  }

  .service-page .service-card-list li:last-child,
  .service-page .service-card-list--steps li:last-child {
    padding-bottom: 0;
  }

  .service-page .service-card-list li::before,
  .service-page .service-card-list--steps li::before {
    grid-column: 1;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.56rem;
    box-shadow: 0 0 0 6px var(--cream);
  }
}

/* Videos page: only free content videos, no service presentation shorts */
.videos-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(245, 185, 66, 0.12), transparent 24rem),
    var(--cream);
}

.videos-page .video-library-section {
  min-height: calc(100dvh - 72px);
  padding: clamp(1rem, 2vw, 1.55rem) 0 clamp(3.8rem, 7vw, 6rem);
  background: transparent;
}

.videos-page-head {
  max-width: 760px;
  margin: 0 auto clamp(1rem, 2.2vw, 1.45rem);
  text-align: center;
}

.videos-page-head h1 {
  padding-bottom: 0.08em;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.videos-page-head h1 span {
  display: block;
  margin-top: clamp(0.28rem, 0.6vw, 0.46rem);
  color: rgba(27, 26, 23, 0.58);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.18;
}

.videos-page .video-library-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
  justify-items: center;
}

.videos-page .video-resource-card,
.videos-page .video-resource-card:target {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  width: min(100%, 255px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.videos-page .video-resource-media {
  width: min(100%, calc((100dvh - 320px) * 9 / 16));
  min-width: 210px;
  max-width: none;
  max-height: 430px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(27, 26, 23, 0.12);
}

.videos-page .video-resource-media::before {
  width: 64px;
  height: 64px;
  border: 0;
  background: rgba(18, 13, 11, 0.34);
  backdrop-filter: none;
}

.videos-page .video-resource-media::after {
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 21.5C27 19.8 28.9 18.8 30.3 19.8L45.1 29.7C46.5 30.6 46.5 32.4 45.1 33.3L30.3 43.2C28.9 44.2 27 43.2 27 41.5V21.5Z' fill='%23FAF7EE'/%3E%3C/svg%3E") center / 64px 64px no-repeat;
  transform: translate(-50%, -50%);
}

.videos-page .video-resource-media span {
  top: clamp(1.25rem, 2vw, 1.7rem);
  left: clamp(1.25rem, 2vw, 1.7rem);
  color: rgba(250, 247, 238, 0.82);
  font-size: clamp(0.72rem, 1vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.13em;
}

.videos-page .video-resource-card h2 {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.videos-page .video-resource-media--empty {
  border: 1px dashed rgba(27, 26, 23, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    rgba(237, 231, 219, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.videos-page .video-resource-media--empty::before,
.videos-page .video-resource-media--empty::after {
  display: none;
}

.videos-page .video-resource-media--empty span {
  color: rgba(27, 26, 23, 0.24);
}

@media (max-width: 1100px) {
  .videos-page .video-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videos-page .video-resource-card {
    width: min(100%, 310px);
  }

  .videos-page .video-resource-media {
    width: 100%;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .videos-page .video-library-section {
    padding-top: 1rem;
  }

  .videos-page-head {
    text-align: left;
  }

  .videos-page-head h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.35rem);
    line-height: 1.02;
  }

  .videos-page-head h1 span {
    font-size: clamp(0.9rem, 4vw, 1.04rem);
    line-height: 1.22;
  }

  .videos-page .video-library-grid {
    grid-template-columns: 1fr;
  }

  .videos-page .video-resource-card {
    width: min(100%, 320px);
  }
}

.videos-playlist-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(223, 174, 47, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 22rem),
    var(--cream);
}

.videos-playlist-page .video-library-section {
  min-height: 0;
  padding: clamp(1.35rem, 3vw, 2.35rem) 0 clamp(3.6rem, 7vw, 6.5rem);
}

.videos-playlist-page .videos-page-head {
  max-width: none;
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.65rem);
  text-align: left;
}

.videos-playlist-page .videos-page-head .kicker {
  margin-bottom: 0.55rem;
  color: #dfae2f;
  text-align: left;
}

.videos-playlist-page .videos-page-head h1 {
  max-width: none;
  font-size: clamp(2.8rem, 3.7vw, 4.6rem);
}

.videos-playlist-page .videos-page-head h1 span {
  color: rgba(27, 26, 23, 0.62);
  font-size: clamp(0.96rem, 1.55vw, 1.28rem);
}

.video-playlist-hub {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(1.8rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(27, 26, 23, 0.13);
  border-bottom: 1px solid rgba(27, 26, 23, 0.13);
}

.playlist-pill {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.34rem;
  min-height: 6.7rem;
  padding: clamp(0.9rem, 1.8vw, 1.3rem);
  color: inherit;
  text-decoration: none;
  border-left: 1px solid rgba(27, 26, 23, 0.10);
  transition: background 180ms ease, transform 180ms ease;
}

.playlist-pill:first-child {
  border-left: 0;
}

.playlist-pill::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(0.9rem, 1.8vw, 1.3rem);
  right: clamp(0.9rem, 1.8vw, 1.3rem);
  height: 3px;
  background: transparent;
}

.playlist-pill:hover,
.playlist-pill:focus-visible,
.playlist-pill.is-active {
  background: rgba(255, 255, 255, 0.38);
}

.playlist-pill:active {
  transform: translateY(1px);
}

.playlist-pill.is-active::before,
.playlist-pill:focus-visible::before {
  background: #dfae2f;
}

.playlist-pill span,
.playlist-pill em {
  color: rgba(27, 26, 23, 0.54);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playlist-pill strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.playlist-pill em {
  align-self: end;
  margin-top: auto;
  color: rgba(27, 26, 23, 0.46);
  letter-spacing: 0;
  text-transform: none;
}

.video-playlist-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(27, 26, 23, 0.12);
}

.video-playlist-block {
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: clamp(1.15rem, 3vw, 2.25rem);
  align-items: start;
  padding: clamp(1.25rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid rgba(27, 26, 23, 0.12);
  background: transparent;
}

.video-playlist-copy {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.video-playlist-copy h2 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.1vw, 2.45rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.video-playlist-copy p:not(.media-meta) {
  max-width: 28ch;
  margin: 0;
  color: rgba(27, 26, 23, 0.66);
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
  font-weight: 750;
  line-height: 1.32;
}

.video-playlist-copy .text-link {
  width: fit-content;
  margin-top: 0.35rem;
}

.video-playlist-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.95rem, 1.8vw, 1.35rem);
  align-items: start;
  justify-content: start;
}

.video-playlist-row > .video-resource-card[hidden] {
  display: none !important;
}

.video-playlist-row--double {
  grid-template-columns: repeat(2, minmax(190px, 300px));
}

.video-tag-results {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(1.35rem, 2.8vw, 2.2rem);
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  border-top: 1px solid rgba(27, 26, 23, 0.1);
  border-bottom: 1px solid rgba(27, 26, 23, 0.1);
}

.video-tag-results[hidden] {
  display: none;
}

.video-tag-results-head {
  display: grid;
  gap: 0.25rem;
}

.video-tag-results-head h2 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.9vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.video-tag-results-empty {
  max-width: 48ch;
  color: rgba(27, 26, 23, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

.videos-playlist-page .video-resource-card,
.videos-playlist-page .video-resource-card:target {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  max-width: none;
  min-height: 0;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.videos-playlist-page .video-resource-media {
  width: 100%;
  min-width: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(27, 26, 23, 0.09);
}

.videos-playlist-page .video-resource-card--short {
  max-width: 180px;
  width: 180px;
}

.videos-playlist-page .video-resource-card--short .video-resource-media {
  aspect-ratio: 9 / 16;
}

#tips-videos-gratuites .video-playlist-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
  gap: clamp(0.95rem, 1.55vw, 1.45rem);
}

#tips-videos-gratuites .video-resource-card--short {
  width: min(100%, 180px);
}

#tips-videos-gratuites .video-resource-card--short .video-resource-body {
  grid-template-rows: minmax(3.65rem, auto) auto;
  min-height: 6.95rem;
}

#tips-videos-gratuites .video-resource-card--short .video-resource-body h3 {
  min-height: 3.65rem;
}

.video-resource-body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 5.25rem;
  padding: 0.72rem 0 0;
}

.video-resource-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.96rem, 1.06vw, 1.08rem);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.video-resource-body p {
  margin: 0;
  color: rgba(27, 26, 23, 0.62);
  font-size: 0.96rem;
  line-height: 1.42;
}

@media (min-width: 1100px) {
  .videos-playlist-page .videos-page-head h1 {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .video-playlist-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playlist-pill:nth-child(odd) {
    border-left: 0;
  }

  .playlist-pill:nth-child(n + 3) {
    border-top: 1px solid rgba(27, 26, 23, 0.10);
  }

  .video-playlist-block,
  .video-playlist-row,
  .video-playlist-row--double {
    grid-template-columns: 1fr;
  }

  .video-playlist-block > .content-pagination {
    grid-column: 1;
  }

  .videos-playlist-page .videos-page-head h1 {
    font-size: clamp(2.15rem, 7vw, 3.35rem);
    max-width: 13ch;
  }

  .video-playlist-copy h2 {
    max-width: 16ch;
  }
}

@media (max-width: 620px) {
  .videos-playlist-page .video-library-section {
    padding-top: 1.35rem;
  }

  .videos-playlist-page .videos-page-head {
    text-align: left;
  }

  .videos-playlist-page .videos-page-head .kicker {
    text-align: left;
  }

  .videos-playlist-page .videos-page-head h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.2rem);
    max-width: 13ch;
  }

  .video-playlist-hub {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-bottom: 1.35rem;
  }

  .playlist-pill {
    flex: 0 0 min(72vw, 14rem);
    min-height: 6.1rem;
    padding: 0.8rem;
    scroll-snap-align: start;
  }

  .playlist-pill:nth-child(odd) {
    border-left: 1px solid rgba(27, 26, 23, 0.10);
  }

  .playlist-pill:first-child {
    border-left: 0;
  }

  .playlist-pill:nth-child(n + 3) {
    border-top: 0;
  }

  .playlist-pill span,
  .playlist-pill em {
    font-size: 0.67rem;
  }

  .playlist-pill strong {
    font-size: 0.96rem;
  }

  .video-playlist-block {
    padding: 1.15rem 0;
  }

  .video-playlist-copy h2 {
    max-width: none;
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .video-playlist-row {
    grid-template-columns: 1fr;
  }

  .videos-playlist-page .video-resource-card--short {
    max-width: min(100%, 135px);
  }
}

/* Blog index: keep the first finance section visible above the fold */
.blog-page .blog-page-hero {
  padding-top: clamp(1.45rem, 2.25vw, 2.25rem) !important;
  padding-bottom: clamp(1.15rem, 2vw, 1.85rem) !important;
}

.blog-page .page-hero-grid {
  grid-template-columns: 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.2rem) !important;
  align-items: start;
}

.blog-page .page-hero h1 {
  max-width: none;
  font-size: clamp(2.65rem, 4vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-page .page-hero .lede {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: clamp(0.98rem, 1.28vw, 1.06rem);
  line-height: 1.55;
}

.blog-page .blog-index-section {
  padding-top: clamp(1.2rem, 2.3vw, 2rem);
}

.blog-page .blog-index-category-head .blog-index-category-title {
  max-width: none;
  margin: 0;
  color: #7465b6;
  font-family: var(--mono);
  font-size: clamp(1.22rem, 1.85vw, 1.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-page .blog-index-category-head p:not(.media-meta) {
  margin-top: 0.1rem;
}

@media (min-width: 1100px) {
  .blog-page .page-hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .blog-page .page-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-page .page-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .blog-page .blog-page-hero {
    padding-top: 2rem !important;
    padding-bottom: 1.7rem !important;
  }
}

/* Service pages: keep hero content high, like the validated consulting reference */
.service-page .service-hero {
  padding-top: clamp(42px, 2.8vw, 52px);
  padding-bottom: 64px;
}

.service-page .service-hero .kicker,
.service-page--consulting .service-hero .kicker {
  color: var(--amber);
  font-family: var(--font);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1040px) {
  .service-page .service-hero {
    padding-top: clamp(44px, 6vw, 64px);
  }
}

@media (max-width: 720px) {
  .service-page .service-hero {
    padding-top: 42px !important;
    padding-bottom: 34px;
  }

  .service-page .service-hero .kicker,
  .service-page--consulting .service-hero .kicker {
    font-size: 2.45rem;
  }
}

/* Service hero offer cards: premium dense panels */
.service-hero-panel--premium {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(0.62rem, 0.9vw, 0.82rem);
  height: calc(var(--service-hero-media-height) + 4px);
  max-width: 560px;
  padding: clamp(0.95rem, 1.45vw, 1.28rem);
  border: 1px solid rgba(226, 184, 74, 0.45);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 14%, color-mix(in srgb, var(--service-accent) 28%, transparent), transparent 12rem),
    linear-gradient(90deg, rgba(248, 241, 228, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248, 241, 228, 0.026) 1px, transparent 1px),
    linear-gradient(135deg, #1a1813 0%, #11100e 52%, #090908 100%);
  background-size: auto, 34px 34px, 34px 34px, auto;
  box-shadow:
    inset 0 1px 0 rgba(248, 241, 228, 0.13),
    inset 0 0 42px rgba(226, 184, 74, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  animation: servicePanelIn 0.72s var(--ease) both;
}

.service-hero-panel--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 24%, rgba(226, 184, 74, 0.13), transparent 8rem),
    linear-gradient(180deg, rgba(248, 241, 228, 0.08), transparent 32%);
  opacity: 0.8;
}

.service-panel-main,
.service-panel-formats,
.service-panel-custom {
  position: relative;
  z-index: 1;
}

.service-panel-main {
  display: grid;
  gap: 0.52rem;
  max-width: 100%;
  padding-right: 0;
}

.service-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 0.5rem;
  height: 2.25rem;
  min-height: 0;
  padding: 0 0.9rem;
  border: 1px solid rgba(226, 184, 74, 0.38);
  border-radius: 999px;
  background: rgba(226, 184, 74, 0.055);
  color: rgba(248, 241, 228, 0.8);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-align: center;
  text-indent: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-hero-panel--premium .service-panel-price {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  max-width: 100%;
  color: #f8f1e4;
  font-size: clamp(1.58rem, 1.84vw, 2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: normal;
  animation: servicePanelPriceIn 0.74s var(--ease) 0.08s both;
}

.service-panel-price em {
  color: #e2b84a;
  font-style: normal;
}

.service-panel-price span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

.service-hero-panel--premium .service-panel-price span:first-child {
  font-size: clamp(1.42rem, 1.62vw, 1.78rem);
}

.service-hero-panel--premium .service-panel-price span:last-child {
  font-size: clamp(1.28rem, 1.46vw, 1.62rem);
}

.service-panel-rule,
.service-panel-mark,
.service-panel-arrow {
  display: none;
}

.service-hero-panel--premium p {
  max-width: 32ch;
  color: rgba(248, 241, 228, 0.68);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.48;
}

.service-panel-mark path,
.service-panel-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-panel-formats {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding-top: 0.62rem;
  border-top: 1px solid rgba(248, 241, 228, 0.13);
}

.service-panel-format,
.service-panel-custom {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 26px;
  column-gap: 1.18rem;
  row-gap: 0;
  align-items: center;
  height: 64px;
  min-height: 64px;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(248, 241, 228, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.038);
  box-shadow: inset 0 1px 0 rgba(248, 241, 228, 0.06);
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
  overflow: hidden;
  animation: servicePanelItemIn 0.62s var(--ease) both;
}

.service-hero-panel--premium .service-panel-format,
.service-hero-panel--premium .service-panel-custom {
  column-gap: 1.18rem;
  row-gap: 0;
}

.service-panel-format .service-panel-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.service-panel-format dt {
  grid-column: 2;
  grid-row: 1;
}

.service-panel-format dd {
  grid-column: 2;
  grid-row: 2;
}

.service-panel-format:nth-child(1) { animation-delay: 0.12s; }
.service-panel-format:nth-child(2) { animation-delay: 0.18s; }
.service-panel-format:nth-child(3) { animation-delay: 0.24s; }

.service-panel-format:hover,
.service-panel-custom:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 184, 74, 0.42);
  background: rgba(226, 184, 74, 0.055);
}

.service-panel-format::after {
  content: attr(data-step);
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  color: rgba(248, 241, 228, 0.055);
  font-size: clamp(1.82rem, 2.7vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
}

.service-panel-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e2b84a;
}

.service-panel-icon svg {
  width: 22px;
  height: 22px;
}

.service-panel-format dt,
.service-panel-custom span:not(.service-panel-icon):not(.service-panel-arrow) {
  color: #e2b84a;
  font-family: var(--mono);
  font-size: clamp(0.49rem, 0.58vw, 0.57rem);
  font-weight: 900;
  letter-spacing: 0.052em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-panel-format dd {
  display: grid;
  gap: 0.06rem;
  color: rgba(248, 241, 228, 0.7);
  font-size: 0.74rem;
  line-height: 1.28;
}

.service-panel-format dd strong {
  color: #f8f1e4;
  font-size: 0.84rem;
  line-height: 1.2;
}

.service-panel-custom {
  grid-template-columns: 24px minmax(0, 1fr);
  border-left: 3px solid #e2b84a;
}

.service-panel-custom .service-panel-icon {
  grid-column: 1;
}

.service-panel-custom > div {
  grid-column: 2;
}

.service-panel-custom p {
  margin-top: 0.14rem;
  max-width: none;
  font-size: 0.66rem;
  line-height: 1.18;
}

@keyframes servicePanelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicePanelPriceIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicePanelItemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .service-hero-panel--premium {
    height: auto;
    min-height: 0;
  }

  .service-panel-formats {
    grid-template-rows: none;
  }

  .service-panel-main {
    max-width: min(100%, 430px);
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .service-hero-panel--premium {
    padding: 1rem;
    border-radius: 20px;
  }

  .service-panel-price {
    max-width: 100%;
    font-size: clamp(1.34rem, 6.2vw, 1.64rem);
    white-space: normal;
  }

  .service-panel-format,
  .service-panel-custom {
    grid-template-columns: 24px minmax(0, 1fr);
    height: auto;
    min-height: 0;
    padding: 0.72rem 0.86rem;
  }

  .service-hero-panel--premium .service-panel-format,
  .service-hero-panel--premium .service-panel-custom {
    column-gap: 1rem;
    row-gap: 0;
  }

  .service-panel-format::after {
    display: none;
  }

  .service-panel-format dt,
  .service-panel-custom span:not(.service-panel-icon):not(.service-panel-arrow) {
    white-space: normal;
  }

  .service-panel-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .commercial-hero .hero-word-switch {
    overflow: hidden;
  }
}

/* Final override: internal diagnostic sections are flush; landing overlap keeps its rounded top. */
.diagnostic-internal-panel,
.diag-page-diagnostic,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel) {
  margin-top: 0 !important;
  border-radius: 0 !important;
}

.diagnostic-internal-panel::before,
.diagnostic-internal-panel::after,
.diag-page-diagnostic::before,
.diag-page-diagnostic::after,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel)::before,
.diagnostic-overlap-panel:not(.diagnostic-overlap-stack .diagnostic-overlap-panel)::after {
  border-radius: 0 !important;
}

/* Final home order: projects are static after services; only diagnostic keeps the scroll-cover styling. */
.proof-projects--after-services {
  position: relative;
  z-index: 2;
  background: var(--paper);
  padding-top: clamp(72px, 7vw, 112px) !important;
  padding-bottom: clamp(72px, 7vw, 118px) !important;
}

.proof-projects--after-services .project-slider {
  padding-top: 0 !important;
}

@media (min-width: 981px) {
  .proof-projects--after-services {
    margin-top: 0 !important;
  }

  .diagnostic-overlap-stack--diagnostic-only .diagnostic-overlap-panel {
    margin-top: clamp(70px, 6vw, 110px) !important;
  }
}

/* Keep the stat cards attached to the hero while extending the squared background behind them. */
.commercial-hero {
  overflow: visible;
  isolation: isolate;
  z-index: 3;
}

.commercial-hero::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 0;
  height: clamp(150px, 13vh, 214px);
  background:
    linear-gradient(90deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 26, 23, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 86% 0%, rgba(169, 155, 220, 0.14), transparent 24rem),
    radial-gradient(circle at 18% 100%, rgba(242, 197, 93, 0.18), transparent 24rem),
    var(--cream);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  background-position: 0 0, 0 22px, center, center, 0 0;
  pointer-events: none;
}

/* Restore the landing scroll-cover: projects stay behind, diagnostic slides above. */
.diagnostic-overlap-stack > .proof-projects--after-services.diagnostic-overlap-base {
  background: var(--paper) !important;
}

.diagnostic-overlap-stack > .proof-projects--after-services.diagnostic-overlap-base::after {
  display: none !important;
}

@media (min-width: 981px) {
  .diagnostic-overlap-stack > .proof-projects--after-services.diagnostic-overlap-base {
    position: sticky !important;
    top: 68px !important;
    z-index: 1 !important;
    display: block !important;
    min-height: calc(100dvh - 68px) !important;
    transform: translateZ(0) !important;
  }

  .diagnostic-overlap-stack > .diagnostic-overlap-panel {
    margin-top: clamp(300px, 24vh, 360px) !important;
    z-index: 20 !important;
  }
}

/* Sticky proof viewport: keep project card text visible before diagnostic covers it. */
@media (min-width: 981px) {
  .diagnostic-overlap-stack > .proof-projects--after-services.diagnostic-overlap-base {
    padding-top: clamp(46px, 4.2vw, 72px) !important;
    padding-bottom: clamp(22px, 2.2vw, 34px) !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-header {
    margin-bottom: clamp(1.1rem, 2.2vw, 2rem) !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-header .section-title {
    max-width: 14.5ch !important;
    font-size: clamp(3.25rem, 5.15vw, 5.9rem) !important;
    line-height: 0.9 !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-project-card {
    min-height: auto !important;
    grid-template-rows: 168px auto !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body {
    padding: 0.92rem 1rem 1rem !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body h3 {
    margin: 0.48rem 0 0.5rem !important;
    font-size: 1.13rem !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body p {
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  [data-service-project-slider] .proof-project-card {
    min-height: 382px !important;
    grid-template-rows: 168px 1fr !important;
  }

  [data-service-project-slider] .proof-card-body {
    padding: 0.92rem 1rem 1rem !important;
  }

  [data-service-project-slider] .proof-card-body h3 {
    margin: 0.48rem 0 0.5rem !important;
    font-size: 1.13rem !important;
  }

  [data-service-project-slider] .proof-card-body p {
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
}

@media (min-width: 981px) and (max-height: 860px) {
  .diagnostic-overlap-stack > .proof-projects--after-services.diagnostic-overlap-base {
    padding-top: clamp(24px, 3vh, 38px) !important;
    padding-bottom: 18px !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-header {
    margin-bottom: clamp(0.75rem, 1.6vh, 1.15rem) !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-header .section-title {
    max-width: 14ch !important;
    font-size: clamp(2.9rem, 4.55vw, 4.95rem) !important;
    line-height: 0.88 !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-project-card {
    min-height: auto !important;
    grid-template-rows: 126px auto !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body {
    padding: 0.7rem 0.85rem 0.82rem !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .project-status {
    font-size: 0.58rem !important;
    padding: 0.24rem 0.5rem !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body h3 {
    margin: 0.38rem 0 0.34rem !important;
    font-size: 1.02rem !important;
    line-height: 1.04 !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .proof-card-body p {
    font-size: 0.8rem !important;
    line-height: 1.34 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .project-tags {
    gap: 0.28rem !important;
  }

  .diagnostic-overlap-stack > .proof-projects--after-services .project-tags span {
    font-size: 0.56rem !important;
    padding: 0.24rem 0.46rem !important;
  }

  [data-service-project-slider] .proof-project-card {
    min-height: auto !important;
    grid-template-rows: 126px auto !important;
  }

  [data-service-project-slider] .proof-card-body {
    padding: 0.7rem 0.85rem 0.82rem !important;
  }

  [data-service-project-slider] .project-status {
    font-size: 0.58rem !important;
    padding: 0.24rem 0.5rem !important;
  }

  [data-service-project-slider] .proof-card-body h3 {
    margin: 0.38rem 0 0.34rem !important;
    font-size: 1.02rem !important;
    line-height: 1.04 !important;
  }

  [data-service-project-slider] .proof-card-body p {
    font-size: 0.8rem !important;
    line-height: 1.34 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .diagnostic-overlap-stack > .diagnostic-overlap-panel {
    margin-top: clamp(340px, 34vh, 430px) !important;
  }
}

@media (max-width: 980px) {
  [data-service-project-slider] .proof-project-card {
    min-height: 466px;
  }
}

/* Home transitions around the compact about section. */
#qui-suis-je.about-section {
  z-index: 2;
  border-top: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(242, 197, 93, 0.10), transparent 28rem),
    linear-gradient(180deg, #eee8ff 0%, #f7f3ff 100%);
  box-shadow: none;
}

#qui-suis-je.about-section.section-divider::before {
  display: none;
}

#qui-suis-je.about-section::after {
  display: none;
}

@media (min-width: 981px) {
  #qui-suis-je.about-section {
    padding-top: clamp(198px, 13vw, 236px) !important;
    padding-bottom: clamp(66px, 5vw, 80px) !important;
  }
}

#services.services-section {
  position: relative;
  padding-top: clamp(82px, 7vw, 122px) !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(169, 155, 220, 0.10), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 100%);
  border-top: 0;
  box-shadow: none;
}

#services.services-section.section-divider::before {
  display: none;
}

#preuves.proof-projects--after-services,
.diagnostic-overlap-stack > #preuves.proof-projects--after-services.diagnostic-overlap-base {
  background:
    radial-gradient(circle at 82% 8%, rgba(242, 197, 93, 0.12), transparent 28rem),
    radial-gradient(circle at 16% 18%, rgba(169, 155, 220, 0.22), transparent 30rem),
    linear-gradient(180deg, #f5f1ff 0%, #fbf7ff 100%) !important;
}

#preuves.proof-projects--after-services.section-divider::before,
.diagnostic-overlap-stack > #preuves.proof-projects--after-services.diagnostic-overlap-base::after {
  display: none !important;
}

@media (max-width: 640px) {
  #services.services-section {
    padding-top: clamp(58px, 15vw, 82px) !important;
  }
}

/* RDV modal must stay white like the contact form, regardless of older modal overrides. */
[data-rdv-modal] .rdv-modal-panel,
[data-rdv-modal] .contact-modal-panel {
  background: #fff !important;
}

[data-rdv-modal] input,
[data-rdv-modal] select,
[data-rdv-modal] textarea {
  background: #fff !important;
}

@media (max-width: 720px) {
  #contact.contact-strip {
    padding-top: 1.35rem !important;
    padding-bottom: 1.55rem !important;
  }

  #contact.contact-strip .contact-strip-inner {
    min-height: 0 !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.95rem !important;
  }

  #contact.contact-strip .contact-strip-inner > div:first-child {
    flex: 0 0 auto !important;
  }

  #contact.contact-strip .contact-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  #contact.contact-strip .btn--contact-cta {
    width: 100% !important;
    min-height: 46px;
    padding: 0.84rem 1rem !important;
  }
}

.service-heading-accent {
  color: #dfae2f;
}

.service-page--consulting .service-signal-inner {
  display: grid;
  gap: clamp(3.2rem, 5vw, 4.8rem);
}

.service-page--consulting .service-signal-head .kicker {
  margin-bottom: 0.85rem;
  color: rgba(17, 17, 17, 0.52);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-page--consulting .service-signal-head h2 {
  position: relative;
  max-width: 780px;
  padding-bottom: 1rem;
  color: #111111;
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.service-page--consulting .service-signal-head h2 span {
  color: #dfae2f;
}

.service-page--consulting .service-signal-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4.1rem;
  height: 2px;
  background: #dfae2f;
  transform: translateX(-50%);
}

.service-page--consulting .service-icon-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.35vw, 1.2rem);
  padding: 0;
  list-style: none;
}

.service-page--consulting .service-icon-list li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.95rem;
  min-width: 0;
  text-align: center;
}

.service-page--consulting .service-icon-list svg {
  width: 2.7rem;
  height: 2.7rem;
  padding: 0.52rem;
  border: 1px solid rgba(223, 174, 47, 0.72);
  border-radius: 999px;
  background: #dfae2f;
  color: #111111;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-page--consulting .service-icon-list p {
  max-width: 18ch;
  color: rgba(17, 17, 17, 0.82);
  font-size: clamp(0.84rem, 0.92vw, 0.96rem);
  font-weight: 700;
  line-height: 1.42;
  text-wrap: balance;
}

.service-page--consulting .mission-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

  .service-page--consulting .mission-example-grid article {
  min-height: 170px;
  padding: 1rem;
  border: 1px solid rgba(27, 26, 23, 0.10);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.18)),
    #fffaf0;
}

.service-page--consulting .mission-example-grid span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: #7b67ca;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-page--consulting .mission-example-grid h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.1vw, 1.16rem);
  line-height: 1.08;
}

.service-page--consulting .mission-example-grid p {
  margin: 0;
  color: rgba(27, 26, 23, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .service-page--consulting .service-signal-inner {
    gap: 3.3rem;
  }

  .service-page--consulting .service-icon-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-page--consulting .mission-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .service-page--consulting .service-signal-inner {
    gap: 2.8rem;
  }

  .service-page--consulting .service-signal-head h2 {
    max-width: 12ch;
    font-size: 2.45rem;
  }

  .service-page--consulting .service-icon-list,
  .service-page--consulting .mission-example-grid {
    grid-template-columns: 1fr;
  }

  .service-page--consulting .service-icon-list li {
    grid-template-columns: 2.7rem minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 1rem;
    text-align: left;
  }

  .service-page--consulting .service-icon-list p {
    max-width: none;
    text-wrap: pretty;
  }

.service-page--consulting .mission-example-grid article {
    min-height: 0;
  }
}

.service-page--advising .service-signal-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  padding: 5.1rem 0 4.9rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 180, 68, 0.11), transparent 24rem),
    linear-gradient(180deg, #fffaf0 0%, #faf6ea 100%);
}

.service-page--advising .service-signal-inner {
  display: grid;
  gap: clamp(3.2rem, 5vw, 4.8rem);
}

.service-page--advising .service-signal-head .kicker {
  margin-bottom: 0.85rem;
  color: rgba(17, 17, 17, 0.52);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-page--advising .service-signal-head h2 {
  position: relative;
  max-width: 780px;
  padding-bottom: 1rem;
  color: #111111;
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.service-page--advising .service-signal-head h2 span {
  color: #dfae2f;
}

.service-page--advising .service-signal-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4.1rem;
  height: 2px;
  background: #dfae2f;
  transform: translateX(-50%);
}

.service-page--advising .service-timeline-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-page--advising .service-timeline-list::before {
  left: calc(10% + 1.38rem);
  right: calc(10% + 1.38rem);
}

@media (max-width: 1100px) {
  .service-page--advising .service-signal-section {
    min-height: 0;
    padding: 4.6rem 0 5rem;
  }

  .service-page--advising .service-signal-inner {
    gap: 3.3rem;
  }

  .service-page--advising .service-timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .service-page--advising .service-signal-section {
    padding: 4rem 0 4.4rem;
  }

  .service-page--advising .service-signal-inner {
    gap: 2.8rem;
  }

  .service-page--advising .service-signal-head h2 {
    max-width: 12ch;
    font-size: 2.45rem;
  }

  .service-page--advising .service-timeline-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile QA fixes: keep media and long headings readable without changing desktop layouts. */
@media (max-width: 640px) {
  .commercial-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 320px;
    background: linear-gradient(180deg, rgba(251, 245, 232, 0), var(--cream) 24%, var(--cream) 100%);
    pointer-events: none;
  }

  .commercial-hero {
    padding-bottom: 0 !important;
  }

  .commercial-hero-layout {
    min-height: auto;
  }

  .commercial-hero-media,
  .hero-proof-grid {
    position: relative;
    z-index: 4;
  }

  #qui-suis-je.about-section {
    z-index: 3;
    margin-top: -16px;
    padding-top: calc(16px + clamp(18px, 5vw, 26px));
    padding-bottom: clamp(42px, 12vw, 64px);
  }

  #qui-suis-je .about-layout {
    position: relative;
    z-index: 2;
    gap: 1.05rem;
  }

  #qui-suis-je .about-media {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  #qui-suis-je .about-motion,
  #qui-suis-je .about-media img {
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: 50% 38%;
  }

  #qui-suis-je .about-copy .section-title {
    font-size: clamp(2.35rem, 10vw, 2.85rem);
    line-height: 0.98;
  }

  #qui-suis-je .about-lead {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .service-page--coaching .service-offer-section {
    padding-top: clamp(52px, 14vw, 70px);
    padding-bottom: clamp(56px, 14vw, 76px);
  }

  .service-page--coaching .service-offer-grid > .reveal:first-child {
    margin-bottom: 1.25rem;
  }

  .service-page--coaching .service-offer-grid > .reveal:first-child h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.35rem);
    line-height: 1.03;
    text-wrap: balance;
  }

  .service-page--coaching .service-offer-grid > .reveal:first-child h2 span {
    display: block;
    max-width: 100%;
  }

  .service-page--coaching .service-formula-grid {
    gap: 0.82rem;
  }

  .service-page--coaching .service-formula-grid .service-offer,
  .service-page--coaching .service-formula-grid .service-offer:first-child {
    padding: 1.05rem 1rem 1.15rem;
    border-radius: 8px;
  }

  .service-page--coaching .service-formula-grid .service-offer-head {
    min-height: 0;
  }

  .service-page--coaching .service-formula-grid .service-offer-head h3 {
    font-size: clamp(2.2rem, 13vw, 3.15rem);
    line-height: 0.96;
  }

  .service-page--coaching .service-formula-grid .service-quick-points li {
    font-size: 0.98rem;
    line-height: 1.42;
  }
}

@media (max-width: 760px) {
  .parcours-journey-photos {
    display: none;
  }

  .parcours-journey-copy {
    margin-bottom: 1.7rem;
  }

  .parcours-journey-rail {
    top: clamp(15rem, 58vw, 18rem);
    left: 1.25rem;
  }

  .parcours-journey-steps {
    padding-left: 3.05rem;
  }

  .parcours-journey-step {
    padding-bottom: 1.85rem;
  }

  .parcours-journey-step-photo {
    margin: 0.8rem 0 0.9rem;
  }

  .parcours-journey-step-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    background: #171512;
  }
}

/* Mobile home hero hierarchy: title + video lead, supporting copy recedes. */
@media (max-width: 640px) {
  .commercial-hero .commercial-hero-layout {
    gap: clamp(0.95rem, 3.2vw, 1.18rem);
  }

  .commercial-hero .commercial-hero-copy {
    gap: clamp(0.78rem, 2.8vw, 1rem);
  }

  .commercial-hero .v4-hero-title {
    font-size: clamp(2.25rem, 11.5vw, 2.85rem);
    line-height: 0.89;
    letter-spacing: -0.055em;
  }

  .commercial-hero .title-line {
    gap: 0.03em;
  }

  .commercial-hero .v4-hero-foot {
    gap: 0.78rem;
  }

  .commercial-hero .v4-hero-sub {
    max-width: 31ch;
    font-size: clamp(0.78rem, 3.15vw, 0.9rem);
    line-height: 1.42;
  }

  .commercial-hero .commercial-hero-video {
    width: min(90vw, 430px);
  }
}

/* Diagnostic result: premium report and Calendly handoff. */
.analysis-mark--icon-loader {
  position: relative;
  width: 76px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin: 0 auto;
}

.analysis-mark--icon-loader img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: none;
}

.analysis-loader-orbit {
  --size: 1px;
  position: relative;
  z-index: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  font-size: calc(8 * var(--size));
  text-indent: -9999em;
  animation: analysis-dot-orbit 1.3s infinite linear;
  transform: translateZ(0);
}

@keyframes analysis-dot-orbit {
  0%,
  100% {
    box-shadow:
      0 -3em 0 0.2em,
      2em -2em 0 0em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 0;
  }
  12.5% {
    box-shadow:
      0 -3em 0 0,
      2em -2em 0 0.2em,
      3em 0 0 0,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  25% {
    box-shadow:
      0 -3em 0 -0.5em,
      2em -2em 0 0,
      3em 0 0 0.2em,
      2em 2em 0 0,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 0,
      2em 2em 0 0.2em,
      0 3em 0 0em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  50% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 0em,
      0 3em 0 0.2em,
      -2em 2em 0 0,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 0,
      -2em 2em 0 0.2em,
      -3em 0 0 0,
      -2em -2em 0 -1em;
  }
  75% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 0,
      -3em 0 0 0.2em,
      -2em -2em 0 0;
  }
  87.5% {
    box-shadow:
      0 -3em 0 0,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 0,
      -3em 0 0 0,
      -2em -2em 0 0.2em;
  }
}

.result-panel--premium {
  gap: clamp(1rem, 2vw, 1.65rem);
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border-radius: 18px;
  border-color: rgba(250, 247, 238, 0.24);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 250, 240, 0.16) 0, rgba(255, 250, 240, 0) 24rem),
    linear-gradient(180deg, #7465b6 0%, #6759a8 100%);
}

.result-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.68fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}

.result-panel--premium .result-profile,
.result-service-badge,
.result-analysis-card,
.result-side-card,
.result-calendly-card {
  border: 1px solid rgba(245, 185, 66, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(244, 236, 219, 0.86)),
    var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 22px 60px rgba(83, 63, 34, 0.14);
}

.result-panel--premium .result-profile {
  border-radius: 14px;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.result-panel--premium .result-profile h3 {
  font-family: var(--brand);
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.result-panel--premium .result-profile > p {
  max-width: 64ch;
  color: rgba(36, 28, 23, 0.66);
}

.result-panel--premium .result-profile .inline-message {
  color: rgba(123, 85, 20, 0.92);
}

.result-panel--premium .score-chart-header {
  color: rgba(36, 28, 23, 0.42);
}

.result-service-badge {
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.35rem);
  display: grid;
  align-content: space-between;
  min-height: 100%;
}

.result-service-badge span,
.result-service-card span,
.result-section-head span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245, 185, 66, 0.72);
}

.result-service-badge strong {
  display: block;
  margin: 0.65rem 0 0.8rem;
  font-family: var(--brand);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 0.95;
  color: var(--amber);
}

.result-service-badge p,
.result-service-card p,
.result-calendly-card p {
  color: rgba(36, 28, 23, 0.64);
  font-size: 0.9rem;
  line-height: 1.62;
}

.result-premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.68fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
}

.result-analysis-card,
.result-side-card,
.result-calendly-card {
  border-radius: 16px;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.result-section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.result-section-head h4,
.result-service-card h4,
.result-calendly-card h4 {
  color: var(--ink);
  font-family: var(--brand);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.result-section-stack {
  display: grid;
  gap: 0.85rem;
}

.result-analysis-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(36, 28, 23, 0.10);
}

.result-analysis-section:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}

.result-analysis-number {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 185, 66, 0.32);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.66rem;
  background: rgba(245, 185, 66, 0.08);
}

.result-analysis-section h5 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.result-analysis-section p,
.result-analysis-section li {
  color: rgba(36, 28, 23, 0.66);
  font-size: 0.9rem;
  line-height: 1.72;
}

.result-analysis-section p + p,
.result-analysis-section ol + p,
.result-analysis-section p + ol {
  margin-top: 0.6rem;
}

.result-analysis-section ol {
  display: grid;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.result-analysis-section strong {
  color: var(--ink);
}

.result-side-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.05rem;
}

.score-chart--premium {
  padding: 0;
}

.score-chart--premium .score-row {
  grid-template-columns: 88px minmax(80px, 1fr) 28px;
  padding: 0.58rem 0;
  border-top: 1px solid rgba(36, 28, 23, 0.08);
  color: rgba(36, 28, 23, 0.68);
}

.score-chart--premium .score-line {
  height: 8px;
  background: rgba(36, 28, 23, 0.08);
}

.score-chart--premium .score-line span {
  background: linear-gradient(90deg, var(--amber), #f3d889);
}

.result-service-card {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(36, 28, 23, 0.10);
}

.result-service-card .btn {
  justify-self: start;
}

.result-calendly-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(620px, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(0.85rem, 1.7vw, 1.15rem);
}

.result-calendly-card h4 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.result-calendly-card p {
  max-width: 34ch;
  font-size: 0.84rem;
  line-height: 1.5;
}

.result-calendly-frame {
  width: 100%;
  min-height: clamp(500px, 62vh, 680px);
  border: 0;
  border-radius: 12px;
  background: var(--cream);
}

.result-calendly-empty {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(36, 28, 23, 0.18);
  padding: 1.5rem;
  text-align: center;
}

.diagnostic-result-shell {
  max-width: 1180px;
}

.diagnostic-result-widget {
  min-height: clamp(560px, 64vh, 720px);
  padding: clamp(1rem, 2.2vw, 1.65rem);
  border-color: rgba(116, 101, 182, 0.32);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 250, 240, 0.28), transparent 26rem),
    radial-gradient(circle at 84% 24%, rgba(116, 101, 182, 0.38), transparent 34rem),
    radial-gradient(circle at 48% 100%, rgba(169, 155, 220, 0.34), transparent 30rem),
    linear-gradient(145deg, #e8defe 0%, #d9cdf8 52%, #eee7ff 100%);
  overflow: hidden;
}

.diagnostic-result-widget.is-analyzing {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(0.85rem, 1.7vw, 1.2rem);
}

.diagnostic-result-widget.is-result-step {
  min-height: auto;
  padding: 0;
  border-color: rgba(116, 101, 182, 0.36);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 250, 240, 0.16) 0, rgba(255, 250, 240, 0) 24rem),
    linear-gradient(180deg, #7465b6 0%, #6759a8 100%);
}

.diagnostic-result-widget.is-analyzing .diagnostic-meta {
  margin: 0;
  padding: clamp(0.9rem, 1.7vw, 1.2rem);
  border: 1px solid rgba(116, 101, 182, 0.14);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: rgba(67, 55, 109, 0.58);
}

.diagnostic-result-widget.is-analyzing .diagnostic-meta strong {
  color: var(--ink);
  font-family: var(--brand);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.diagnostic-result-widget.is-analyzing .diagnostic-eyebrow {
  border: 0;
  padding: 0;
  color: rgba(67, 55, 109, 0.56);
}

.diagnostic-result-widget.is-analyzing .diagnostic-percent {
  color: var(--amber-deep);
  font-weight: 800;
}

.diagnostic-result-widget.is-analyzing .analysis-track {
  height: 8px;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 55, 109, 0.10);
}

.diagnostic-result-widget.is-analyzing .diagnostic-analysis {
  position: relative;
  min-height: clamp(410px, 45vw, 560px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(0.65rem, 1.4vw, 1rem);
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.2rem);
  border: 1px solid rgba(116, 101, 182, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.70), rgba(244, 240, 255, 0.48)),
    rgba(255, 250, 240, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 24px 70px rgba(67, 55, 109, 0.12);
  text-align: center;
}

.diagnostic-result-widget.is-analyzing .analysis-ambient {
  margin: 0 0 0.2rem;
}

.diagnostic-result-widget.is-analyzing .analysis-ambient span,
.diagnostic-result-widget.is-analyzing .analysis-stage-list li {
  color: rgba(67, 55, 109, 0.48);
}

.diagnostic-result-widget.is-analyzing .analysis-head {
  margin: 0;
}

.diagnostic-result-widget.is-analyzing .analysis-head .kicker {
  color: rgba(67, 55, 109, 0.68);
}

.diagnostic-result-widget.is-analyzing .diagnostic-analysis h3 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--brand);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.diagnostic-result-widget.is-analyzing .analysis-keywords {
  margin: 0;
}

.diagnostic-result-widget.is-analyzing .analysis-stage-list {
  width: min(100%, 760px);
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.25rem auto 0;
  text-align: center;
}

.diagnostic-result-widget.is-analyzing .analysis-stage-list li {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.6rem;
  border: 1px solid rgba(116, 101, 182, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.44);
}

.diagnostic-result-widget.is-analyzing .analysis-stage-list li.is-active {
  color: var(--ink);
  border-color: rgba(116, 101, 182, 0.30);
  background: rgba(169, 155, 220, 0.20);
}

.diagnostic-commercial {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 250, 240, 0.34), transparent 26rem),
    radial-gradient(circle at 84% 24%, rgba(245, 185, 66, 0.38), transparent 34rem),
    radial-gradient(circle at 48% 100%, rgba(217, 156, 26, 0.22), transparent 30rem),
    linear-gradient(145deg, #fff4cc 0%, #f6cf63 54%, #ffe9a4 100%) !important;
}

.diagnostic-commercial .diagnostic-widget {
  border-color: rgba(250, 247, 238, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(244, 236, 219, 0.88)),
    var(--cream);
}

@media (max-width: 980px) {
  .result-hero-card,
  .result-premium-grid,
  .result-calendly-card {
    grid-template-columns: 1fr;
  }

  .result-side-card {
    position: static;
  }

  .diagnostic-result-widget.is-analyzing {
    padding: clamp(0.85rem, 4vw, 1.25rem);
  }

  .diagnostic-result-widget.is-analyzing .analysis-stage-list {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .result-analysis-section {
    grid-template-columns: 1fr;
  }

  .result-analysis-number {
    width: auto;
    justify-self: start;
    padding: 0 0.7rem;
  }

  .score-chart--premium .score-row {
    grid-template-columns: 78px minmax(72px, 1fr) 24px;
    gap: 0.55rem;
  }
}

/* iOS Safari: keep project copy in its own opaque row below the photo. */
@media (max-width: 980px) {
  #preuves .proof-project-card {
    display: grid !important;
    grid-template-rows: 210px minmax(0, 1fr) !important;
    background: var(--cream) !important;
  }

  #preuves .proof-project-card > img {
    position: static !important;
    z-index: auto !important;
    width: 100% !important;
    height: 210px !important;
    opacity: 1 !important;
  }

  #preuves .proof-card-body {
    position: static !important;
    z-index: auto !important;
    display: flex !important;
    opacity: 1 !important;
    color: var(--ink) !important;
    background: var(--cream) !important;
    -webkit-transform: none !important;
    transform: none !important;
  }

  #preuves .proof-card-body h3 {
    color: var(--ink) !important;
    opacity: 1 !important;
  }
}
