:root {
  --color-primary: #891019;
  --color-primary-light: #b71c2a;
  --color-primary-dark: #5f0b12;

  --color-dark: #130f13;
  --color-dark-soft: #211820;
  --color-dark-card: #2b1d27;

  --color-light: #f8f5f3;
  --color-light-alt: #efe8e6;
  --color-white: #ffffff;

  --color-text: #211d22;
  --color-muted: #665f69;
  --color-muted-light: rgba(255, 255, 255, 0.76);

  --border-dark: rgba(33, 29, 34, 0.16);
  --border-light: rgba(255, 255, 255, 0.16);

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.16);
  --shadow-card:
    0 24px 70px rgba(33, 29, 34, 0.14),
    0 6px 18px rgba(33, 29, 34, 0.07);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  --container: 1180px;
  --header-height: 76px;

  --font-body: "KNS Gotham", Arial, Helvetica, sans-serif;
  --font-heading: "KNS Gotham", Arial, Helvetica, sans-serif;
  --font-rounded: "KNS Gotham Rounded", "Arial Rounded MT Bold", Arial, Helvetica, sans-serif;
  --font-serif: "KNS Minion", Georgia, serif;
}

/* Fonts KNS
   ========================================================================== */

@font-face {
  font-family: "KNS Gotham";
  src: url("../assets/fonts/GothamBook.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham";
  src: url("../assets/fonts/GothamBook-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham";
  src: url("../assets/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham";
  src: url("../assets/fonts/Gotham-XLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham Narrow";
  src: url("../assets/fonts/GothamNarrow-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham Rounded";
  src: url("../assets/fonts/GothamRnd-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Gotham Rounded";
  src: url("../assets/fonts/GothamRnd-Bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KNS Minion";
  src: url("../assets/fonts/MinionPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

p {
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 5.1vw, 5.15rem);
  line-height: 0.98;
}

h2 {
  max-width: 850px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.12;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px min(5vw, 64px);
  background: var(--color-light);
  color: var(--color-text);
  border-bottom: 1px solid rgba(33, 29, 34, 0.06);
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header.is-hidden-at-footer {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.brand,
.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand {
  gap: 11px;
  font-weight: 900;
}

.brand-logo img,
.footer-logo img {
  width: auto;
  height: 46px;
  max-width: 180px;
  object-fit: contain;
}

.brand-fallback {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--color-primary);
  color: var(--color-white);
  letter-spacing: -0.08em;
}

.brand-text {
  font-size: 1.2rem;
  letter-spacing: -0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav a {
  color: rgba(33, 29, 34, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.main-nav .nav-cta,
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(137, 16, 25, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--color-primary);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Composants réutilisables
   ========================================================================== */

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffd6db;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section-kicker {
  color: var(--color-primary);
  background: rgba(137, 16, 25, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 18px 40px rgba(137, 16, 25, 0.24);
}

.button-secondary {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.button-light {
  color: var(--color-primary);
  background: var(--color-white);
}

.button-spaced {
  margin-top: 30px;
}

.section {
  padding: 108px 0;
}

.section-light {
  background: var(--color-light);
}

.section-dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 10% 10%, rgba(137, 16, 25, 0.28), transparent 30%),
    linear-gradient(145deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
}

.section-method {
  color: var(--color-white);
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(135deg, #170e13 0%, #891019 100%);
}

.section-red {
  color: var(--color-white);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.align-left p:not(.section-kicker) {
  margin-left: 0;
}

.section-dark .section-kicker,
.section-method .section-kicker,
.section-red .section-kicker,
.final-cta-inner .section-kicker {
  color: #ffd6db;
  background: rgba(255, 255, 255, 0.1);
}

.section-dark .section-heading p:not(.section-kicker),
.section-method .section-heading p:not(.section-kicker),
.section-red p {
  color: rgba(255, 255, 255, 0.76);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

/* Hero accueil
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 28, 42, 0.44), transparent 30%),
    radial-gradient(circle at 88% 28%, rgba(137, 16, 25, 0.48), transparent 34%),
    radial-gradient(circle at 62% 92%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #130f13 0%, #22131d 48%, #0e0c0f 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 40% 30%, black, transparent 72%);
}

.hero-inner,
.hero-inner-v2 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: center;
  padding: 92px 0 120px;
}

.hero-text {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--color-muted-light);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero .button-primary {
  color: var(--color-primary);
  background: var(--color-white);
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%);
  opacity: 0.65;
}

.hero-panel-header,
.hero-pill-grid,
.hero-proof-list {
  position: relative;
  z-index: 1;
}

.hero-panel-header {
  margin-bottom: 24px;
}

.hero-panel-header p {
  margin: 0 0 6px;
  color: #ffd6db;
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-panel-header strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-pill-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.hero-proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof-list div {
  padding: 18px 14px;
  background: rgba(19, 15, 19, 0.36);
}

.hero-proof-list strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.055em;
}

.hero-proof-list span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Chiffres clés
   ========================================================================== */

.proof-strip {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.proof-grid article {
  min-height: 128px;
  padding: 26px;
  background: var(--color-white);
}

.proof-grid strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.05em;
}

.proof-grid span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-weight: 650;
}

.proof-grid .proof-method {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.proof-grid .proof-method strong {
  max-width: 100%;
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  white-space: normal;
}

/* Besoins
   ========================================================================== */

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.need-card {
  min-height: 330px;
  padding: 34px 32px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.need-card h3 {
  max-width: 310px;
  color: var(--color-primary);
  font-size: 1.32rem;
  line-height: 1.18;
}

.need-card p {
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 1.01rem;
  line-height: 1.72;
}

/* Expertises
   ========================================================================== */

.expertise-list {
  display: grid;
  gap: 18px;
}

.expertise-item {
  padding: 28px 30px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.expertise-item h3 {
  color: var(--color-white);
}

.expertise-item p {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.01rem;
  line-height: 1.68;
}

/* Secteurs
   ========================================================================== */

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.market-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.market-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 45px;
  background: rgba(137, 16, 25, 0.07);
  transform: rotate(24deg);
}

.market-tag {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.market-card h3 {
  max-width: 270px;
  color: var(--color-primary);
  font-size: 1.28rem;
  line-height: 1.14;
}

.market-card p {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.68;
}

/* KTHODE
   ========================================================================== */

.method-badge {
  width: fit-content;
  margin: -24px auto 34px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffe4e8;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 850;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.method-card .method-lead {
  margin: 16px 0 0;
  color: #ffd6db;
  font-weight: 800;
}

.method-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.method-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.method-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffd6db;
}

/* KSOFT
   ========================================================================== */

.ksoft-section {
  align-items: center;
}

.ksoft-section .section-heading p:not(.section-kicker) {
  max-width: 620px;
}

.ksoft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mini-card {
  min-height: 185px;
  padding: 26px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(137, 16, 25, 0.12);
}

.mini-card h3 {
  color: var(--color-primary);
  font-size: 1.28rem;
}

.mini-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Marchés d’achat
   ========================================================================== */

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.callout-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.callout-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.callout-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffd6db;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 850;
}

.callout-card h3 {
  margin-top: 4px;
  font-size: 1.5rem;
}

.callout-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.68;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-pill img {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 22px;
  object-fit: contain;
}

.brand-pill-light {
  background: rgba(137, 16, 25, 0.08);
}

.brand-pill-light img {
  max-height: 24px;
}

/* Page contact
   ========================================================================== */

.contact-page {
  position: relative;
  overflow: hidden;
  padding: 78px 0 96px;
  color: var(--color-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 28, 42, 0.44), transparent 30%),
    radial-gradient(circle at 88% 28%, rgba(137, 16, 25, 0.48), transparent 34%),
    radial-gradient(circle at 62% 92%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #130f13 0%, #22131d 48%, #0e0c0f 100%);
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 42% 26%, black, transparent 72%);
}

.contact-page .container {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 44px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  color: var(--color-white);
}

.contact-intro .section-kicker {
  color: #ffd6db;
  background: rgba(255, 255, 255, 0.1);
}

.contact-intro h1 {
  max-width: 100%;
  font-size: clamp(2.45rem, 4vw, 4.6rem);
  line-height: 0.98;
}

.contact-intro p:not(.section-kicker) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-form {
  padding: 34px;
  color: var(--color-text);
  border: 1px solid rgba(33, 29, 34, 0.10);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-text);
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(33, 29, 34, 0.16);
  border-radius: 16px;
  background: var(--color-light);
  color: var(--color-text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input,
.form-field select {
  min-height: 52px;
  padding: 0 16px;
}

.form-field textarea {
  resize: vertical;
  min-height: 170px;
  padding: 16px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(137, 16, 25, 0.55);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(137, 16, 25, 0.10);
}

.form-consent {
  padding: 18px;
  border-radius: 18px;
  background: var(--color-light);
}

.form-consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-muted);
  line-height: 1.55;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.form-actions p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.form-alert {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  line-height: 1.5;
}

.form-alert[hidden] {
  display: none;
}

.form-alert strong {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  letter-spacing: -0.035em;
}

.form-alert span {
  color: inherit;
  opacity: 0.82;
}

.form-alert-success {
  color: #17442b;
  border: 1px solid rgba(23, 68, 43, 0.16);
  background: #eaf7ef;
}

.form-alert-error {
  color: #6c111a;
  border: 1px solid rgba(137, 16, 25, 0.18);
  background: #fff0f1;
}

.form-alert-warning {
  color: #68420c;
  border: 1px solid rgba(166, 111, 20, 0.22);
  background: #fff6e6;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.checkbox-field em {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-muted);
  font-style: italic;
}

.checkbox-field a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.checkbox-field a:hover {
  color: var(--color-primary-dark);
}

/* CTA final
   ========================================================================== */

.final-cta {
  padding: 118px 0;
  background: var(--color-light-alt);
}

.final-cta-inner {
  max-width: 920px;
  padding: 54px;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--color-dark), var(--color-primary));
  box-shadow: var(--shadow-soft);
}

.final-cta-inner .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.final-cta-inner h2 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-inner p:not(.section-kicker) {
  max-width: 690px;
  margin: 22px auto 30px;
  color: rgba(255, 255, 255, 0.78);
}

/* Footer
   ========================================================================== */

.site-footer {
  padding: 48px 0;
  color: var(--color-text);
  background: var(--color-light);
  border-top: 1px solid rgba(33, 29, 34, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.footer-logo {
  width: fit-content;
}

.footer-inner p {
  margin: 0;
  color: rgba(33, 29, 34, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 800;
}

.footer-links a {
  color: rgba(33, 29, 34, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  color: rgba(33, 29, 34, 0.78);
  border-top: 1px solid rgba(33, 29, 34, 0.06);
  font-size: 0.92rem;
}

/* Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-inner,
  .hero-inner-v2,
  .two-columns,
  .split-callout {
    grid-template-columns: 1fr;
  }

  .need-grid,
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-grid article:last-child {
    grid-column: span 3;
  }

  .sector-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .contact-intro {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .brand-logo img,
  .footer-logo img {
    height: 38px;
    max-width: 160px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: var(--color-light);
    box-shadow: 0 22px 70px rgba(33, 29, 34, 0.14);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
    border-radius: 14px;
    color: var(--color-text);
  }

  .main-nav .nav-cta {
    color: var(--color-white) !important;
    text-align: center;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .hero-inner,
  .hero-inner-v2 {
    padding: 64px 0 86px;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 4.2rem);
  }

  .hero-pill-grid,
  .hero-proof-list,
  .proof-grid,
  .need-grid,
  .market-grid,
  .method-grid,
  .ksoft-grid,
  .callout-cards {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-grid article:last-child {
    grid-column: auto;
  }

  .proof-grid .proof-method {
    text-align: left;
  }

  .need-card,
  .market-card,
  .method-card,
  .mini-card,
  .callout-card {
    min-height: auto;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading p:not(.section-kicker) {
    margin-left: 0;
  }

  .final-cta-inner {
    padding: 36px 22px;
    text-align: left;
  }

  .final-cta-inner .section-kicker,
  .final-cta-inner h2,
  .final-cta-inner p:not(.section-kicker) {
    margin-left: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .sector-proof {
    padding: 24px;
  }

  .sector-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-page {
    padding: 58px 0 76px;
  }

  .contact-form {
    padding: 24px;
  }

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

  .contact-intro h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Liens de cartes
   ========================================================================== */

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.card-link h3,
.card-link strong {
  transition: color 180ms ease;
}

.card-link:hover h3,
.card-link:hover strong {
  color: var(--color-primary);
}

.section-dark .card-link:hover h3,
.section-red .card-link:hover h3,
.section-red .card-link:hover strong {
  color: var(--color-white);
}

.card-link:hover {
  transform: translateY(-4px);
}

.market-card.card-link,
.mini-card.card-link,
.callout-card.card-link,
.proof-link {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.market-card.card-link:hover,
.mini-card.card-link:hover {
  box-shadow: 0 24px 80px rgba(137, 16, 25, 0.12);
  border-color: rgba(137, 16, 25, 0.18);
}

.callout-card.card-link:hover {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.proof-link {
  min-height: 128px;
  padding: 26px;
  background: var(--color-white);
}

.proof-link:hover {
  box-shadow: inset 0 -4px 0 rgba(137, 16, 25, 0.18);
}

/* Volumes secteurs
   ========================================================================== */

.sector-proof {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.sector-proof-heading {
  max-width: 780px;
  margin: 0 0 28px;
  text-align: left;
}

.sector-proof-heading h3 {
  max-width: 760px;
  color: var(--color-primary);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.sector-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(33, 29, 34, 0.10);
}

.sector-proof-grid article {
  padding: 26px;
  background: var(--color-light);
}

.sector-proof-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-weight: 850;
}

.sector-proof-grid strong {
  display: block;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.sector-proof-grid p {
  margin: 6px 0 18px;
  color: var(--color-muted);
  font-weight: 700;
  line-height: 1.35;
}

.sector-proof-grid p:last-child {
  margin-bottom: 0;
}

/* Pages internes - hero focus
   ========================================================================== */

.page-focus-hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 28, 42, 0.44), transparent 30%),
    radial-gradient(circle at 88% 28%, rgba(137, 16, 25, 0.48), transparent 34%),
    radial-gradient(circle at 62% 92%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #130f13 0%, #22131d 48%, #0e0c0f 100%);
}

.page-focus-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: center;
  padding: 92px 0 104px;
}

@media (max-width: 1080px) {
  .page-focus-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-focus-inner {
    padding: 64px 0 78px;
  }
}

/* Page HospiConnect
   ========================================================================== */

.hospiconnect-hero .hero-panel {
  align-self: center;
}

.focus-grid,
.truth-grid,
.axis-grid,
.service-grid,
.usecase-grid,
.funding-grid {
  display: grid;
  gap: 20px;
}

.focus-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.focus-card,
.axis-card,
.service-card,
.usecase-card,
.funding-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.focus-card span,
.axis-card span,
.funding-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.focus-card p,
.axis-card p,
.service-card p,
.usecase-card p,
.funding-card p {
  margin: 18px 0 0;
  color: var(--color-muted);
  line-height: 1.68;
}

.truth-grid {
  grid-template-columns: repeat(2, 1fr);
}

.truth-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.truth-card-positive {
  background: rgba(255, 255, 255, 0.12);
}

.truth-card h3 {
  color: var(--color-white);
}

.truth-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.truth-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

.truth-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffd6db;
}

.axis-grid {
  grid-template-columns: repeat(5, 1fr);
}

.axis-card {
  min-height: 330px;
}

.axis-card h3 {
  font-size: 1.22rem;
}

.hospiconnect-services {
  background: var(--color-light-alt);
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card h3 {
  color: var(--color-primary);
}

.usecase-grid {
  grid-template-columns: repeat(3, 1fr);
}

.usecase-card {
  min-height: 230px;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.usecase-card h3 {
  color: var(--color-white);
}

.usecase-card p {
  color: rgba(255, 255, 255, 0.74);
}

.funding-grid {
  grid-template-columns: repeat(3, 1fr);
}

.funding-card {
  min-height: 270px;
}

.funding-card-link:hover {
  border-color: rgba(137, 16, 25, 0.18);
  box-shadow: 0 24px 80px rgba(137, 16, 25, 0.12);
}

@media (max-width: 1080px) {
  .focus-grid-three,
  .axis-grid,
  .service-grid,
  .usecase-grid,
  .funding-grid,
  .truth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .axis-card,
  .usecase-card,
  .funding-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .focus-grid-three,
  .axis-grid,
  .service-grid,
  .usecase-grid,
  .funding-grid,
  .truth-grid {
    grid-template-columns: 1fr;
  }
}

/* Page C.A.I.H.
   ========================================================================== */

.caih-hero .hero-panel {
  align-self: center;
}

.caih-hero-panel {
  display: grid;
  gap: 26px;
  padding: 30px;
}

.caih-logo-frame {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.caih-logo-frame img {
  width: min(260px, 100%);
  height: 74px;
  object-fit: contain;
}

.caih-hero-copy {
  max-width: 440px;
}

.caih-hero-copy p {
  margin: 0 0 10px;
  color: #ffd6db;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caih-hero-copy strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.caih-summary-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.caih-summary-grid div {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
}

.caih-summary-grid span {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.caih-summary-grid strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.caih-use-grid {
  grid-template-columns: repeat(5, 1fr);
}

.focus-card h3,
.axis-card h3 {
  color: var(--color-primary);
}

.focus-card,
.axis-card {
  min-height: 260px;
}

.service-card-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.service-card-dark h3 {
  color: var(--color-white);
}

.service-card-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.caih-hospiconnect {
  background: var(--color-light-alt);
}

.split-callout-light {
  color: var(--color-text);
}

.split-callout-light p {
  color: var(--color-muted);
}

.callout-card-light {
  color: var(--color-text);
  border: 1px solid var(--border-dark);
  background: var(--color-white);
}

.callout-card-light span {
  color: var(--color-primary);
  background: rgba(137, 16, 25, 0.08);
}

.callout-card-light h3 {
  color: var(--color-text);
}

.callout-card-light p {
  color: var(--color-muted);
}

.callout-card-light:hover h3 {
  color: var(--color-primary);
}

/* Cas d’usage CAIH en section rouge
   ========================================================================== */

.caih-usecase-section .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.caih-usecase-section .axis-card {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.caih-usecase-section .axis-card h3 {
  color: var(--color-white);
}

.caih-usecase-section .axis-card p {
  color: rgba(255, 255, 255, 0.76);
}

/* Catalogue partenaires
   ========================================================================== */

.partner-catalog-section {
  background: var(--color-light);
}

.partner-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(137, 16, 25, 0.18);
  box-shadow: 0 24px 80px rgba(137, 16, 25, 0.12);
}

.partner-logo-frame {
  display: grid;
  place-items: center;
  height: 112px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(33, 29, 34, 0.10);
  border-radius: 18px;
  background: rgba(248, 245, 243, 0.92);
  overflow: hidden;
}

.partner-card .partner-logo-frame img.partner-logo,
.partner-logo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 172px;
  max-height: 64px;
  object-fit: contain;
}

/* Ajustements spécifiques pour logos avec marge interne importante */
.partner-logo-frame img[src$="ibm.jpg"],
.partner-logo-frame img[src$="imprivata.jpg"] {
  transform: scale(1.55);
}

.partner-logo-frame img[src$="evidian.png"] {
  transform: scale(1.18);
}

.partner-logo-frame img[src$="keycloak.png"] {
  transform: scale(1.12);
}

.partner-logo-frame img[src$="memority.png"],
.partner-logo-frame img[src$="cloud-iam.png"],
.partner-logo-frame img[src$="fairtrust.png"] {
  transform: scale(1.08);
}

.partner-card h3 {
  color: var(--color-text);
  font-size: 1.22rem;
  line-height: 1.15;
}

.partner-card:hover h3 {
  color: var(--color-primary);
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
}

.partner-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.partner-card p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.partner-card p strong {
  color: var(--color-text);
}

.partner-catalog-note {
  max-width: 920px;
  margin: 32px auto 0;
  color: var(--color-muted);
  text-align: center;
  font-weight: 650;
  line-height: 1.65;
}

/* Responsive pages internes
   ========================================================================== */

@media (max-width: 1180px) {
  .partner-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .caih-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .page-focus-inner {
    grid-template-columns: 1fr;
  }

  .focus-grid-three,
  .axis-grid,
  .service-grid,
  .usecase-grid,
  .funding-grid,
  .truth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .axis-card,
  .usecase-card,
  .funding-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .page-focus-inner {
    padding: 64px 0 78px;
  }

  .partner-catalog-grid,
  .caih-summary-grid,
  .split-callout .callout-cards,
  .focus-grid-three,
  .axis-grid,
  .service-grid,
  .usecase-grid,
  .funding-grid,
  .truth-grid {
    grid-template-columns: 1fr;
  }

  .partner-card,
  .callout-card,
  .focus-card,
  .axis-card {
    min-height: auto;
  }

  .partner-catalog-note {
    text-align: left;
  }
}

/* Page CANUT
   ========================================================================== */

/* Logos dans les tuiles partenaires sur fonds rouges/dark
   ========================================================================== */

.section-red .brand-pill,
.section-dark .brand-pill {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 14px 34px rgba(33, 29, 34, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.section-red .brand-pill img,
.section-dark .brand-pill img {
  max-height: 26px;
}

.canut-hero .hero-panel {
  align-self: center;
}

.canut-hero-panel {
  display: grid;
  gap: 26px;
  padding: 30px;
}

.canut-logo-lockup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.canut-logo-frame {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 22px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.canut-logo-frame img {
  display: block;
  width: min(360px, 100%);
  max-height: 92px;
  object-fit: contain;
}

.canut-hero-copy {
  max-width: 440px;
}

.canut-hero-copy p {
  margin: 0 0 10px;
  color: #ffd6db;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canut-hero-copy strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.canut-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.canut-summary-grid > div {
  min-height: 136px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
}

.canut-summary-grid span {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.canut-summary-grid strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.canut-summary-brand-card {
  display: flex;
  flex-direction: column;
}

.canut-summary-brand {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
}

.canut-summary-brand img {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 42px;
  object-fit: contain;
}

/* Variante claire pour les cas d’usage CANUT */

.canut-usecase-section {
  background: var(--color-light-alt);
}

.canut-usecase-section .section-heading p:not(.section-kicker) {
  color: var(--color-muted);
}

.canut-usecase-section .axis-card {
  color: var(--color-text);
  border-color: var(--border-dark);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
}

.canut-usecase-section .axis-card h3 {
  color: var(--color-primary);
}

.canut-usecase-section .axis-card p {
  color: var(--color-muted);
}

/* Groupement */

.canut-alliance-section .callout-card h3,
.canut-kthode-section .callout-card h3 {
  color: var(--color-white);
}

.canut-alliance-section .callout-card p,
.canut-kthode-section .callout-card p {
  color: rgba(255, 255, 255, 0.76);
}

/* Catalogue GIA */

.canut-catalog-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 22px;
}

.canut-catalog-heading-spaced {
  margin-top: 48px;
}

.canut-catalog-heading .brand-pill {
  margin-bottom: 0;
}

.canut-catalog-heading strong {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  letter-spacing: -0.055em;
}

.canut-partner-grid-compact {
  grid-template-columns: repeat(5, 1fr);
}

/* Méthode */

.canut-kthode-section .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

/* Bloc final clair */

.canut-final-section {
  background: var(--color-light-alt);
}

/* Grilles spécifiques */

.canut-use-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* Responsive CANUT */

@media (max-width: 1180px) {
  .canut-partner-grid-compact,
  .canut-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .canut-logo-lockup,
  .canut-summary-grid,
  .canut-partner-grid-compact,
  .canut-use-grid {
    grid-template-columns: 1fr;
  }

  .canut-logo-frame {
    min-height: 112px;
  }

  .canut-logo-frame img {
    width: min(300px, 100%);
    max-height: 78px;
  }

  .canut-catalog-heading {
    display: grid;
    align-items: start;
  }
}


/* Logos produits KNS : K-R + texte
   ========================================================================== */

.k-product-logo-frame {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 118px;
  padding: 22px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.k-product-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  line-height: 1;
}

.k-product-logo img {
  display: block;
  width: auto;
  height: 1em;
  object-fit: contain;
  flex: 0 0 auto;
}

.k-product-logo strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-rounded);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-transform: uppercase;
}

.k-product-logo-large {
  font-size: clamp(3.2rem, 5.2vw, 4.6rem);
}

.k-product-logo-medium {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
}

.k-product-logo-small {
  font-size: 1.7rem;
}

.k-product-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  color: currentColor;
  font-family: var(--font-rounded);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
}

.k-product-wordmark img {
  display: block;
  width: auto;
  height: 0.92em;
  object-fit: contain;
  flex: 0 0 auto;
}

.k-product-wordmark strong {
  display: block;
  color: currentColor;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.k-product-wordmark-mini {
  font-size: 0.96rem;
}

.k-product-wordmark-card {
  font-size: 1.08rem;
}

.k-product-wordmark-heading {
  font-size: inherit;
}

.k-product-wordmark-on-dark,
.k-product-wordmark-on-dark .k-product-wordmark,
.k-product-wordmark-on-dark .k-product-wordmark strong,
.k-product-wordmark-on-dark .k-product-wordmark-separator {
  color: var(--color-white);
}

.k-product-wordmark-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.22em;
  color: inherit;
}

.k-product-wordmark-group .k-product-wordmark {
  color: inherit;
}

.k-product-wordmark-separator {
  display: inline-block;
  color: currentColor;
  font-family: var(--font-rounded);
  font-weight: 800;
  line-height: 1;
  opacity: 0.92;
}

.k-product-wordmark-core {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-size: inherit;
}

.k-product-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.92em;
  height: 0.92em;
  padding: 0.08em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 16px rgba(33, 29, 34, 0.12);
  flex: 0 0 auto;
}

.k-product-logo-chip img {
  display: block;
  width: auto;
  height: 0.62em;
  object-fit: contain;
}

/* Wordmarks navigation KTHODE / KSOFT
   ========================================================================== */

.main-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.k-nav-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.04em;
  color: currentColor;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(0.02em);
}

.k-nav-wordmark img {
  display: block;
  width: auto;
  height: 0.88em;
  object-fit: contain;
  flex: 0 0 auto;
  transform: translateY(0.015em);
}

.k-nav-wordmark strong {
  display: block;
  color: currentColor;
  font-family: var(--font-rounded);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  transform: translateY(0.01em);
  text-transform: uppercase;
}

/* Alignement footer des wordmarks KTHODE / KSOFT
   ========================================================================== */

.footer-links {
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  line-height: 1;
}

.footer-links .k-nav-wordmark {
  align-items: center;
  transform: translateY(0);
}

.footer-links .k-nav-wordmark img {
  height: 0.86em;
  transform: translateY(0.01em);
}

.footer-links .k-nav-wordmark strong {
  line-height: 1;
  transform: translateY(0.09em);
}

@media (max-width: 820px) {
  .k-product-logo-frame {
    min-height: 104px;
    padding: 18px 20px;
  }

  .k-product-logo-large {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }
}

/* Page Expertises
   ========================================================================== */

.expertises-hero .hero-panel {
  align-self: center;
}

.expertises-hero-panel {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.expertises-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.expertises-pill-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.expertises-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.expertises-proof-grid div {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.expertises-proof-grid strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.expertises-proof-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.expertises-scope-section,
.expertises-domain-section,
.expertises-sectors-section {
  background: var(--color-light);
}

.expertises-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.expertises-scope-card {
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.expertises-scope-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.expertises-scope-card h3 {
  color: var(--color-primary);
  font-size: 1.38rem;
}

.expertises-scope-card p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.expertises-method-grid {
  display: grid;
  gap: 18px;
}

.expertises-method-card {
  padding: 28px 30px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.expertises-method-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #ffd6db;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expertises-method-card h3 {
  color: var(--color-white);
  font-size: 1.36rem;
}

.expertises-method-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.68;
}

.expertises-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.expertises-domain-card {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.expertises-domain-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expertises-domain-card h3 {
  color: var(--color-text);
  font-size: 1.22rem;
  line-height: 1.18;
}

.expertises-domain-card p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.expertises-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.expertises-flow-card {
  min-height: 230px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.expertises-flow-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--color-primary);
  border-radius: 50%;
  background: var(--color-white);
  font-size: 0.98rem;
  font-weight: 900;
}

.expertises-flow-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
}

.expertises-flow-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.62;
}

.expertises-ksoft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.expertises-ksoft-card {
  min-height: 210px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.expertises-ksoft-card h3 {
  color: var(--color-white);
  font-size: 1.28rem;
}

.expertises-ksoft-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

.expertises-final-section {
  background: var(--color-light-alt);
}

@media (max-width: 1180px) {
  .expertises-scope-grid,
  .expertises-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .expertises-pill-grid,
  .expertises-proof-grid,
  .expertises-scope-grid,
  .expertises-domain-grid,
  .expertises-flow-grid,
  .expertises-ksoft-grid {
    grid-template-columns: 1fr;
  }

  .expertises-scope-card,
  .expertises-domain-card,
  .expertises-flow-card,
  .expertises-ksoft-card {
    min-height: auto;
  }
}

/* Page KTHODE
   ========================================================================== */

.kthode-hero .hero-panel {
  align-self: center;
}

.kthode-hero .page-focus-inner {
  padding: 78px 0 88px;
}

.kthode-hero-panel {
  display: grid;
  gap: 34px;
  padding: 36px;
}

.kthode-hero-copy p {
  margin: 0 0 10px;
  color: #ffd6db;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kthode-hero-copy strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.kthode-pillar-grid {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.kthode-pillar-grid div {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
}

.kthode-pillar-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kthode-pillar-grid strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.kthode-intro-section,
.kthode-build-section,
.kthode-tracks-section {
  background: var(--color-light);
}

.kthode-final-section {
  background: var(--color-light-alt);
}

.kthode-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.kthode-step-card {
  min-height: 250px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.kthode-step-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: #ffd6db;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kthode-step-card h3 {
  color: var(--color-white);
  font-size: 1.28rem;
  line-height: 1.18;
}

.kthode-step-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

.kthode-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.kthode-build-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.kthode-build-card span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
}

.kthode-build-card h3 {
  color: var(--color-text);
  font-size: 1.24rem;
  line-height: 1.18;
}

.kthode-build-card p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.kthode-run-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.kthode-run-card {
  min-height: 230px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.kthode-run-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: #ffd6db;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kthode-run-card h3 {
  color: var(--color-white);
  font-size: 1.24rem;
  line-height: 1.18;
}

.kthode-run-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.62;
}

.kthode-track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kthode-track-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.kthode-track-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kthode-track-card h3 {
  color: var(--color-text);
  font-size: 1.24rem;
  line-height: 1.18;
}

.kthode-track-card p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

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

.kthode-proof-card {
  min-height: 200px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.kthode-proof-card h3 {
  color: var(--color-white);
  font-size: 1.24rem;
}

.kthode-proof-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

@media (max-width: 1180px) {
  .kthode-build-grid,
  .kthode-track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .kthode-step-grid,
  .kthode-build-grid,
  .kthode-run-grid,
  .kthode-track-grid,
  .kthode-proof-grid {
    grid-template-columns: 1fr;
  }

  .kthode-step-card,
  .kthode-build-card,
  .kthode-run-card,
  .kthode-track-card,
  .kthode-proof-card {
    min-height: auto;
  }

  .kthode-hero .page-focus-inner {
    padding: 64px 0 78px;
  }
}

/* Page KSOFT
   ========================================================================== */

.ksoft-hero .hero-panel {
  align-self: center;
}

.ksoft-hero-panel {
  display: grid;
  gap: 30px;
  padding: 34px;
}

.ksoft-hero-copy p {
  margin: 0 0 10px;
  color: #ffd6db;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ksoft-hero-copy strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.ksoft-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ksoft-pill-grid > .ksoft-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  text-align: center;
}

.ksoft-pill-grid > .ksoft-pill .k-product-wordmark-mini {
  font-size: 0.96rem;
}

.ksoft-intro-section,
.ksoft-usecases-section,
.ksoft-suite-section {
  background: var(--color-light);
}

.ksoft-final-section {
  background: var(--color-light-alt);
}

.ksoft-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ksoft-product-card {
  min-height: 520px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card);
}

.ksoft-product-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--color-white);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.ksoft-product-label .k-product-wordmark,
.ksoft-product-label .k-product-wordmark strong,
.ksoft-product-label .k-product-wordmark-group,
.ksoft-product-label .k-product-wordmark-separator {
  color: var(--color-white);
}

.ksoft-product-card h3 {
  color: var(--color-white);
  font-size: 1.26rem;
  line-height: 1.18;
}

.ksoft-product-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

.ksoft-product-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ksoft-product-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.5;
}

.ksoft-product-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd6db;
}

.ksoft-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ksoft-usecase-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.ksoft-usecase-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ksoft-usecase-card h3 {
  color: var(--color-text);
  font-size: 1.24rem;
  line-height: 1.18;
}

.ksoft-usecase-card p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.ksoft-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ksoft-integration-card {
  min-height: 220px;
  padding: 28px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.ksoft-integration-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--color-primary);
  border-radius: 50%;
  background: var(--color-white);
  font-size: 0.98rem;
  font-weight: 900;
}

.ksoft-integration-card h3 {
  color: var(--color-white);
  font-size: 1.24rem;
  line-height: 1.18;
}

.ksoft-integration-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* Schéma écosystème KSOFT
   ========================================================================== */

.ksoft-ecosystem {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 0.8fr) minmax(260px, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 56px;
}

.ksoft-ecosystem::before,
.ksoft-ecosystem::after {
  display: none;
}

.ksoft-ecosystem-column {
  display: grid;
  gap: 18px;
}

.ksoft-ecosystem-card,
.ksoft-ecosystem-core {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.ksoft-ecosystem-card {
  min-height: 138px;
  padding: 22px;
}

.ksoft-ecosystem-card-source {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 243, 0.96));
}

.ksoft-ecosystem-card > span,
.ksoft-ecosystem-core > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ksoft-ecosystem-card h3 {
  color: var(--color-text);
  font-size: 1.18rem;
  line-height: 1.12;
}

.ksoft-ecosystem-card h3 .k-product-wordmark,
.ksoft-ecosystem-card h3 .k-product-wordmark strong,
.ksoft-ecosystem-card h3 .k-product-wordmark-group,
.ksoft-ecosystem-card h3 .k-product-wordmark-separator {
  color: var(--color-text);
}

.ksoft-ecosystem-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ksoft-ecosystem-core {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 32px;
  color: var(--color-white);
  border-color: rgba(137, 16, 25, 0.28);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow:
    0 34px 100px rgba(137, 16, 25, 0.32),
    0 12px 34px rgba(33, 29, 34, 0.16);
}

.ksoft-ecosystem-core::before,
.ksoft-ecosystem-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: rgba(137, 16, 25, 0.22);
  transform: translateY(-50%);
  pointer-events: none;
}

.ksoft-ecosystem-core::before {
  left: -40px;
}

.ksoft-ecosystem-core::after {
  right: -40px;
}

.ksoft-ecosystem-core > span {
  color: #ffd6db;
  background: rgba(255, 255, 255, 0.12);
}

.ksoft-ecosystem-core h3 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  letter-spacing: -0.08em;
  line-height: 0.94;
}

.ksoft-ecosystem-core h3 .k-product-wordmark,
.ksoft-ecosystem-core h3 .k-product-wordmark strong,
.ksoft-ecosystem-core h3 .k-product-wordmark-separator {
  color: var(--color-white);
}

.ksoft-ecosystem-core p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.ksoft-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 420px);
  gap: 72px;
  align-items: center;
}

.ksoft-final-copy {
  max-width: 760px;
}

.ksoft-final-action {
  display: flex;
  justify-content: center;
}

.ksoft-final-action .callout-card {
  width: min(420px, 100%);
}

/* Relief global des cartes sur fonds clairs
   ========================================================================== */

.section-light .focus-card,
.section-light .axis-card,
.section-light .service-card,
.section-light .funding-card,
.section-light .market-card,
.section-light .partner-card,
.section-light .callout-card-light,
.section-light .expertises-scope-card,
.section-light .expertises-domain-card,
.section-light .kthode-build-card,
.section-light .kthode-track-card,
.section-light .ksoft-usecase-card,
.section-light .ksoft-ecosystem-card,
.section-light .ksoft-ecosystem-core,
.section-light .mini-card {
  box-shadow:
    0 30px 90px rgba(33, 29, 34, 0.14),
    0 8px 22px rgba(33, 29, 34, 0.08);
}

.section-light .focus-card:hover,
.section-light .axis-card:hover,
.section-light .service-card:hover,
.section-light .funding-card:hover,
.section-light .market-card:hover,
.section-light .partner-card:hover,
.section-light .callout-card-light:hover,
.section-light .mini-card:hover {
  box-shadow:
    0 34px 96px rgba(137, 16, 25, 0.16),
    0 10px 28px rgba(33, 29, 34, 0.10);
}

@media (max-width: 1180px) {
  .ksoft-product-grid,
  .ksoft-usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ksoft-ecosystem {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ksoft-ecosystem::before,
  .ksoft-ecosystem::after,
  .ksoft-ecosystem-core::before,
  .ksoft-ecosystem-core::after {
    display: none;
  }

  .ksoft-ecosystem-column {
    grid-template-columns: repeat(2, 1fr);
  }

  .ksoft-ecosystem-column:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .ksoft-ecosystem-core {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .ksoft-final-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ksoft-final-action {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .ksoft-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ksoft-product-grid,
  .ksoft-usecase-grid,
  .ksoft-integration-grid,
  .ksoft-ecosystem-column,
  .ksoft-ecosystem-column:first-child {
    grid-template-columns: 1fr;
  }

  .ksoft-product-card,
  .ksoft-usecase-card,
  .ksoft-integration-card {
    min-height: auto;
  }
}

/* Liens légaux footer
   ========================================================================== */

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 16px;
}

.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(33, 29, 34, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-legal-links a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.footer-legal-links a:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 18px;
  border-radius: 999px;
  background: rgba(33, 29, 34, 0.28);
}

@media (max-width: 640px) {
  .footer-legal-links {
    gap: 10px 14px;
  }

  .footer-legal-links a:not(:last-child)::after {
    margin-left: 14px;
  }
}