/* ─────────────────────────────────────────────────────────
 * Cube — design system v15
 * Single CSS file, no build step.
 * Mirrors the design system spec exactly.
 * ───────────────────────────────────────────────────────── */

:root {
  /* Color tokens */
  --color-main-light: #FAF5FF;
  --color-main-dark: #030012;

  --color-violet: #7D3BE4;
  --color-violet-hover: #6B2BD4;
  --color-violet-light: #AF87EC;

  --color-beige: #F2F0E1;

  --color-text-primary: #030012;
  --color-text-secondary: #4A3A60;
  --color-text-tertiary: #6B5985;
  --color-text-on-dark: #FAF5FF;
  --color-text-on-dark-secondary: #C9B8E8;

  --color-border-subtle: rgba(3, 0, 18, 0.06);
  --color-border-standard: rgba(3, 0, 18, 0.12);
  --color-border-strong: rgba(3, 0, 18, 0.20);

  /* Typography */
  --font-display: "ClashGrotesk-Variable", "Clash Grotesk", Georgia, serif;
  --font-sans: "Satoshi-Variable", "Satoshi", system-ui, -apple-system, sans-serif;

  /* Container */
  --container-cube: 1152px;
}

/* ─────────────────────────────────────────────────────────
 * Reset + base
 * ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--color-main-light);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, fieldset, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; }
::selection { background-color: var(--color-violet); color: var(--color-main-light); }

/* ─────────────────────────────────────────────────────────
 * Layout primitives
 * ───────────────────────────────────────────────────────── */

.container-cube {
  width: 100%;
  max-width: var(--container-cube);
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 640px) {
  .container-cube { padding-inline: 24px; }
}

/* ─────────────────────────────────────────────────────────
 * Typography helpers
 * ───────────────────────────────────────────────────────── */

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
.h-display-on-dark {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-main-light);
  letter-spacing: -0.01em;
}

.prefix-section {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-violet);
}
.prefix-section-on-dark {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-violet-light);
}
.surtitle-card {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-tertiary);
}

.accent { font-weight: 500; color: var(--color-text-primary); }
.accent-on-dark { font-weight: 500; color: var(--color-main-light); }
.accent-violet { color: var(--color-violet); }

/* ─────────────────────────────────────────────────────────
 * CTAs
 * ───────────────────────────────────────────────────────── */

.cta-primary,
.cta-secondary,
.cta-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
  text-decoration: none;
  white-space: nowrap;
}
.cta-primary {
  background-color: var(--color-violet);
  color: var(--color-main-light);
  border: none;
  padding: 12px 22px;
}
.cta-primary:hover { background-color: var(--color-violet-hover); }
.cta-primary:focus-visible { outline: 2px solid var(--color-violet-light); outline-offset: 2px; }

.cta-secondary {
  background-color: transparent;
  color: var(--color-main-dark);
  border: 1px solid var(--color-main-dark);
  padding: 11px 21px;
}
.cta-secondary:hover { background-color: var(--color-main-dark); color: var(--color-main-light); }

.cta-on-dark {
  background-color: var(--color-main-light);
  color: var(--color-main-dark);
  border: none;
  padding: 12px 22px;
}
.cta-on-dark:hover { background-color: #ffffff; }

.cta--final { padding: 14px 28px; }
.cta--card { padding: 10px 18px; font-size: 13px; }
.cta--full { width: 100%; padding: 14px 22px; }

/* ─────────────────────────────────────────────────────────
 * Cards
 * ───────────────────────────────────────────────────────── */

.card-light {
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  border-radius: 0;
  padding: 28px;
  transition: border-color 200ms ease-out;
  height: 100%;
}
.card-light:hover { border-color: var(--color-border-strong); }

.card-dark {
  background-color: var(--color-main-dark);
  color: var(--color-text-on-dark-secondary);
  padding: 36px 32px;
  border-radius: 0;
}

/* ─────────────────────────────────────────────────────────
 * Logo
 * ───────────────────────────────────────────────────────── */

.cube-logo {
  display: inline-block;
  background-color: var(--color-violet);
  transform: rotate(45deg);
  border-radius: 4px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-name {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-main-dark);
  letter-spacing: 0.04em;
}
.brand-logo {
  display: block;
  width: auto;
  height: 28px;
}

/* ─────────────────────────────────────────────────────────
 * Avatar talents
 * ───────────────────────────────────────────────────────── */

.talent-avatar {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(3, 0, 18, 0.08);
  object-fit: cover;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
 * Header / Nav
 * ───────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background-color: var(--color-main-light);
  border-bottom: 0.5px solid var(--color-border-subtle);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-secondary);
  transition: color 150ms ease-out, opacity 150ms ease-out;
}
.nav-links a:hover { color: var(--color-main-dark); }
.nav-links a.is-active { color: var(--color-main-dark); font-weight: 500; }
.nav-header-cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  margin-right: -8px;
  background: transparent;
  border: none;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--color-main-dark);
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}
.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 0.5px solid var(--color-border-subtle);
}
.mobile-menu.is-open { display: block; }
.mobile-menu__inner {
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu__inner a {
  font-size: 15px;
  color: var(--color-text-secondary);
}
.mobile-menu__inner a.is-active { color: var(--color-main-dark); font-weight: 500; }

@media (min-width: 768px) {
  .nav-links { display: inline-flex; }
  .nav-header-cta { display: inline-flex; }
  .burger { display: none; }
}

/* ─────────────────────────────────────────────────────────
 * Footer
 * ───────────────────────────────────────────────────────── */

.site-footer {
  border-top: 0.5px solid var(--color-border-subtle);
  background-color: var(--color-main-light);
}
.site-footer__inner {
  padding-top: 48px;
  padding-bottom: 28px;
}
.site-footer__primary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.site-footer__location {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
}
.site-footer__emails {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.site-footer__emails a {
  font-size: 13px;
  color: var(--color-main-dark);
  transition: opacity 150ms ease-out;
}
.site-footer__emails a:hover { opacity: 0.7; }

.site-footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 0.5px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.site-footer__legal p, .site-footer__legal a {
  font-size: 11px;
  color: var(--color-text-tertiary);
}
.site-footer__legal nav { display: flex; gap: 20px; }
.site-footer__legal a:hover { opacity: 0.7; }

@media (min-width: 640px) {
  .site-footer__emails { grid-template-columns: repeat(3, 1fr); }
  .site-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .site-footer__primary { grid-template-columns: 1fr 2fr; gap: 64px; }
}

/* ─────────────────────────────────────────────────────────
 * Sections — generic
 * ───────────────────────────────────────────────────────── */

.section {
  padding-block: 96px;
}
.section--sm { padding-block: 64px; }
.section--hero { padding-top: 96px; padding-bottom: 64px; }
.section--beige { background-color: var(--color-beige); padding-block: 96px; }
.section--beige-sm { background-color: var(--color-beige); padding-block: 80px; }
.section--dark { background-color: var(--color-main-dark); padding-block: 96px; }
.section--bordered {
  border-top: 1px solid var(--color-border-standard);
  border-bottom: 1px solid var(--color-border-standard);
  padding-block: 64px;
}

@media (max-width: 640px) {
  .section, .section--beige, .section--dark { padding-block: 64px; }
  .section--beige-sm { padding-block: 56px; }
  .section--bordered { padding-block: 48px; }
}

.section-header__title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.2;
  margin-top: 20px;
}
.section-header__sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 620px;
}

/* Hero */
.hero {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.hero--wide { max-width: 840px; }
.hero__title {
  margin-top: 20px;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__sub {
  margin-top: 28px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 620px;
}
.hero__ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero__quote {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--color-violet);
}

/* Partner logos row */
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 18px;
}
.logo-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  min-height: 84px;
  padding: 18px 24px;
  border: 0.5px solid var(--color-border-standard);
  background-color: var(--color-main-light);
  transition: border-color 200ms ease-out;
}
.logo-cell:hover { border-color: var(--color-border-strong); }
.logo-cell img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 116px;
  object-fit: contain;
  border-radius: 6px;
}
.logo-cell span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

/* Hero with side visual (homepage) */
.hero-with-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-visual {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
  box-shadow: 0 10px 40px rgba(3, 0, 18, 0.08);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .hero-with-visual {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
  .hero-with-visual .hero {
    text-align: left;
    margin-inline: 0;
    max-width: none;
  }
  .hero-with-visual .hero__sub { margin-inline: 0; }
  .hero-with-visual .hero__ctas { justify-content: flex-start; }
}

/* Conviction band */
.conviction {
  max-width: 820px;
}
.conviction__title {
  margin-top: 20px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}
.conviction__body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* CTA final */
.cta-final {
  text-align: center;
}
.cta-final__title {
  margin-inline: auto;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  max-width: 600px;
}
.cta-final__sub {
  margin: 20px auto 0;
  color: var(--color-text-on-dark-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
}
.cta-final__action { margin-top: 36px; }

/* ─────────────────────────────────────────────────────────
 * Grids
 * ───────────────────────────────────────────────────────── */

.grid-1 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-2x2 { display: grid; grid-template-columns: 1fr; gap: 16px; }

.talents-strip { display: grid; grid-template-columns: 1fr; gap: 10px; }
.board-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.board-block-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-block-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2x2 { grid-template-columns: 1fr 1fr; }
  .talents-strip { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .board-row { grid-template-columns: 2fr 1fr; }
  .board-block-4 { grid-template-columns: repeat(4, 1fr); }
}

.mt-12 { margin-top: 48px; }
.mt-8 { margin-top: 32px; }
.mt-6 { margin-top: 24px; }
.mt-5 { margin-top: 20px; }
.mt-4 { margin-top: 16px; }
.mt-3 { margin-top: 12px; }
.mt-2 { margin-top: 8px; }
.mt-1 { margin-top: 4px; }
.mt-9 { margin-top: 36px; }
.mt-10 { margin-top: 40px; }

/* ─────────────────────────────────────────────────────────
 * Pillar / production / lever cards
 * ───────────────────────────────────────────────────────── */

.num-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-violet);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text-primary);
}
.card-body {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Talent strip mini-card */
.talent-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 0.5px solid var(--color-border-standard);
  background-color: var(--color-main-light);
}
.talent-mini__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-main-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.talent-mini__tag {
  font-size: 12px;
  color: var(--color-text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Talent grid card (network page) */
.talent-card { padding: 28px; }
.talent-card__head { display: flex; align-items: flex-start; gap: 20px; }
.talent-card__name { font-size: 22px; line-height: 1.25; margin-top: 8px; }
.talent-card__credit { margin-top: 4px; font-size: 13px; color: var(--color-text-tertiary); }
.talent-card__body { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* Home cards Network / Partners */
.card-network {
  background-color: var(--color-beige);
  padding: 36px 32px;
  border: 0.5px solid var(--color-border-standard);
}
.card-network__quote {
  margin-top: 16px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-family: var(--font-display);
}
.card-network__title { margin-top: 24px; font-size: 26px; line-height: 1.25; }
.card-network__body { margin-top: 20px; font-size: 14px; line-height: 1.75; color: var(--color-text-secondary); }

.card-partners {
  background-color: var(--color-main-dark);
  padding: 36px 32px;
  color: var(--color-text-on-dark-secondary);
}
.card-partners__quote {
  margin-top: 16px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-on-dark-secondary);
  font-family: var(--font-display);
}
.card-partners__title { margin-top: 24px; font-size: 26px; line-height: 1.25; }
.card-partners__body { margin-top: 20px; font-size: 14px; line-height: 1.75; color: var(--color-text-on-dark-secondary); }

/* Board mini cards (Partners page) */
.board-mini {
  padding: 14px;
  border: 0.5px solid var(--color-border-standard);
  background-color: var(--color-main-light);
  text-align: center;
}
/* Full-width horizontal board slider (homepage) */
.board-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 32px;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* Centré quand le contenu tient ; aligné au début (scrollable) quand il déborde. */
  justify-content: safe center;
}
.board-slider::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .board-slider { padding-inline: 24px; } }
.board-slider .board-mini {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 210px;
  max-width: 70vw;
}
.board-mini__category { color: var(--color-violet); }
.board-mini__name { margin-top: 12px; font-size: 14px; line-height: 1.3; }
.board-mini__credit { margin-top: 4px; font-size: 11px; color: var(--color-text-tertiary); line-height: 1.5; }

/* Board cards (About page) */
.board-card { padding: 24px; }
.board-card__name { margin-top: 12px; font-size: 22px; line-height: 1.25; }
.board-card__credit { margin-top: 4px; font-size: 13px; color: var(--color-text-tertiary); }
.board-card__body { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* Board avatars (added) */
.board-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(3, 0, 18, 0.08);
  flex-shrink: 0;
}
.board-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-violet);
  color: var(--color-main-light);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
}
.board-card__head { display: flex; align-items: center; gap: 16px; }
.board-mini__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.board-mini .board-avatar { width: 44px; height: 44px; font-size: 15px; }

/* Studio cards */
.studio-card__title { margin-top: 12px; font-size: 24px; line-height: 1.25; }
.studio-card__body { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* Studios video banner + gallery (added) */
.studios-video {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
  background: var(--color-main-dark);
}
.studios-video video {
  display: block;
  width: 100%;
  height: auto;
}
.studios-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .studios-gallery { grid-template-columns: repeat(3, 1fr); }
}
.studios-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
}
.studios-gallery__item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.studios-gallery__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Stats band (added) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
/* L'origine (About) : texte à gauche, image à droite */
.origine-split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.origine-split > figure { margin: 0; }
@media (min-width: 900px) {
  .origine-split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  color: var(--color-main-light);
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-on-dark-secondary);
}

/* Stats scroll-driven area chart (added) */
.stats-section { position: relative; overflow: hidden; }
.stats-section .container-cube { position: relative; z-index: 1; }
.stats-curve {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stats-curve svg { width: 100%; height: 100%; display: block; }
.stats-curve__grid line {
  stroke: var(--color-violet-light);
  opacity: 0.08;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.stats-curve__area { fill: url(#cubeAreaGrad); }
.stats-curve__line {
  fill: none;
  stroke: url(#cubeLineGrad);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.stats-curve__scan {
  stroke: var(--color-violet-light);
  stroke-width: 1.5;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}
.stats-curve__dot {
  fill: #EDE4FB;
  opacity: 0;
}

/* Entity rows: title on the left + strip on the right (added) */
.entity-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}
/* Allow the strip cell to shrink so the snap-row scrolls internally
   instead of blowing out the row width on mobile (min-width:auto fix). */
.entity-row > * { min-width: 0; }
.entity-row + .entity-row { margin-top: 20px; }
.entity-row__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-main-dark);
}
@media (min-width: 768px) {
  .entity-row { grid-template-columns: 190px 1fr; gap: 32px; }
}
/* Society logo styled like a talent avatar (contained, not cropped) */
.society-logo-mini {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  background-color: #fff;
  border: 0.5px solid var(--color-border-subtle);
  box-shadow: 0 0 0 1px rgba(3, 0, 18, 0.04);
  padding: 7px;
}
/* Clickable talent card → dedicated case-study page */
.talent-link {
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.talent-link:hover {
  border-color: var(--color-violet);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 0, 18, 0.08);
}

/* Entrepreneur case-study page */
.profile-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .profile-hero { grid-template-columns: 300px 1fr; gap: 48px; }
}
.profile-hero__photo {
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
  box-shadow: 0 14px 50px rgba(3, 0, 18, 0.10);
}
.profile-hero__photo img { display: block; width: 100%; height: auto; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-main-dark);
  background-color: var(--color-beige);
  border-radius: 999px;
  padding: 6px 14px;
}
.profile-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.profile-social {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-main-dark);
  text-decoration: none;
  border: 0.5px solid var(--color-border-standard);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.profile-social:hover { border-color: var(--color-violet); color: var(--color-violet); }

/* Social stats line (per platform) */
.profile-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.profile-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0.5px solid var(--color-border-standard);
  border-radius: 14px;
  padding: 18px 22px;
  background-color: var(--color-main-light);
}
.profile-stat__icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--color-main-dark); }
.profile-stat__icon svg { width: 100%; height: 100%; display: block; }
.profile-stat__metrics { display: flex; gap: 22px; }
.profile-stat__num { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1; color: var(--color-main-dark); }
.profile-stat__label { margin-top: 4px; font-size: 12px; color: var(--color-text-tertiary); }

/* Full-width production pipeline: one row on desktop, horizontal scroll on mobile */
.pipeline-full {
  display: flex;
  gap: 14px;
  padding-inline: 32px;
}
.pipeline-full > * { flex: 1; min-width: 0; }
@media (max-width: 767px) {
  .pipeline-full {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-inline: 24px;
    scrollbar-width: none;
  }
  .pipeline-full::-webkit-scrollbar { display: none; }
  .pipeline-full > * { flex: 0 0 76%; scroll-snap-align: start; }
}

/* Horizontal reels gallery (vertical video embeds) */
.reels-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 32px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.reels-row::-webkit-scrollbar { display: none; }
.reels-row { margin-left: 24px; }
@media (max-width: 640px) { .reels-row { padding-inline: 24px; } }
.reel-card { flex: 0 0 auto; scroll-snap-align: start; }
.reel-card iframe {
  display: block;
  width: 340px;
  height: 620px;
  max-width: 80vw;
  border: 0.5px solid var(--color-border-standard);
  border-radius: 14px;
  background-color: var(--color-main-light);
}

/* ─────────────────────────────────────────────────────────
 * Formats slider (homepage) — full-width horizontal scroller
 * ───────────────────────────────────────────────────────── */
.formats-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 32px;
  padding-bottom: 8px;
  scrollbar-width: none;
  align-items: stretch;
  /* Centré quand le contenu tient ; aligné au début (scrollable) quand il déborde. */
  justify-content: safe center;
}
.formats-row::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .formats-row { padding-inline: 24px; } }
.format-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: 400px;
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 200ms ease-out;
}
.format-card--long  { width: 540px; max-width: 88vw; }
.format-card--short { width: 270px; max-width: 64vw; }
.format-card:hover { border-color: var(--color-border-strong); }
/* In the slider, cards share a fixed height; the thumb fills the space left by the meta. */
.format-card__thumb {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background-color: var(--color-main-dark);
}
.format-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
}
.format-card:hover .format-card__thumb img { transform: scale(1.03); }
.format-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(3, 0, 18, 0.55);
  transition: background-color 200ms ease-out;
}
.format-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--color-main-light);
}
.format-card:hover .format-card__play { background-color: var(--color-violet); }
.format-card__meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
}
.format-card__title {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--color-text-primary);
}
.format-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Generic rounded media figure (e.g. About origin image) */
.media-figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
  box-shadow: 0 14px 50px rgba(3, 0, 18, 0.08);
}
.media-figure img { display: block; width: 100%; height: auto; }

/* Testimonials horizontal slider */
.testimonials-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 32px;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* Centré quand le contenu tient ; aligné au début (scrollable) quand il déborde. */
  justify-content: safe center;
}
.testimonials-row::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .testimonials-row { padding-inline: 24px; } }
.testimonial-card {
  flex: 0 0 380px;
  max-width: 85vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 28px;
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  border-radius: 14px;
}
.testimonial-card__quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-primary);
}
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  background-color: #fff;
  border: 0.5px solid var(--color-border-subtle);
  padding: 6px;
}
.testimonial-card__name { font-weight: 500; font-size: 14px; color: var(--color-main-dark); }
.testimonial-card__role { margin-top: 2px; font-size: 12px; color: var(--color-text-tertiary); }
.testimonial-card__tag { margin-top: 6px; font-size: 11px; font-weight: 500; color: var(--color-violet); }

/* Comparator */
.compare-col-light {
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  padding: 32px 28px;
}
.compare-col-dark {
  background-color: var(--color-main-dark);
  padding: 32px 28px;
}
.compare-title {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.3;
}
.compare-list {
  margin-top: 28px;
  padding-left: 18px;
  list-style: disc;
  font-size: 14px;
  line-height: 1.7;
}
.compare-list li + li { margin-top: 12px; }
.compare-list--light { color: var(--color-text-secondary); }
.compare-list--dark { color: var(--color-text-on-dark-secondary); }

/* Comparateur 3 colonnes (contenu / pub / ne rien faire) */
.cmp3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .cmp3 { grid-template-columns: repeat(3, 1fr); } }
.cmp3__col {
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  padding: 28px 24px;
}
.cmp3__col--win { border: 1px solid var(--color-violet); background: #F8F5FF; }
.cmp3__col--dark { border: 0; background-color: var(--color-main-dark); }
.cmp3__head {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; line-height: 1.3; color: var(--color-text-primary); margin: 0 0 22px;
}
.cmp3__col--win .cmp3__head { color: var(--color-violet); }
.cmp3__col--dark .cmp3__head { color: var(--color-violet-light); }
.cmp3__item { font-size: 13px; line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 14px; }
.cmp3__item:last-child { margin-bottom: 0; }
.cmp3__item--muted { color: var(--color-text-tertiary); }
.cmp3__col--dark .cmp3__item { color: var(--color-text-on-dark-secondary); }
/* Variante "preuve en vidéo" (page network) : texte plus grand et plus impactant */
.cmp-proof .cmp3__col--dark { display: flex; flex-direction: column; justify-content: center; }
.cmp-proof .cmp3__head { font-size: 22px; }
.cmp-proof .cmp3__item { font-size: 18px; line-height: 1.5; margin: 0 0 20px; }
.cmp-proof .cmp3__item .accent-violet-light { color: var(--color-violet-light); font-weight: 600; }

/* Network — slider "Nos formats" (pleine largeur écran, cartes 16:9) */
.formats-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 32px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.formats-slider::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .formats-slider { padding-inline: 24px; } }
.format-card {
  flex: 0 0 auto;
  width: min(560px, 82vw);
  margin: 0;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--color-main-dark);
}
.format-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.format-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 14px 18px;
  background: linear-gradient(to top, rgba(10, 8, 18, 0.88), rgba(10, 8, 18, 0));
}
.format-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  margin: 0 0 6px;
}
.format-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 100%;
}
.formats-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.formats-slider.is-dragging .format-card { pointer-events: none; }
@media (hover: hover) { .formats-slider { cursor: grab; } }
.format-card[data-video] { cursor: pointer; }
.format-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 8, 18, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
  transition: background 0.2s, transform 0.2s;
}
.format-card__play svg { width: 30px; height: 30px; margin-left: 3px; }
.format-card:hover .format-card__play,
.format-card:focus-visible .format-card__play {
  background: var(--color-violet);
  transform: translate(-50%, -50%) scale(1.08);
}
@media (max-width: 640px) {
  .format-card { height: 20em; display: flex; flex-direction: column; }
  .format-card img { flex: 1; min-height: 0; height: auto; aspect-ratio: auto; }
  .format-card__play { top: 38%; width: 52px; height: 52px; }
  .format-card__play svg { width: 24px; height: 24px; }
  /* Légende sous l'image (plus en superposition) */
  .format-card figcaption {
    position: static;
    padding: 12px 12px 14px;
    background: var(--color-main-dark);
  }
  .format-card__name { font-size: 17px; margin-bottom: 4px; }
  .format-card__desc { font-size: 12px; line-height: 1.45; }
}

/* Modal vidéo YouTube */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 8, 18, 0.82); }
.video-modal__box { position: relative; width: min(1080px, 100%); }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video-modal__frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-modal__close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: #fff; padding: 8px;
}

/* Home — preuves "Ce qu'on construit, en vrai" */
.proof-card { background-color: var(--color-beige); border-color: transparent; }
/* Badge de l'offre suivie (Personal branding / Accélérer son entreprise) */
.proof-card__offer {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  margin-bottom: 16px; text-decoration: none;
}
.proof-card__offer--network { color: var(--color-violet); background: rgba(125, 59, 228, 0.10); }
.proof-card__offer--partners { color: #fff; background: var(--color-main-dark); }
.proof-card__offer:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof-card__id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.proof-card__av {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden;
  font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.proof-card__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-card__av--logo { background: #fff; border: 0.5px solid var(--color-border-standard); }
.proof-card__av--logo img { object-fit: contain; padding: 7px; }
.proof-card__av--square { border-radius: 10px; }
.proof-card__name { font-family: var(--font-display); font-size: 15px; margin: 0; color: var(--color-text-primary); }
.proof-card__sub { font-size: 12px; color: var(--color-text-tertiary); margin: 2px 0 0; }
.proof-card__stat { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--color-violet); line-height: 1.1; margin: 0 0 10px; }
.proof-card__text { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); margin: 0; }
.proof-card__quote { font-size: 14px; line-height: 1.65; color: var(--color-text-primary); margin: 0; }
.proof-card__tag { margin: 16px 0 0; font-size: 11px; letter-spacing: 0.04em; color: var(--color-violet); font-weight: 500; }

/* Logo carré dégradé (étude de cas Partners) */
.case-logo {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 8px; flex: none; overflow: hidden;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: 0.02em;
}
.case-logo--img { background: #fff; border: 0.5px solid var(--color-border-standard); }
.case-logo--img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

/* Home — 3 leviers "Trois leviers, sous le même toit" */
.lever-card__num { font-family: var(--font-display); font-size: 14px; color: var(--color-violet); font-weight: 500; margin: 0 0 14px; }
.lever-card__title { font-size: 20px; line-height: 1.25; margin: 0 0 12px; }
.lever-card__text { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); margin: 0; }

/* Home — bande presse "Ils parlent de nous" */
.press-band { text-align: center; }
.press-band__label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-tertiary); margin: 0 0 24px;
}
.press-band__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 48px; color: var(--color-text-secondary);
}
.press-band__logos img {
  height: 6em; width: auto; max-width: 220px; object-fit: contain;
}
/* Variante sobre : noms des médias en texte gris, même typo pour tous */
.press-band__names {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 18px 44px;
}
.press-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  color: var(--color-text-secondary); text-decoration: none; white-space: nowrap;
}
a.press-name:hover { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 4px; }

/* Profile/Lever cards used in /partners */
.profile-card__title { font-size: 18px; line-height: 1.3; font-family: var(--font-display); font-weight: 500; color: var(--color-text-primary); }
.profile-card__body { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--color-text-secondary); }

/* Portfolio cards */
.portfolio-card { padding: 24px; }
.portfolio-card__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 75%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}
.portfolio-card__name { font-size: 18px; line-height: 1.3; font-family: var(--font-display); font-weight: 500; color: var(--color-text-primary); }
.portfolio-card__sector { margin-top: 8px; font-size: 12px; color: var(--color-text-tertiary); }

/* Section header alignment helpers */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.italic { font-style: italic; }
.footnote {
  margin-top: 40px;
  font-style: italic;
  font-size: 12px;
  color: var(--color-text-tertiary);
}

/* Mobile snap-row carousel for talents on home */
.snap-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: -24px;
  padding-inline: 24px;
  padding-bottom: 8px;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; flex-shrink: 0; width: 260px; }

.hide-mobile { display: none; }
.show-mobile { display: flex; }
@media (min-width: 768px) {
  .hide-mobile { display: grid; }
  .show-mobile { display: none; }
}

/* ─────────────────────────────────────────────────────────
 * Reveal-on-scroll
 * ───────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────────────────────
 * Contact drawer
 * ───────────────────────────────────────────────────────── */

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background-color: rgba(3, 0, 18, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 50;
  height: 100%;
  width: 100%;
  max-width: 520px;
  background-color: var(--color-main-light);
  border-left: 0.5px solid var(--color-border-standard);
  box-shadow: -8px 0 32px rgba(3, 0, 18, 0.12);
  transform: translateX(100%);
  transition: transform 300ms ease-out;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }

.drawer__inner { padding: 32px 28px; }
@media (min-width: 640px) { .drawer__inner { padding: 40px; } }

.drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.drawer__title { font-size: 26px; line-height: 1.2; margin-top: 8px; }
.drawer__sub {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
}
.drawer__close {
  background: transparent;
  border: none;
  padding: 8px;
  margin-top: -4px;
  margin-left: 16px;
  font-size: 22px;
  line-height: 1;
  color: var(--color-main-dark);
  transition: background-color 150ms ease-out;
}
.drawer__close:hover { background-color: var(--color-border-subtle); }

.cube-form { display: flex; flex-direction: column; gap: 24px; }
.cube-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-tertiary);
  margin-bottom: 8px;
}
.cube-input, .cube-textarea, .cube-select {
  width: 100%;
  background-color: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  border-radius: 0;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-primary);
  transition: border-color 150ms ease-out;
}
.cube-input:focus, .cube-textarea:focus, .cube-select:focus {
  outline: none;
  border-color: var(--color-violet);
}
.cube-textarea { resize: vertical; min-height: 120px; }

fieldset { border: none; padding: 0; margin: 0; }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text-primary);
  padding-block: 4px;
}
.radio-option input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--color-violet);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  color: #B91C1C;
  font-size: 14px;
  line-height: 1.5;
}
.form-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
}
.form-disclaimer a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-text-tertiary);
}

.drawer__success {
  padding-block: 40px;
}
.drawer__success-title { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.drawer__success-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 380px;
}

/* ─────────────────────────────────────────────────────────
 * Body scroll lock
 * ───────────────────────────────────────────────────────── */

body.no-scroll { overflow: hidden; }

/* ─────────────────────────────────────────────────────────
 * 404 + Legal pages
 * ───────────────────────────────────────────────────────── */

.legal {
  padding-block: 96px;
  max-width: 760px;
}
.legal h1 {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.legal__updated {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-tertiary);
}
.legal__content { margin-top: 40px; font-size: 15px; line-height: 1.75; color: var(--color-text-secondary); }
.legal__content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text-primary);
}
.legal__content p + p { margin-top: 16px; }
.legal__content ul {
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}
.legal__content ul li + li { margin-top: 8px; }
.legal__content a { color: var(--color-violet); text-decoration: underline; text-underline-offset: 2px; }

.notfound {
  text-align: center;
  padding-block: 140px;
  max-width: 600px;
  margin-inline: auto;
}
.notfound__title {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.notfound__sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.notfound__action { margin-top: 40px; }

/* ─── Étude de cas Nadir ───────────────────────────────────── */
.case-card {
  background: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  padding: 48px;
}
@media (max-width: 767px) { .case-card { padding: 28px; } }
.case-card__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 0.5px solid var(--color-border-subtle);
}
@media (min-width: 900px) {
  .case-card__head { grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
}
.case-card__id { display: flex; align-items: center; gap: 16px; }
.case-card__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}
.case-stat__label { font-size: 12px; line-height: 1.4; color: var(--color-text-tertiary); margin: 0; }
.case-card__usages { padding-top: 36px; }
.usages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px)  { .usages-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .usages-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) { .usages-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.usage { border-top: 2px solid var(--color-violet); padding-top: 18px; }
.usage--highlight { background: #F8F5FF; padding: 18px 14px; }
.usage__num { font-family: var(--font-display); font-size: 13px; color: var(--color-text-tertiary); margin: 0 0 10px; }
.usage--highlight .usage__num { color: var(--color-violet); font-weight: 500; }
.usage__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin: 0 0 8px;
}
.usage__body { font-size: 12px; line-height: 1.55; color: var(--color-text-secondary); margin: 0; }

/* ─── Étude de cas : cards résultats ───────────────────────── */
.case-more__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin: 0;
}
.result-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.result-card__img {
  display: block;
  width: 100%;
  height: 20em;
  object-fit: cover;
  object-position: top center;
}
.result-card__body { padding: 24px 24px 28px; }
.result-card__title { font-family: var(--font-display); font-size: 18px; line-height: 1.25; margin: 0; }
.result-card__sub { margin: 6px 0 0; font-size: 13px; color: var(--color-text-tertiary); }
.result-card__text { margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* ─── FAQ (accordéon) ──────────────────────────────────────── */
.faq {
  max-width: 760px;
  border-top: 0.5px solid var(--color-border-standard);
}
.faq-item { border-bottom: 0.5px solid var(--color-border-standard); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-text-primary);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-violet);
  transform: translate(-50%, -50%);
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}
.faq-item__icon::before { width: 16px; height: 2px; }
.faq-item__icon::after  { width: 2px; height: 16px; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-item__a {
  margin: 0;
  padding: 0 4px 24px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ─── Frise « Comment on opère » (Partners) ────────────────── */
.pipeline { position: relative; }
.pipeline__track {
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-violet) 0%, var(--color-violet-light) 100%);
  z-index: 0;
}
.pipeline__row {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 1;
  padding-inline: 0;
}
.pipeline__row > * { flex: 1; min-width: 0; }
.pipe-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pipe-step__dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-violet);
  color: var(--color-main-light);
  font-family: var(--font-display);
  font-weight: 500; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 2px solid var(--color-main-light);
  flex-shrink: 0;
}
.pipe-step__dot--light { background: var(--color-violet-light); }
.pipe-step__card {
  background: var(--color-main-light);
  border: 0.5px solid var(--color-border-standard);
  padding: 24px;
  width: 100%;
  flex: 1;
}
.pipe-step__time {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-violet); font-weight: 500; margin: 0 0 10px;
}
.pipe-step__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; line-height: 1.3; color: var(--color-text-primary); margin: 0 0 12px;
}
.pipe-step__body { font-size: 11px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }

/* sur fond beige, la bordure du dot reprend le beige pour le détourage */
.section--beige .pipe-step__dot { border-color: var(--color-beige); }

@media (max-width: 767px) {
  .pipeline__track { display: none; }
  .pipeline__row { flex-direction: column; gap: 20px; }
  .pipe-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .pipe-step__dot { margin-bottom: 0; width: 44px; height: 44px; font-size: 16px; }
}

/* ─── Page société (portfolio) ─────────────────────────────── */
.profile-hero__photo--logo {
  display: grid;
  place-items: center;
  padding: 48px;
  background: var(--color-main-light);
  aspect-ratio: 1 / 1;
}
.profile-hero__photo--logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 150px;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0.5px solid var(--color-border-standard);
  background: var(--color-main-dark);
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
