/* =================================================================
   KAUVA — Design System
   Stratégie digitale • Acquisition • SaaS
   Swiss minimalism / editorial. Inter Tight + Inter. B/W + red.
   ================================================================= */

/* -----------------------------------------------------------------
   1. DESIGN TOKENS
   ----------------------------------------------------------------- */
:root {
  /* Brand colours */
  --bg:            #FAFAFA;   /* fond principal      */
  --surface:       #FFFFFF;   /* cartes              */
  --bg-soft:       #F1F1F1;   /* fond gris léger     */
  --text:          #0A0A0A;   /* texte principal     */
  --text-2:        #5F5F5F;   /* texte secondaire    */
  --border:        #DADADA;   /* bordures / lignes   */
  --border-soft:   #EAEAEA;
  --accent:        #E10600;   /* accent rouge        */
  --accent-700:    #B50500;
  --black:         #0A0A0A;
  --white:         #FFFFFF;
  --on-dark-2:     #A8A8A8;   /* texte secondaire sur fond noir */
  --dark-border:   #262626;

  /* Typography */
  --font-head: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.85rem, 1.4rem + 6.4vw, 6rem);
  --fs-h1:      clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  --fs-h2:      clamp(1.85rem, 1.3rem + 2.4vw, 2.85rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem);
  --fs-h4:      1.125rem;
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing (8pt) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Radius */
  --r-xs: 6px; --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10,10,10,.04);
  --shadow-sm: 0 2px 8px rgba(10,10,10,.05);
  --shadow:    0 10px 30px -12px rgba(10,10,10,.12);
  --shadow-lg: 0 30px 60px -20px rgba(10,10,10,.18);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --header-h: 76px;

  /* Motion */
  --dur: .25s;
  --dur-lg: .45s;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* -----------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #fff; }

/* -----------------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }

p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

.dot { color: var(--accent); }

/* -----------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark-2); }

.divider { height: 1px; background: var(--border); border: 0; }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section--dark .eyebrow { color: var(--on-dark-2); }

.section-head p { font-size: var(--fs-lead); margin-top: 1.1rem; }

/* -----------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  padding: .85rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur);
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #242424; box-shadow: var(--shadow); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-700); box-shadow: 0 12px 28px -12px rgba(225,6,0,.6); }

.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: #fff; }

.btn-ghost { color: var(--text); padding-inline: .4rem; min-height: auto; }
.btn-ghost:hover { color: var(--accent); }

.section--dark .btn-outline { background: transparent; color: #fff; border-color: var(--dark-border); }
.section--dark .btn-outline:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; min-height: 54px; }
.btn-block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text);
  position: relative;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }

/* -----------------------------------------------------------------
   6. HEADER / NAV
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250,250,250,.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}
.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--text-2);
  position: relative;
  padding: .35rem 0;
  transition: color var(--dur);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 99;
  box-shadow: var(--shadow);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}
.mobile-menu .btn {
  display: flex;
  width: 100%;
  margin-top: 1.5rem;
  padding: .9rem 1.5rem;
  border-bottom: 0;
  color: #fff;
  font-size: var(--fs-sm);
}
.mobile-menu .btn-outline { color: var(--text); }

/* -----------------------------------------------------------------
   7. HERO
   ----------------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .98;
  margin-bottom: 1.6rem;
}
.hero-title > span { display: block; }
.hero-title .dot { display: inline; }
.hero-lead {
  font-size: var(--fs-lead);
  max-width: 30ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; filter: grayscale(1) contrast(1.05); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.12));
}
.hero-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .k-mark { width: 34px; height: 34px; border-radius: 9px; }
.hero-badge b { font-family: var(--font-head); font-size: .95rem; letter-spacing: -.01em; }
.hero-badge span { display: block; font-size: var(--fs-xs); color: var(--text-2); }

/* -----------------------------------------------------------------
   8. STATS BAR
   ----------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}
.stat { padding: clamp(1.4rem, 2.5vw, 2rem); border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat-num .dot { color: var(--accent); }
.stat-label { font-size: var(--fs-sm); margin-top: .7rem; line-height: 1.45; }
.stat-sub { font-size: var(--fs-xs); color: var(--text-2); opacity: .8; margin-top: .25rem; }

/* -----------------------------------------------------------------
   9. SERVICE / FEATURE CARDS
   ----------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
  height: 100%;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--text); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--text);
  margin-bottom: 1.4rem;
  transition: background var(--dur), color var(--dur);
}
.card-icon svg { width: 24px; height: 24px; }
.card--hover:hover .card-icon { background: var(--accent); color: #fff; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: var(--fs-sm); }

.card-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}

/* Service card (image free, line-led) */
.service {
  border-top: 2px solid var(--text);
  padding-top: 1.4rem;
}
.service .card-icon { margin-bottom: 1.1rem; }

/* Feature list */
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.feature-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.feature-list .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 1px;
}
.feature-list .check svg { width: 12px; height: 12px; }
.feature-list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: .1rem; }

/* -----------------------------------------------------------------
   10. SPLIT / MEDIA SECTIONS
   ----------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.split-media img { width: 100%; height: 100%; filter: grayscale(1) contrast(1.04); }

/* -----------------------------------------------------------------
   11. PROCESS STEPS
   ----------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  letter-spacing: -0.04em;
  color: var(--text);
}
.step-num .dot { color: var(--accent); }
.step-body { max-width: 56ch; }
.step-body h3 { margin-bottom: .6rem; }
.step-body p { font-size: var(--fs-sm); }
.step:hover .step-num { color: var(--accent); transition: color var(--dur); }

/* -----------------------------------------------------------------
   12. TESTIMONIALS
   ----------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote-mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: .75rem; }
.quote-card blockquote { font-size: 1.05rem; color: var(--text); line-height: 1.55; letter-spacing: -.01em; }
.quote-foot {
  display: flex; align-items: center; gap: .85rem;
  margin-top: auto; padding-top: 1.6rem;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--text);
  flex: none;
  border: 1px solid var(--border);
}
.quote-foot b { display: block; font-family: var(--font-head); font-size: var(--fs-sm); }
.quote-foot span { font-size: var(--fs-xs); color: var(--text-2); }
.stars { color: var(--accent); display: inline-flex; gap: 2px; margin-bottom: 1rem; }
.stars svg { width: 16px; height: 16px; }

/* -----------------------------------------------------------------
   13. LOGOS / CLIENTS ROW
   ----------------------------------------------------------------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.logos span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: var(--text);
  opacity: .42;
  transition: opacity var(--dur);
}
.logos span:hover { opacity: 1; }

/* -----------------------------------------------------------------
   14. CTA BAND
   ----------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { max-width: 18ch; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* -----------------------------------------------------------------
   15. FOOTER
   ----------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--white); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand .brand { color: #fff; font-size: 1.7rem; }
.footer-brand p { color: var(--on-dark-2); font-size: var(--fs-sm); margin-top: 1rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #d8d8d8; font-size: var(--fs-sm); transition: color var(--dur); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}
.footer-bottom p { color: var(--on-dark-2); font-size: var(--fs-xs); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: var(--on-dark-2); font-size: var(--fs-xs); transition: color var(--dur); }
.footer-legal a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: grid; place-items: center;
  color: #d8d8d8;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.socials a:hover { background: #fff; color: var(--black); border-color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* -----------------------------------------------------------------
   16. PAGE HERO (inner pages)
   ----------------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb {
  font-size: var(--fs-xs);
  color: var(--text-2);
  margin-bottom: 1.5rem;
  display: flex; gap: .5rem; align-items: center;
  font-family: var(--font-head);
}
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 16ch; margin-bottom: 1.3rem; }
.page-hero p { font-size: var(--fs-lead); max-width: 60ch; }

/* -----------------------------------------------------------------
   17. FORMS
   ----------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--text);
}
.field label .req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color var(--dur), box-shadow var(--dur);
  min-height: 50px;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a3; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(10,10,10,.06);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--accent);
}
.field .help { font-size: var(--fs-xs); color: var(--text-2); }
.field .error { font-size: var(--fs-xs); color: var(--accent); display: none; }
.field.has-error .error { display: block; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--accent); }

.field-check {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.field-check input {
  width: 20px; height: 20px;
  min-height: auto;
  accent-color: var(--accent);
  margin-top: 2px;
  flex: none;
}
.field-check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  display: none;
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  font-size: var(--fs-sm);
  align-items: center;
  gap: .65rem;
}
.form-status.is-visible { display: flex; }
.form-status.success { background: #ecfdf3; color: #18794e; border: 1px solid #abefc6; }
.form-status.error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-status svg { width: 20px; height: 20px; flex: none; }

/* Contact info panel */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}
.contact-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--border-soft); }
.contact-item:first-of-type { border-top: 0; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--text);
  display: grid; place-items: center; flex: none;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item b { font-family: var(--font-head); font-size: var(--fs-sm); display: block; margin-bottom: .15rem; }
.contact-item a, .contact-item span { font-size: var(--fs-sm); color: var(--text-2); }
.contact-item a:hover { color: var(--accent); }

/* -----------------------------------------------------------------
   18. FAQ ACCORDION
   ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: var(--text);
}
.faq-icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-lg) var(--ease);
}
.faq-a-inner { padding-bottom: 1.5rem; max-width: 70ch; }
.faq-a-inner p { font-size: var(--fs-sm); }

/* -----------------------------------------------------------------
   19. ARTICLES / RESOURCES
   ----------------------------------------------------------------- */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--text); }
.article-thumb { aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; filter: grayscale(1) contrast(1.03); transition: transform var(--dur-lg) var(--ease); }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; gap: .75rem; align-items: center; font-size: var(--fs-xs); color: var(--text-2); margin-bottom: .9rem; font-family: var(--font-head); }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.article-body p { font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.article-body .link-arrow { margin-top: auto; }

/* Featured article */
.article-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-feature .article-thumb { aspect-ratio: auto; height: 100%; min-height: 320px; }
.article-feature .article-body { padding: clamp(1.75rem, 3vw, 3rem); justify-content: center; }
.article-feature h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); margin-bottom: 1rem; }

/* -----------------------------------------------------------------
   20. PROSE (legal pages)
   ----------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.45rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p, .prose li { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.75; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; display: grid; gap: .5rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose .meta-note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
  font-size: var(--fs-sm);
  margin-bottom: 2rem;
}
.prose .meta-note p { margin: 0; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc h4 {
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.legal-toc ul { display: grid; gap: .15rem; }
.legal-toc a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-2);
  padding: .4rem .75rem;
  border-radius: var(--r-xs);
  border-left: 2px solid transparent;
  transition: color var(--dur), background var(--dur), border-color var(--dur);
}
.legal-toc a:hover, .legal-toc a.is-active { color: var(--text); background: var(--bg-soft); border-left-color: var(--accent); }

/* -----------------------------------------------------------------
   21. GRAPHIC ELEMENTS (dot grid, bars)
   ----------------------------------------------------------------- */
.dot-grid {
  width: 100%; height: 100%;
  background-image: radial-gradient(var(--border) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
}
.deco-dots {
  position: absolute;
  width: 160px; height: 160px;
  background-image: radial-gradient(var(--border) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
}
.k-mark {
  background: var(--black);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  border-radius: 9px;
}

/* mini bar chart */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars i { width: 14px; background: var(--text); border-radius: 3px 3px 0 0; display: block; }
.bars i.accent { background: var(--accent); }
.bars i.soft { background: var(--border); }

/* -----------------------------------------------------------------
   22. SCROLL REVEAL
   ----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-2); }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--black); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
}
.skip-link:focus { left: 0; }

/* -----------------------------------------------------------------
   23. RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16/10; max-height: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .article-feature { grid-template-columns: 1fr; }
  .article-feature .article-thumb { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: .5rem; }
  .step-num { font-size: 1.6rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* -----------------------------------------------------------------
   24. WYL — PRODUCT PAGE
   ----------------------------------------------------------------- */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, "Cascadia Code", Consolas, monospace; }

/* App window mockup */
.app-mock {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-mock__bar { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.app-mock__dots { display: flex; gap: 6px; }
.app-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; }
.app-mock__dots i:first-child { background: var(--accent); }
.app-mock__title { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); color: var(--text-2); letter-spacing: -.01em; }
.app-mock__body { display: grid; grid-template-columns: 152px 1fr; }
.app-mock__nav { border-right: 1px solid var(--border); padding: .9rem .55rem; display: grid; gap: .12rem; align-content: start; background: var(--bg); }
.app-mock__nav .brandk { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em; padding: .2rem .6rem .7rem; }
.app-mock__nav span { display: flex; align-items: center; gap: .55rem; padding: .48rem .6rem; border-radius: 8px; font-size: .8rem; color: var(--text-2); }
.app-mock__nav span svg { width: 15px; height: 15px; flex: none; }
.app-mock__nav span.active { background: var(--surface); color: var(--text); font-weight: 600; border: 1px solid var(--border); }
.app-mock__main { padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; min-height: 360px; }

.chat-row { display: flex; }
.chat-row.me { justify-content: flex-end; }
.chat-bubble { max-width: 86%; padding: .7rem .95rem; border-radius: 14px; font-size: .84rem; line-height: 1.5; }
.chat-bubble.me { background: var(--text); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.bot { background: var(--bg-soft); color: var(--text); border-bottom-left-radius: 4px; border: 1px solid var(--border); }
.tool-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.tool-chip { display: inline-flex; align-items: center; gap: .35rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; padding: .2rem .5rem; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.tool-chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.term { background: #0A0A0A; border-radius: 10px; padding: .85rem 1rem; margin-top: auto; }
.term pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; line-height: 1.75; color: #e6e6e6; white-space: pre-wrap; margin: 0; }
.term .pr { color: var(--accent); }
.term .cm { color: #8a8a8a; }
.term .ok { color: #4ade80; }

/* Connectors grid */
.connectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: .75rem; }
.connector { display: flex; align-items: center; gap: .65rem; border: 1px solid var(--border); border-radius: var(--r-sm); padding: .75rem .9rem; background: var(--surface); transition: border-color var(--dur), transform var(--dur) var(--ease); }
.connector:hover { border-color: var(--text); transform: translateY(-2px); }
.connector .mb { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--text); flex: none; }
.connector b { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: -.01em; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card { border: 1px solid var(--border); border-radius: var(--r); padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--surface); display: flex; flex-direction: column; height: 100%; }
.price-card.featured { border-color: var(--text); box-shadow: var(--shadow); }
.price-name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.price { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.5rem); letter-spacing: -.03em; margin: 1.1rem 0 .2rem; line-height: 1; }
.price small { font-size: .85rem; color: var(--text-2); font-weight: 500; letter-spacing: 0; }
.price-sub { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 1rem; min-height: 2.6em; }
.price-card .feature-list { margin-top: 1.25rem; margin-bottom: 1.75rem; }
.price-card .btn { margin-top: auto; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.bento .card { height: 100%; }
.span-2 { grid-column: span 2; }

@media (max-width: 860px) {
  .app-mock__body { grid-template-columns: 1fr; }
  .app-mock__nav { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
}

/* Prevent wide content (mockups, <pre>) from expanding grid/flex tracks past the viewport */
.hero-grid > *,
.split > * { min-width: 0; }
.app-mock,
.app-mock__main { min-width: 0; max-width: 100%; }
.term { overflow-x: auto; }
.chat-bubble { overflow-wrap: anywhere; }

/* Wyl — simplified "magic" mockup + use cases */
.result { display: flex; gap: .6rem; align-items: center; margin-top: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .6rem .75rem; }
.result-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.result-ic svg { width: 15px; height: 15px; }
.result b { font-family: var(--font-head); font-size: .82rem; display: block; line-height: 1.2; color: var(--text); }
.result span { font-size: .72rem; color: var(--text-2); }
.mock-input { margin-top: auto; border: 1px solid var(--border); border-radius: 12px; padding: .55rem .55rem .55rem .85rem; font-size: .8rem; color: #9a9a9a; display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--surface); }
.mock-send { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.mock-send svg { width: 15px; height: 15px; }
.usecase-list { display: grid; gap: .55rem; margin-top: 1.15rem; }
.usecase-list li { border-left: 2px solid var(--border); padding-left: .75rem; font-size: var(--fs-sm); color: var(--text-2); font-style: italic; transition: border-color var(--dur), color var(--dur); }
.card--hover:hover .usecase-list li { border-left-color: var(--accent); }
.trust-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.25rem; }

/* Wyl — flow diagram (demande -> Wyl -> résultat) */
.flow { display: flex; align-items: stretch; }
.flow-node { flex: 1 1 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(1.25rem, 2.2vw, 1.85rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow-node .flow-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--bg-soft); color: var(--text); display: grid; place-items: center; margin-bottom: 1rem; }
.flow-node .flow-ic svg { width: 24px; height: 24px; }
.flow-node.is-wyl { border-color: var(--text); box-shadow: var(--shadow-sm); }
.flow-node.is-wyl .flow-ic { background: var(--accent); color: #fff; }
.flow-node h3 { font-size: 1.05rem; margin-bottom: .45rem; letter-spacing: -.01em; }
.flow-node p { font-size: var(--fs-sm); }
.flow-node .flow-chips { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; margin-top: .9rem; }
.flow-node .flow-chips .tool-chip { font-style: normal; }
.flow-sep { flex: 0 0 54px; display: grid; place-items: center; color: var(--accent); }
.flow-sep svg { width: 26px; height: 26px; }
.flow-step { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: .6rem; }
@media (max-width: 760px) { .flow { flex-direction: column; } .flow-sep { flex-basis: auto; padding: .55rem 0; } .flow-sep svg { transform: rotate(90deg); } }

/* Wyl — Avant / Après */
.ba-block { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.ba-block + .ba-block { margin-top: 1.5rem; }
.ba-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem clamp(1.25rem, 2.5vw, 1.75rem); border-bottom: 1px solid var(--border); background: var(--bg); }
.ba-head h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.ba-head .who { font-family: var(--font-head); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
.ba { display: grid; grid-template-columns: 1fr 1fr; }
.ba-side { padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.ba-side.before { background: var(--bg-soft); }
.ba-side.after { border-left: 1px solid var(--border); }
.ba-toprow { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.ba-label { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ba-label.is-before { color: var(--text-2); }
.ba-label.is-after { color: var(--accent); }
.time-pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; padding: .28rem .65rem; border-radius: var(--r-pill); border: 1px solid var(--border); white-space: nowrap; color: var(--text-2); }
.time-pill svg { width: 13px; height: 13px; }
.time-pill.fast { color: var(--accent); border-color: var(--accent); }
.ba-steps { display: grid; gap: .55rem; }
.ba-steps li { font-size: var(--fs-sm); color: var(--text-2); display: flex; gap: .55rem; line-height: 1.45; }
.ba-steps li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--border); margin-top: .5rem; }
.ba-req { background: var(--text); color: #fff; border-radius: 12px; padding: .8rem 1rem; font-size: var(--fs-sm); line-height: 1.5; }
.ba-out { margin-top: .85rem; display: flex; gap: .55rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.ba-out .oc { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.ba-out .oc svg { width: 12px; height: 12px; }
@media (max-width: 680px) { .ba { grid-template-columns: 1fr; } .ba-side.after { border-left: 0; border-top: 1px solid var(--border); } .ba-head { flex-direction: column; align-items: flex-start; gap: .3rem; } }

/* Références — fiche client (par entreprise) */
.case-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 3.5vw, 3.25rem); align-items: center; }
.case-card + .case-card { margin-top: 1.5rem; }
.case-mark { width: 56px; height: 56px; border-radius: 14px; background: var(--black); color: #fff; display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 1.3rem; }
.case-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem); margin-bottom: .7rem; }
.case-quote { border-left: 2px solid var(--border); padding-left: clamp(1.5rem, 3vw, 2.75rem); }
.case-quote blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.45; letter-spacing: -.015em; color: var(--text); }
.case-quote blockquote .qm { color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .case-card { grid-template-columns: 1fr; } .case-quote { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1.5rem; } }

/* Ressources — article (single) */
.article-cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 2.2/1; background: var(--bg-soft); margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); display: block; }
.article-byline { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-family: var(--font-head); font-size: var(--fs-xs); color: var(--text-2); }
.article-byline .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; }
.article-byline b { color: var(--text); font-weight: 600; }
.article-byline .sep { color: var(--border); }
.prose .takeaways { background: var(--black); border-radius: var(--r); padding: clamp(1.4rem,3vw,1.9rem) clamp(1.5rem,3.5vw,2.1rem); margin: 0 0 2.5rem; }
.prose .takeaways .tk-label { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .85rem; }
.prose .takeaways ul { margin: 0 0 0 1.25rem; }
.prose .takeaways li { color: rgba(255,255,255,.84); }
.prose .takeaways li::marker { color: var(--accent); }
.prose .takeaways strong { color: #fff; }
.article-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; background: var(--black); border-radius: var(--r-lg); padding: clamp(1.6rem,4vw,2.4rem); margin: 2.75rem 0; }
.article-cta::before { content: ""; position: absolute; inset: -40% -12% auto auto; width: 55%; height: 180%; background: radial-gradient(circle at 70% 40%, rgba(225,6,0,.55), transparent 60%); opacity: .55; pointer-events: none; }
.article-cta > * { position: relative; z-index: 1; }
.article-cta .article-cta-copy { flex: 1 1 300px; }
.article-cta strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: #fff; margin-bottom: .4rem; }
.article-cta p { margin: 0; font-size: var(--fs-sm); color: var(--on-dark-2); }
.article-cta .btn { flex: none; background: var(--accent); color: #fff; border-color: var(--accent); }
.article-cta .btn:hover { background: #fff; color: var(--black); border-color: #fff; }
.related-head { font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1.5rem; }
