/* Titillium Web, police unique de la charte KSI (auto-hébergée, aucun appel externe) */
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/titillium-web-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/titillium-web-latin-700-normal.woff2") format("woff2"); }

/* =====================================================================
   KSI Centrale Marseille — feuille de style
   Direction : « le ruban KSI ». Les trois bandes diagonales du logo
   (Denim, Blue Green, Middle Blue) deviennent l'unique élément fort du
   hero ; tout le reste est sobre, aligné à gauche, en Titillium Web.
   Mobile d'abord : chaque règle de base vise ~360 px, les @media
   élargissent.
   ===================================================================== */

:root {
  /* Couleurs de la charte KSI */
  --space-cadet: #253065;
  --night: #1a2248;
  --denim: #3665ad;
  --blue-green: #269abb;
  --middle-blue: #6fbac7;
  --cultured: #f5f5f5;
  --white: #ffffff;

  /* Rôles */
  --ink: var(--night);
  --ink-soft: #4a5178;          /* 7.4:1 sur blanc */
  --ink-faint: #5d6488;         /* 5.6:1 sur blanc, pour les petites mentions */
  --line: #d9dce8;
  --surface: var(--white);
  --ground: var(--cultured);
  --action: var(--denim);       /* 5.3:1 sur blanc */
  --action-hover: #2b5394;
  --on-dark: #e9ecf6;
  --on-dark-soft: #b9c1dd;      /* 7.9:1 sur Space Cadet */
  --success: #1f7a4d;
  --danger: #b3261e;

  /* Typographie : police unique de la charte */
  --font: "Titillium Web", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);

  /* Espacements et mise en page */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --max: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 68px;
}

/* ----------------------------------------------------------- Base */
[hidden] {
  display: none !important;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--action);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--action-hover);
}

:focus-visible {
  outline: 3px solid var(--blue-green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}
.section--white {
  background: var(--surface);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head h2 {
  font-size: var(--step-3);
  font-weight: 300;
}
.section-head p {
  color: var(--ink-soft);
  font-size: var(--step-1);
  font-weight: 300;
}

/* --------------------------------------------------------- Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--action);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--action-hover);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--space-cadet);
}
.btn--light:hover {
  background: var(--on-dark);
  color: var(--space-cadet);
}
.btn--ghost {
  background: transparent;
  color: var(--action);
  border-color: currentColor;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-dark:hover {
  color: var(--white);
  border-color: var(--white);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* ---------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--space-cadet);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover {
  color: var(--white);
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.brand__name {
  display: grid;
  line-height: 1.1;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand__name small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--on-dark-soft);
}

.nav {
  display: none;
}
.nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--middle-blue);
}
.site-header .btn {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem var(--gutter) 1.5rem;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.85rem 0;
  color: var(--white);
  text-decoration: none;
  font-size: var(--step-1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .btn {
  margin-top: 1.25rem;
  width: 100%;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
    gap: 1.75rem;
    margin-right: 1.5rem;
  }
  .site-header .btn {
    display: inline-flex;
    min-height: 44px;
    padding-inline: 1.2rem;
  }
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--space-cadet);
  color: var(--white);
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

/* Le ruban : trois bandes parallèles reprises du logo, même inclinaison */
.ribbon {
  position: absolute;
  z-index: -1;
  top: -35%;
  right: 4%;
  width: clamp(120px, 24vw, 330px);
  height: 190%;
  display: flex;
  gap: clamp(8px, 1.2vw, 16px);
  transform: rotate(31deg);
  transform-origin: center;
  pointer-events: none;
}
.ribbon span {
  flex: 1;
}
.ribbon span:nth-child(1) { background: var(--denim); }
.ribbon span:nth-child(2) { background: var(--blue-green); }
.ribbon span:nth-child(3) { background: var(--middle-blue); }

@media (prefers-reduced-motion: no-preference) {
  .ribbon span {
    animation: ribbon-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .ribbon span:nth-child(2) { animation-delay: 0.08s; }
  .ribbon span:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes ribbon-in {
  from { transform: translateY(35%); }
  to { transform: translateY(0); }
}

.hero__inner {
  display: grid;
  gap: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}
.hero__copy {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}
.hero__school {
  color: var(--middle-blue);
  font-weight: 600;
  font-size: var(--step-0);
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__lead {
  color: var(--on-dark);
  font-size: var(--step-1);
  font-weight: 300;
  max-width: 38rem;
}
.assurances {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--on-dark);
  font-weight: 600;
  font-size: var(--step--1);
}
.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.assurances svg {
  width: 18px;
  height: 18px;
  color: var(--middle-blue);
  flex: none;
}

/* Actions du hero */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__actions {
  align-items: center;
}
.hero__brochure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 0.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.25em;
}
.hero__brochure:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}
.hero__brochure svg {
  flex: none;
  width: 20px;
  height: 20px;
}
@media (max-width: 639px) {
  .hero__brochure {
    width: 100%;
    justify-content: center;
  }
}
.btn--lg {
  min-height: 54px;
  padding-inline: 1.75rem;
  font-size: var(--step-1);
}
@media (max-width: 639px) {
  .hero__actions .btn {
    width: 100%;
  }
}
.hero__poles {
  display: grid;
  gap: 0.75rem;
}
.hero__poles p {
  color: var(--on-dark-soft);
  font-weight: 600;
  font-size: var(--step--1);
}
.hero__poles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero__poles a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background-color 0.15s, border-color 0.15s;
}
.hero__poles a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--space-cadet);
}
.hero__poles svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Chiffres et clients, juste sous le hero */
.proof__stats {
  margin: 0;
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.proof__stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--middle-blue);
}
.proof__stats dt {
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.35;
}
.proof__stats dd {
  margin: 0;
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 760px) {
  .proof__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.edge {
  display: block;
  width: 100%;
  height: clamp(56px, 8vw, 128px);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  margin-bottom: -1px;
}
.edge__s1 { fill: var(--denim); }
.edge__s2 { fill: var(--blue-green); }
.edge__s3 { fill: var(--middle-blue); }
.edge__ground { fill: var(--ground); }

@media (min-width: 960px) {
  .ribbon {
    right: 9%;
  }
}

/* ---------------------------------------------------- Formulaires */
.field {
  display: grid;
  gap: 0.4rem;
}
.field label,
.field legend {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink);
  padding: 0;
}
.field .optional {
  font-weight: 400;
  color: var(--ink-faint);
}
fieldset.field,
.field fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #b9bfd4;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* ≥16 px : pas de zoom auto sur iOS */
}
.textarea {
  min-height: 110px;
  resize: vertical;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(54, 101, 173, 0.25);
}
.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  color: var(--danger);
  font-size: var(--step--1);
}

/* Choix du pôle en pastilles */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid #b9bfd4;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
}
.chip input:checked + span {
  background: var(--space-cadet);
  border-color: var(--space-cadet);
  color: var(--white);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--blue-green);
  outline-offset: 2px;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid--2 .span-2 {
    grid-column: span 2;
  }
}
.form-legal {
  color: var(--ink-faint);
  font-size: var(--step--1);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-weight: 600;
}
.alert--error {
  background: #fbeceb;
  color: var(--danger);
}
.alert--success {
  background: #e6f3ec;
  color: var(--success);
}

/* -------------------------------------------- Bandeau de clients */
.clients {
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 2.75rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}
.clients__title {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: 150px;
  object-fit: contain;
}
.logo-name {
  font-weight: 700;
  font-size: var(--step-1);
  color: #5d6488;
  white-space: nowrap;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: center;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  display: flex;
  align-items: center;
  height: 64px;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
}
.marquee__item:hover {
  filter: none;
  opacity: 1;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - clamp(1.25rem, 1rem + 1.5vw, 2.25rem))); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    width: auto;
    flex-wrap: wrap;
    padding-inline: var(--gutter);
    max-width: var(--max);
    margin-inline: auto;
    gap: 1.5rem 2.5rem;
  }
  .marquee__item[aria-hidden="true"] {
    display: none;
  }
}

.logo-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}
.logo-tile {
  flex: 0 1 200px;
  min-width: 140px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(26, 34, 72, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 var(--line), 0 18px 36px -20px rgba(26, 34, 72, 0.5);
}
.logo-tile .logo-img {
  max-height: 64px;
  max-width: 85%;
}
@media (max-width: 480px) {
  .logo-tile {
    flex-basis: calc(50% - 0.5rem);
    min-width: 0;
    height: 96px;
  }
}

/* ------------------------------------------------------ Expertises */
.poles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.pole {
  border-bottom: 1px solid var(--line);
}
.pole a {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.5rem 0;
  color: inherit;
  text-decoration: none;
}
.pole h3 {
  font-size: var(--step-2);
  font-weight: 400;
}
.pole p {
  color: var(--ink-soft);
}
.pole__more {
  color: var(--action);
  font-weight: 600;
  font-size: var(--step--1);
}
.pole a:hover h3 {
  color: var(--action);
}
@media (min-width: 760px) {
  .pole a {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto;
    align-items: baseline;
  }
}

/* -------------------------------------------------- Étude de cas */
.case {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.case__client {
  font-weight: 700;
  color: var(--denim);
}
.case h3 {
  font-size: var(--step-3);
  font-weight: 300;
  margin-top: 0.35rem;
}
.case__summary {
  color: var(--ink-soft);
  font-size: var(--step-1);
  font-weight: 300;
  margin-top: 1rem;
}
.case__body {
  margin-top: 1rem;
  color: var(--ink-soft);
}
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 1rem;
  align-content: start;
}
.facts div {
  border-left: 3px solid var(--middle-blue);
  padding-left: 0.9rem;
}
.facts dt {
  color: var(--ink-faint);
  font-size: var(--step--1);
}
.facts dd {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 600;
}
.section--white .case {
  background: var(--ground);
}
@media (min-width: 960px) {
  .case {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

/* --------------------------------------------------- Témoignages */
.quotes {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.quote {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.quote blockquote {
  margin: 0;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
}
.quote figcaption {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.quote figcaption strong {
  color: var(--ink);
}
@media (min-width: 760px) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* ------------------------------------------------------- Processus */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.step::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--space-cadet);
  color: var(--white);
  font-weight: 700;
}
.step h3 {
  font-size: var(--step-1);
  font-weight: 600;
  align-self: center;
}
.step p {
  color: var(--ink-soft);
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 0;
  font-size: var(--step-1);
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--action);
  border-bottom: 2px solid var(--action);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}
.faq details p {
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
  max-width: 48rem;
}
.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }
}

/* --------------------------------------------- Bloc contact final */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--space-cadet);
  color: var(--white);
  padding-block: var(--section);
}
.cta__grid {
  display: grid;
  gap: 2.5rem;
}
.cta h2 {
  font-size: var(--step-4);
  font-weight: 300;
}
.cta__lead {
  color: var(--on-dark);
  font-size: var(--step-1);
  font-weight: 300;
  margin-top: 1rem;
  max-width: 34rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.person {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}
.person img,
.person__initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
}
.person__initials {
  display: grid;
  place-items: center;
  background: var(--denim);
  font-weight: 700;
  font-size: 1.25rem;
}
.person__name {
  font-weight: 700;
}
.person__role {
  color: var(--on-dark-soft);
  font-size: var(--step--1);
}
.person a {
  color: var(--white);
  font-weight: 600;
}
.cta__stripe {
  display: flex;
  gap: 6px;
  width: 120px;
  margin-bottom: 1.5rem;
}
.cta__stripe span {
  height: 6px;
  flex: 1;
  border-radius: 1px;
}
.cta__stripe span:nth-child(1) { background: var(--denim); }
.cta__stripe span:nth-child(2) { background: var(--blue-green); }
.cta__stripe span:nth-child(3) { background: var(--middle-blue); }
@media (min-width: 960px) {
  .cta__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
  }
}

/* ---------------------------------------------------------- Footer */
.site-footer {
  background: var(--night);
  color: var(--on-dark-soft);
  padding-block: 3rem 6.5rem; /* place pour la barre mobile */
  font-size: var(--step--1);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}
.site-footer h2 {
  color: var(--white);
  font-size: var(--step-0);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
  display: inline-block;
  padding-block: 0.2rem;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
@media (min-width: 960px) {
  .site-footer {
    padding-bottom: 3rem;
  }
}

/* --------------------------------------- Barre d'action mobile */
.mobile-bar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-bar .btn {
  min-height: 48px;
}
.mobile-bar .btn--ghost {
  padding-inline: 1rem;
}
@media (min-width: 960px) {
  .mobile-bar {
    display: none;
  }
}

/* ------------------------------------------------ Pages internes */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--space-cadet);
  color: var(--white);
  padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero .ribbon {
  right: -6%;
  top: -60%;
  height: 260%;
  width: clamp(90px, 18vw, 240px);
}
.page-hero__inner {
  display: grid;
  gap: 1rem;
}
.page-hero__inner > * {
  max-width: 44rem;
}
.page-hero h1 {
  font-size: var(--step-4);
  font-weight: 300;
}
.page-hero p {
  color: var(--on-dark);
  font-size: var(--step-1);
  font-weight: 300;
}
.breadcrumb {
  font-size: var(--step--1);
  color: var(--on-dark-soft);
}
.breadcrumb a {
  color: var(--on-dark);
}
@media (min-width: 960px) {
  .page-hero .ribbon {
    right: 6%;
  }
}

.prose {
  max-width: 44rem;
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
}
.prose h2 {
  color: var(--ink);
  font-size: var(--step-2);
  font-weight: 600;
  margin-top: 1.5rem;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.offer-list li {
  display: grid;
  gap: 0.2rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.offer-list strong {
  font-size: var(--step-1);
  font-weight: 600;
}
.offer-list span {
  color: var(--ink-soft);
}
@media (min-width: 760px) {
  .offer-list li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

.aside-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.aside-card h2 {
  font-size: var(--step-1);
  font-weight: 700;
}
.aside-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.35rem;
}

.team-photo {
  border-radius: var(--radius-lg);
  background: var(--cultured);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--middle-blue);
}
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--space-cadet);
}
.timeline strong {
  display: block;
  font-size: var(--step-1);
}
.timeline span {
  color: var(--ink-soft);
}

.values {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  margin: 0;
}
.values div {
  padding-top: 1rem;
  border-top: 3px solid var(--space-cadet);
}
.values dt {
  font-size: var(--step-2);
  font-weight: 700;
}
.values dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

/* Contact */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}
.contact-card h2 {
  font-size: var(--step-2);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.progress {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-faint);
}
.progress span {
  flex: 1;
  padding-top: 0.5rem;
  border-top: 4px solid var(--line);
}
.progress span[aria-current="step"],
.progress span.done {
  border-top-color: var(--action);
  color: var(--ink);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.success-panel {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.success-panel h2 {
  font-size: var(--step-3);
  font-weight: 300;
}


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

/* ------------------------------------------- Hero photo (accueil) */
.hero--photo {
  padding-top: clamp(3rem, 2rem + 5vw, 6.5rem);
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  object-fit: cover;
  object-position: 65% 55%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 34, 72, 0.94) 0%, rgba(37, 48, 101, 0.86) 42%, rgba(37, 48, 101, 0.45) 75%, rgba(37, 48, 101, 0.25) 100%),
    linear-gradient(0deg, rgba(26, 34, 72, 0.7) 0%, rgba(26, 34, 72, 0) 40%);
}
@media (max-width: 959px) {
  .hero__media::after {
    background: linear-gradient(180deg, rgba(26, 34, 72, 0.75) 0%, rgba(37, 48, 101, 0.9) 45%, rgba(26, 34, 72, 0.97) 100%);
  }
  .hero--photo {
    min-height: 0;
  }
}
.hero__inner {
  position: relative;
}

/* Signature KSI posée sur la photo */
.hero__sign {
  display: none;
}
@media (min-width: 1100px) {
  .hero__sign {
    position: absolute;
    right: var(--gutter);
    top: 0;
    display: grid;
    justify-items: end;
    gap: 0.75rem;
    text-align: right;
    color: var(--white);
  }
  .hero__sign img {
    width: 112px;
    height: 112px;
    border-radius: 18px;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  }
  .hero__sign p {
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  }
  .hero__sign small {
    display: block;
    font-weight: 400;
    color: var(--on-dark);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero--photo .hero__media img {
    animation: hero-zoom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero--photo .hero__copy,
  .hero--photo .hero__actions,
  .hero--photo .hero__poles,
  .hero--photo .assurances,
  .hero--photo .hero__sign {
    animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero--photo .hero__actions { animation-delay: 0.1s; }
  .hero--photo .hero__poles { animation-delay: 0.18s; }
  .hero--photo .assurances { animation-delay: 0.26s; }
  .hero--photo .hero__sign { animation-delay: 0.3s; }
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------- Apparition au défilement */
.fx [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--fx-delay, 0ms);
  will-change: opacity, transform;
}
.fx [data-reveal="scale"] {
  transform: scale(0.92);
}
.fx [data-reveal="left"] {
  transform: translateX(-36px);
}
.fx [data-reveal="right"] {
  transform: translateX(36px);
}
.fx [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* Les titres de section se soulignent des trois filets KSI en apparaissant */
.section-head h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, var(--denim) 0 30%, transparent 30% 35%, var(--blue-green) 35% 65%, transparent 65% 70%, var(--middle-blue) 70% 100%);
  transform-origin: left;
}
.fx .section-head[data-reveal] h2::after {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}
.fx .section-head[data-reveal].is-in h2::after {
  transform: scaleX(1);
}

/* ------------------------------------------------- Page contact */
.contact-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--space-cadet);
  color: var(--white);
  padding-top: clamp(2rem, 1.5rem + 3vw, 4rem);
}
.contact-hero .ribbon {
  right: 2%;
  top: -40%;
  height: 220%;
  width: clamp(80px, 16vw, 240px);
}
.contact-hero__head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.contact-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 959px) {
  .contact-card--raised {
    order: -1;
  }
}
.contact-hero__side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.contact-hero h1 {
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1.05;
}
.contact-hero__lead {
  color: var(--on-dark);
  font-size: var(--step-1);
  font-weight: 300;
  max-width: 30rem;
}
.contact-hero__h2 {
  margin-top: 0.75rem;
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--middle-blue);
}
.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: next;
}
.next-steps li {
  counter-increment: next;
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0 0 1.25rem 3.25rem;
}
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--space-cadet);
  font-weight: 700;
}
.next-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.5rem;
  bottom: 0.25rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.next-steps span {
  color: var(--on-dark-soft);
}
.contact-hero .person {
  background: rgba(255, 255, 255, 0.07);
}
.contact-hero__direct {
  color: var(--on-dark);
  line-height: 1.9;
}
.contact-hero__direct a {
  color: var(--white);
  font-weight: 600;
}
.contact-card--raised {
  box-shadow: 0 40px 80px -40px rgba(5, 8, 30, 0.75);
  color: var(--ink);
}
@media (min-width: 960px) {
  .contact-hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem;
  }
  .contact-card--raised {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ---------------------------------------------- LinkedIn et icônes */
.header-social {
  display: none;
}
@media (min-width: 960px) {
  .header-social {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: 0.25rem;
    border-radius: 50%;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: background-color 0.15s, border-color 0.15s;
  }
  .header-social:hover {
    color: var(--white);
    background: #0a66c2;
    border-color: #0a66c2;
  }
}
.mobile-menu a.mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.btn--social svg {
  flex: none;
  display: block;
  width: 18px;
  height: 18px;
}
.btn--ghost-dark.btn--social:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}
.site-footer a.btn--social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}
.site-footer a.btn--social:hover {
  text-decoration: none;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta__mail {
  margin-top: 1rem;
  color: var(--on-dark-soft);
}
.cta__mail a {
  color: var(--white);
  font-weight: 600;
}
.person__link {
  display: inline-block;
  margin-top: 0.15rem;
  word-break: break-word;
}

/* Mise en avant de l'école */
.hero__school {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border: 1.5px solid var(--middle-blue);
  border-radius: 999px;
  background: rgba(26, 34, 72, 0.55);
  color: var(--white);
  font-weight: 600;
  font-size: var(--step--1);
  line-height: 1.35;
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--middle-blue);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.school-claim {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue-green);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-weight: 600;
}

/* Pictogrammes des pôles et des offres */
.icon {
  width: 100%;
  height: 100%;
}
.pole h3,
.pole h2 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pole__icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: #e8eef8;
  color: var(--denim);
  transition: background-color 0.2s, color 0.2s;
}
.pole a:hover .pole__icon {
  background: var(--denim);
  color: var(--white);
}
.offer-list strong {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.offer-icon {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: #e6f4f6;
  color: #1c7891;
}

.split {
  align-items: start;
}
@media (min-width: 960px) {
  .split--offers {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  }
}
.logo-tile .logo-name {
  white-space: normal;
  text-align: center;
  font-size: var(--step-0);
  line-height: 1.25;
}
.logo-img--invert {
  filter: invert(1) brightness(0.35);
}

/* ------------------------------------------------- Spécifique WordPress */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-tile .logo-img, .marquee__item .logo-img { height: auto; }
.notice-banner { background: #fff4d6; color: #6b4e00; padding: 0.75rem var(--gutter); font-weight: 600; text-align: center; }
.no-js .fx [data-reveal] { opacity: 1; transform: none; }

/* ---- Thème WordPress : comportements sans JavaScript ---- */
html:not(.js) .js-only,
html:not(.js) .progress { display: none !important; }
.menu-toggle[aria-expanded="true"] .i-open,
.menu-toggle:not([aria-expanded="true"]) .i-close { display: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wp-block-image img, .prose img { max-width: 100%; height: auto; }
/* Sur mobile, une grille ne doit jamais s'élargir au-delà de l'écran (images, mots longs). */
.split { grid-template-columns: minmax(0, 1fr); }
.split > *, .contact-hero__grid > *, .cta__grid > * { min-width: 0; }
.team-photo { width: 100%; height: auto; }
main { overflow-x: clip; } /* les blocs qui glissent depuis la droite ne créent pas de défilement horizontal */
[id] { scroll-margin-top: 6rem; } /* une ancre (#confidentialite…) ne passe pas sous l’en-tête fixe */

/* ---------------------------------------------- LinkedIn et plaquette mis en avant */
.header-links { display: none; }
@media (min-width: 960px) {
  .header-links { display: flex; align-items: center; gap: 0.5rem; margin-right: 0.5rem; }
  .header-pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    min-height: 40px; padding: 0 0.9rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
    color: var(--white); font-size: 0.9rem; font-weight: 600; text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
  }
  .header-pill svg { width: 16px; height: 16px; flex: none; }
  .header-pill:hover, .header-pill:focus-visible { color: var(--white); background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
  .header-pill--linkedin:hover, .header-pill--linkedin:focus-visible { background: #0a66c2; border-color: #0a66c2; }
}
@media (min-width: 960px) {
  .header-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-pill { width: 40px; padding: 0; justify-content: center; }
}

.follow-band { background: var(--ground); padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0; }
.follow-band__grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .follow-band__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.follow-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon body" "icon cta";
  column-gap: 1.1rem; row-gap: 0.9rem; align-items: start;
  padding: 1.4rem 1.5rem; border-radius: var(--radius-lg);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.follow-card:hover, .follow-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26, 34, 72, 0.16); }
.follow-card__icon { grid-area: icon; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; }
.follow-card__icon svg { width: 26px; height: 26px; }
.follow-card__body { grid-area: body; display: grid; gap: 0.3rem; }
.follow-card__body strong { font-size: var(--step-1, 1.25rem); font-weight: 600; line-height: 1.25; }
.follow-card__body span { line-height: 1.5; }
.follow-card__cta {
  grid-area: cta; justify-self: start; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
}
.follow-card--linkedin { background: var(--space-cadet); color: var(--on-dark); }
.follow-card--linkedin strong { color: var(--white); }
.follow-card--linkedin .follow-card__icon { background: #0a66c2; color: var(--white); }
.follow-card--linkedin .follow-card__cta { background: var(--white); color: var(--space-cadet); }
.follow-card--brochure { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }
.follow-card--brochure strong { color: var(--ink); }
.follow-card--brochure .follow-card__icon { background: rgba(38, 154, 187, 0.12); color: var(--blue-green); }
.follow-card--brochure .follow-card__cta { background: var(--action); color: var(--white); }
.follow-card--brochure:hover .follow-card__cta { background: var(--action-hover); }
@media (prefers-reduced-motion: reduce) { .follow-card { transition: none; } .follow-card:hover { transform: none; } }

.footer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.footer-actions .btn--social { margin-top: 0; }
