/* ==========================================================================
   AR CORP — feuille de styles principale
   Converti depuis la maquette Claude Design « AR CORP - Site v4 ».
   Aucune dépendance externe. Polices auto-hébergées : fonts.css est chargé
   en parallèle depuis le <head>, jamais via @import (qui sérialise les
   requêtes et retarde le premier rendu).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --blue: #3d6de2;
  --blue-dark: #2f5bc7;
  --turquoise: #3fd8b6;
  --turquoise-ink: #0d8f76;
  --purple: #6c5ce7;
  --orange: #f5a742;
  --dark: #0f2a6b;

  /* Neutres */
  --ink: #12203f;
  --muted: #56607a;
  --muted-soft: #7b8299;
  --bg: #ffffff;
  --bg-soft: #f7faff;
  --bg-tint-blue: #eef3fe;
  --bg-tint-mint: #e9fbf6;
  --line: #e9eef9;
  --line-strong: #e4ebfb;   /* rail au repos */
  --rail-drawn: #aec4ee;    /* rail parcouru : un cran plus soutenu, jamais saturé */

  /* Dégradés */
  --gradient-hero:
    linear-gradient(120deg, rgba(61, 109, 226, 0.62) 0%, rgba(61, 109, 226, 0.12) 62%, rgba(61, 109, 226, 0) 100%),
    linear-gradient(135deg, #3fd8b6, #3d6de2);

  /* Typographie */
  --font-display: Poppins, 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  --font-body: Archivo, 'Helvetica Neue', Arial, sans-serif;

  /* Échelle fluide, calée sur les paliers de la maquette (980px / 620px) */
  --t-xxl: 68px;
  --t-kpi: 54px;
  --t-xl: 46px;
  --t-l: 22px;
  --t-role: 32px;

  /* Structure */
  --wrap: 1240px;
  --gutter: 40px;
  --header-h: 76px;

  /* Ombres */
  --shadow-card: 0 22px 44px rgba(20, 40, 90, 0.1);
  --shadow-soft: 0 20px 50px rgba(20, 40, 90, 0.07);
  --shadow-blue: 0 26px 60px rgba(61, 109, 226, 0.28);
  --shadow-orange: 0 16px 30px rgba(245, 167, 66, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 980px) {
  :root {
    --t-xxl: 42px;
    --t-kpi: 42px;
    --t-xl: 32px;
    --t-l: 25px;
    --t-role: 25px;
    --gutter: 20px;
  }
}

@media (max-width: 620px) {
  :root {
    --t-xxl: 34px;
    --t-kpi: 34px;
    --t-xl: 27px;
    --t-l: 21px;
    --t-role: 21px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; }

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

button { font: inherit; color: inherit; }

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap--narrow { max-width: 980px; }
.wrap--text { max-width: 820px; }

.section { padding-top: 110px; padding-bottom: 110px; }
.section--sm { padding-top: 90px; padding-bottom: 90px; }
.section--kpi { padding-top: 84px; padding-bottom: 84px; }

@media (max-width: 980px) {
  .section { padding-top: 70px; padding-bottom: 70px; }
  .section--sm { padding-top: 70px; padding-bottom: 70px; }
  .section--kpi { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 620px) {
  .section { padding-top: 54px; padding-bottom: 54px; }
  .section--sm { padding-top: 54px; padding-bottom: 54px; }
}

.bg-blue { background: var(--blue); }
.bg-soft { background: var(--bg-soft); }
.bg-gradient { background: var(--gradient-hero); }

/* --------------------------------------------------------------------------
   4. Typographie utilitaire
   -------------------------------------------------------------------------- */
.t-xxl { font-size: var(--t-xxl); line-height: 1.04; }
.t-xl { font-size: var(--t-xl); }
.t-l { font-size: var(--t-l); line-height: 1.2; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow--onblue { color: rgba(255, 255, 255, 0.75); letter-spacing: 0.16em; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.lead--onblue { color: rgba(255, 255, 255, 0.84); }

.body-txt { font-size: 16px; line-height: 1.68; color: var(--muted); }
.body-txt--sm { font-size: 15px; line-height: 1.68; }

/* Surligneur (le « métier » de la maquette) */
.mark {
  border-radius: 14px;
  padding: 2px 14px;
  display: inline-block;
}
.mark--mint { background: var(--turquoise); color: var(--ink); }
.mark--orange { background: var(--orange); color: var(--ink); }

.hl-mint { color: var(--turquoise); }
.hl-orange { color: var(--orange); }

.section-head { max-width: 34ch; margin-bottom: 52px; }
.section-head--wide { max-width: 46ch; }

/* --------------------------------------------------------------------------
   5. Boutons & liens
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-orange); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn--sm { padding: 13px 26px; font-size: 15px; }
.btn--md { padding: 17px 38px; font-size: 16px; }
.btn--lg { padding: 19px 36px; font-size: 16px; }
.btn--ghost.btn--lg { padding: 17px 34px; }

/* Lien fort « Voir tous les profils → » */
.link-strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  position: relative;
}
.link-strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.link-strong:hover { color: var(--orange); }
.link-strong:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(20, 40, 90, 0);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(20, 40, 90, 0.08);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }

.nav__link {
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--orange); }
.nav__link[aria-current='page'] {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  width: 46px; height: 46px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: #fff;
  border-top: 1px solid #eceff7;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile__link {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid #eceff7;
}
.nav-mobile__link[aria-current='page'] { color: var(--blue); }
.nav-mobile .btn { margin-top: 18px; padding: 15px 26px; font-size: 15px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile:not([hidden]) { display: flex; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

/* Le hero de l'accueil est suivi d'un aplat --blue. Sans transition, le bas
   du dégradé (turquoise à gauche) forme une couture nette contre cet aplat.
   On termine donc le dégradé exactement sur --blue, sur toute la largeur. */
.hero--joins-blue {
  background:
    linear-gradient(to bottom, rgba(61, 109, 226, 0) 62%, var(--blue) 100%),
    var(--gradient-hero);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__blob--1 {
  width: 620px; height: 620px;
  background: rgba(255, 255, 255, 0.06);
  top: -180px; right: -120px;
}
.hero__blob--2 {
  width: 300px; height: 300px;
  background: rgba(245, 167, 66, 0.18);
  bottom: 40px; left: -110px;
}

.hero__inner {
  padding-top: 150px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: var(--t-xxl);
  color: #fff;
  margin: 0 0 26px;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 38px;
  max-width: 52ch;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 26px;
}
.badge-live__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: block;
  animation: pulse 2s infinite;
}
.badge-live span:last-child {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #fff;
}

/* Hero — page intérieure */
.hero--inner .hero__inner {
  display: block;
  padding-top: 140px;
  padding-bottom: 70px;
}
.hero--inner h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.hero--inner .lead { max-width: 58ch; margin: 0; }
/* Boutons sous le lead d'un hero intérieur (page 404) : le lead a margin:0 */
.hero--inner .hero__actions { margin-top: 34px; }

/* Mosaïque hero */
.hero__mosaic {
  position: relative;
  height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.tile { position: relative; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--violet { background: #6c3fe0; border-radius: 36px 36px 10px 36px; }
.tile--mint { background: var(--turquoise); border-radius: 36px 36px 36px 10px; }
.tile--card {
  background: #fff;
  border-radius: 10px 36px 36px 36px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(20, 40, 90, 0.16);
  overflow: visible;
}
.tile--orange { background: #f79420; border-radius: 36px 10px 36px 36px; }

.tile__corner {
  position: absolute;
  left: 0; top: 0;
  width: 84px; height: 84px;
  border-radius: 0 0 100% 0;
  background: rgba(255, 255, 255, 0.28);
}
.tile__check {
  position: absolute;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  animation: pulse 3s infinite;
}
.tile__bar {
  position: absolute;
  left: 24px;
  height: 12px;
  border-radius: 999px;
}
.tile__bar--1 { bottom: 34px; width: 96px; background: rgba(255, 255, 255, 0.55); }
.tile__bar--2 { bottom: 58px; width: 62px; background: rgba(255, 255, 255, 0.35); }

.dots { display: flex; gap: 6px; margin-bottom: 16px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: #dfe5f2; display: block; }
.dots span:first-child { background: var(--orange); }

.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist__row { display: flex; align-items: center; gap: 10px; }
.checklist__mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.checklist__mark--blue { background: var(--blue); }
.checklist__mark--mint { background: var(--turquoise); }
.checklist__mark--empty { border: 2px solid #dfe5f2; }
.checklist__line { flex: 1; height: 9px; border-radius: 999px; background: var(--bg-tint-blue); display: block; }
.checklist__line--mint { background: var(--bg-tint-mint); }
.checklist__line--short { flex: none; width: 60%; }

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero--inner .hero__inner { padding-top: 116px; padding-bottom: 56px; }
  .hero__mosaic { height: 300px; }
  .tile--card { padding: 16px; }
}

@media (max-width: 620px) {
  .hero__mosaic { height: 260px; gap: 10px; }
  .tile--violet { border-radius: 24px 24px 8px 24px; }
  .tile--mint { border-radius: 24px 24px 24px 8px; }
  .tile--card { border-radius: 8px 24px 24px 24px; }
  .tile--orange { border-radius: 24px 8px 24px 24px; }
  .tile__check { width: 40px; height: 40px; font-size: 18px; right: 12px; bottom: 12px; }
  .tile__corner { width: 52px; height: 52px; }
  .hero__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   8. Chiffres clés
   -------------------------------------------------------------------------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kpi {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 36px 28px;
}
.kpi--orange { background: var(--orange); }

.kpi__value {
  font-family: var(--font-display);
  font-size: var(--t-kpi);
  white-space: nowrap;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.kpi__value--mint { color: var(--turquoise); }

.kpi__label { font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.kpi--orange .kpi__label { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 980px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 28px 22px; }
}

@media (max-width: 620px) {
  /* « 24–72h » doit tenir sur une ligne dans la grille 2x2 */
  .kpi { padding: 24px 18px; border-radius: 24px; }
  .kpi__value { font-size: 30px; }
  .kpi__label { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   9. Cartes « Pourquoi AR CORP »
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.24fr 0.88fr;
  gap: 24px;
  align-items: center;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.why-card--mint { border-color: #e6f6f2; }

.why-card__media {
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 26px;
  background: var(--bg-tint-blue);
}
.why-card--mint .why-card__media { background: var(--bg-tint-mint); }
.why-card__media img { width: 100%; }

.why-card h3 {
  font-size: var(--t-l);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.why-card p { font-size: 15px; line-height: 1.68; color: var(--muted); }

.why-card--feature {
  background: var(--blue);
  border: 0;
  border-radius: 40px;
  padding: 38px;
  box-shadow: var(--shadow-blue);
}
.why-card--feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-blue); }
.why-card--feature .why-card__media { border-radius: 28px; margin-bottom: 28px; background: var(--bg-soft); }
.why-card--feature h3 { font-size: calc(var(--t-l) + 5px); color: #fff; margin-bottom: 14px; }
.why-card--feature p { font-size: 16px; color: rgba(255, 255, 255, 0.86); }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-card--feature { padding: 28px; }
}

/* --------------------------------------------------------------------------
   10. Carrousel profils
   -------------------------------------------------------------------------- */
.carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.carousel-head .eyebrow { margin-bottom: 16px; }
.carousel-head h2 { font-size: var(--t-xl); }

.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid #d9dced;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.06);
}
.carousel-btn:disabled { opacity: 0.35; cursor: default; }

.carousel__viewport { overflow: hidden; }

.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.carousel.is-dragging .carousel__track { transition: none; }

.profile-card {
  min-width: 320px;
  width: 320px;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.profile-card__media {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--bg-soft);
}
.profile-card h3 {
  font-size: 21px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.profile-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.carousel__dots {
  display: flex;
  gap: 2px;
  margin-top: 26px;
  justify-content: center;
}
.carousel__dot {
  /* Cible tactile de 26px, pastille visible de 8px au centre */
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.carousel__dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #c3c9dd;
  transition: width 0.25s var(--ease), background 0.25s;
}
.carousel__dot[aria-current='true']::before { width: 20px; background: var(--blue); }

.note-line { margin-top: 30px; font-size: 15px; color: var(--muted-soft); }

@media (max-width: 620px) {
  .profile-card { min-width: 80vw; width: 80vw; }
  .carousel-head { margin-bottom: 28px; }
  .carousel-nav { display: none; }
}

/* --------------------------------------------------------------------------
   11. Section IA
   -------------------------------------------------------------------------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.ia-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 36px;
  transition: transform 0.25s var(--ease);
}
.ia-card:hover { transform: translateY(-6px); }
.ia-card--deep { background: var(--blue-dark); }
.ia-card__media {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.1);
}
.ia-card h3 { font-size: calc(var(--t-l) + 2px); color: #fff; margin: 0 0 12px; letter-spacing: -0.02em; }
.ia-card p { font-size: 16px; line-height: 1.68; color: rgba(255, 255, 255, 0.82); }
.ia-card--deep p { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 980px) {
  .duo-grid { grid-template-columns: 1fr; gap: 20px; }
  .ia-card { padding: 28px; }
}

/* --------------------------------------------------------------------------
   12. Process (5 étapes, home)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Rail du process : fond figé (::before) + trait qui se dessine (::after).
   Les deux passent DERRIÈRE les pastilles (z-index 0 contre 1 sur .step) :
   sans quoi le ::after, dernier enfant positionné, barrerait les numéros. */
.steps::before,
.steps::after {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
  z-index: 0;
}
.steps::before { background: var(--line-strong); }
.steps::after {
  background: var(--rail-drawn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.steps.is-in::after { transform: scaleX(1); }

.step { position: relative; z-index: 1; }

.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.steps.is-in .step__num { transform: scale(1); opacity: 1; }
.steps.is-in .step:nth-child(2) .step__num { transition-delay: 0.16s; }
.steps.is-in .step:nth-child(3) .step__num { transition-delay: 0.32s; }
.steps.is-in .step:nth-child(4) .step__num { transition-delay: 0.48s; }
.steps.is-in .step:nth-child(5) .step__num { transition-delay: 0.64s; }

.step__num--accent { background: var(--orange); }

.step h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -0.02em; }
.step p:not(.step__num) { font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before, .steps::after { display: none; }
  .step__num { margin-bottom: 16px; }
}

/* --------------------------------------------------------------------------
   13. Manifeste
   -------------------------------------------------------------------------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.manifesto h2 {
  font-size: var(--t-kpi);
  line-height: 1.08;
  color: #fff;
  margin: 0;
}
.manifesto__media {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

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

/* --------------------------------------------------------------------------
   14. CTA final + teaser
   -------------------------------------------------------------------------- */
.cta-final { padding-top: 90px; padding-bottom: 40px; }

.cta-card {
  background: #fff;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.cta-card h2 { font-size: var(--t-xl); margin: 0 0 14px; }
.cta-card p { font-size: 17px; color: var(--muted); }

.teaser { padding-bottom: 46px; }
.teaser p { font-size: 15px; color: var(--muted-soft); }

@media (max-width: 980px) {
  .cta-final { padding-top: 60px; }
  .cta-card { padding: 34px; border-radius: 30px; }
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--blue); color: #fff; }

.site-footer__inner {
  padding-top: 70px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 46px;
}
.site-footer__logo { height: 76px; width: auto; margin-bottom: 18px; }
.site-footer__baseline {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34ch;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: start; }
.footer-col__title {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}
.footer-col a { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.footer-col a:hover { color: var(--orange); }

.site-footer__legal { padding-bottom: 40px; }
.site-footer__legal-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal-inner a { font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.site-footer__legal-inner a:hover { color: var(--orange); }
.site-footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 34px; }
}

/* --------------------------------------------------------------------------
   16. Reveal au scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .marquee__track { animation: none; }
  .steps::after { transform: scaleX(1); transition: none; }
  .step__num { transform: none; opacity: 1; transition: none; }
  .timeline::after { transform: scaleY(1); transition: none; }
  .tl-num { transform: none; opacity: 1; transition: none; }
  .badge-live__dot, .tile__check { animation: none; }
  .float { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   17. Animations
   -------------------------------------------------------------------------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

@keyframes floatY {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

/* Flottement de la mosaïque hero, 3 vitesses pour la profondeur */
.float { animation: floatY var(--dur, 5s) ease-in-out infinite alternate; }
.float--1 { --dur: 5.2s; animation-delay: -0.4s; }
.float--2 { --dur: 6.6s; animation-delay: -1.8s; }
.float--3 { --dur: 4.4s; animation-delay: -2.6s; }
.float--4 { --dur: 7.1s; animation-delay: -3.4s; }


/* ==========================================================================
   18. Page « Nos profils QA »
   ========================================================================== */
.roles { display: flex; flex-direction: column; gap: 30px; }

.role-card {
  background: #fff;
  border-radius: 36px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
  align-items: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.role-card--flip { grid-template-columns: 1.25fr 1fr; }
.role-card--purple { background: var(--purple); }

.role-card__media { border-radius: 26px; overflow: hidden; background: var(--bg-soft); }
.role-card__media img { width: 100%; }

.role-card h2 { font-size: var(--t-role); margin: 0 0 16px; letter-spacing: -0.02em; }
.role-card p:not(.role-card__ctx) { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0 0 18px; }

.role-card--purple h2 { color: #fff; }
.role-card--purple p:not(.role-card__ctx) { color: rgba(255, 255, 255, 0.78); }

.role-card__ctx { font-size: 15px; color: var(--ink); }
.role-card__ctx strong { font-family: var(--font-display); font-weight: 700; }
.role-card__ctx span { color: var(--muted); }
.role-card--purple .role-card__ctx { color: #fff; }
.role-card--purple .role-card__ctx span { color: rgba(255, 255, 255, 0.78); }

.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.tag {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--bg-tint-blue);
  color: var(--blue);
}
.tag--mint { background: var(--bg-tint-mint); color: var(--turquoise-ink); }
.tag--onpurple { background: rgba(255, 255, 255, 0.14); color: #fff; }

@media (max-width: 980px) {
  .role-card,
  .role-card--flip { grid-template-columns: 1fr; gap: 28px; padding: 28px; border-radius: 28px; }
  /* Illustration toujours en tête sur mobile, quel que soit le sens du bloc */
  .role-card__media { order: -1; }
}

/* Stacks & environnements */
.stack-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.stack-row__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.stack-row__items { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 15px;
  font-weight: 600;
  padding: 11px 21px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 980px) {
  .stack-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Bloc « Notre différence » */
.split-card {
  background: #fff;
  border-radius: 36px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: center;
}
.split-card h2 { font-size: calc(var(--t-xl) - 10px); margin: 0 0 16px; letter-spacing: -0.02em; }
.split-card p { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0 0 22px; max-width: 56ch; }
.split-card__media { border-radius: 26px; overflow: hidden; background: var(--bg-soft); }

@media (max-width: 980px) {
  .split-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; border-radius: 28px; }
  .split-card__media { order: -1; }
}

/* ==========================================================================
   19. Page « Notre approche »
   ========================================================================== */
/* La timeline est un <ol> : on neutralise les styles par défaut du navigateur,
   dont le padding-left de 40px qui décalait le rail hors de l'axe des pastilles. */
.timeline {
  --tl-num: 66px;      /* diamètre des pastilles */
  --tl-gutter: 100px;  /* gouttière qui les accueille, à gauche des cartes */
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--tl-gutter);
}

/* Trait continu sur toute la hauteur, centré sur l'axe des pastilles.
   Les cartes vivent à droite de la gouttière : le trait reste donc visible
   de bout en bout, tout en passant derrière elles et derrière les pastilles. */
.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: calc(var(--tl-num) / 2 - 1.5px);
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  z-index: 0;
}
.timeline::before { background: var(--line-strong); }
.timeline::after {
  background: var(--rail-drawn);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s var(--ease);
}
.timeline.is-in::after { transform: scaleY(1); }

.tl-item {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 30px 34px;
  position: relative;
  z-index: 1;
}
.tl-item--accent { box-shadow: 0 18px 40px rgba(61, 109, 226, 0.14); }

/* Pastille sortie de la carte, posée sur le trait dans la gouttière.
   Le centrage vertical passe par margin-top et non par translate, pour
   laisser transform disponible à l'animation d'apparition. */
.tl-num {
  position: absolute;
  left: calc(-1 * var(--tl-gutter));
  top: 50%;
  margin-top: calc(var(--tl-num) / -2);
  z-index: 2;
  width: var(--tl-num); height: var(--tl-num);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.75);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.timeline.is-in .tl-num { transform: scale(1); opacity: 1; }
.timeline.is-in .tl-item:nth-child(2) .tl-num { transition-delay: 0.18s; }
.timeline.is-in .tl-item:nth-child(3) .tl-num { transition-delay: 0.36s; }
.timeline.is-in .tl-item:nth-child(4) .tl-num { transition-delay: 0.54s; }
.timeline.is-in .tl-item:nth-child(5) .tl-num { transition-delay: 0.72s; }
.tl-num--accent { background: var(--orange); }

.tl-item h2 { font-size: calc(var(--t-l) + 4px); margin: 0 0 10px; letter-spacing: -0.02em; }
.tl-item > div > p { font-size: 16px; line-height: 1.68; color: var(--muted); }
.tl-item__media { border-radius: 18px; overflow: hidden; background: var(--bg-soft); }

@media (max-width: 980px) {
  /* Même principe en colonne étroite : gouttière et pastilles rétrécies,
     le trait reste aligné puisque tout est dérivé des mêmes variables. */
  .timeline { --tl-num: 48px; --tl-gutter: 68px; gap: 18px; }
  .tl-item { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; }
  .tl-item__media { order: -1; max-width: 220px; }
  .tl-num { font-size: 16px; }
}

@media (max-width: 620px) {
  .timeline { --tl-num: 42px; --tl-gutter: 58px; }
  .tl-item { padding: 22px 18px; border-radius: 24px; }
  .tl-num { font-size: 15px; }
}

/* Cartes « Zoom validation technique » et « Nos engagements » */
.quad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.vt-card { background: rgba(255, 255, 255, 0.09); border-radius: 26px; padding: 28px; }
.vt-card__media { border-radius: 20px; overflow: hidden; margin-bottom: 20px; background: rgba(255, 255, 255, 0.14); }
.vt-card h3 { font-size: 19px; color: #fff; margin: 0 0 10px; letter-spacing: -0.02em; }
.vt-card p { font-size: 15px; line-height: 1.62; color: rgba(255, 255, 255, 0.7); }

.eng-card {
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.eng-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.eng-card__media { border-radius: 18px; overflow: hidden; margin-bottom: 18px; background: var(--bg-soft); }
.eng-card h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -0.02em; }
.eng-card p { font-size: 15px; line-height: 1.62; color: var(--muted); }

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

/* ==========================================================================
   20. Page « Contact »
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 34px;
  align-items: start;
}

.form {
  background: #fff;
  border-radius: 36px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-soft);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 9px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .optional { color: #9aa1b4; font-weight: 400; }
.field input,
.field textarea {
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 15px;
  background: var(--bg-soft);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.field input:user-invalid,
.field textarea:user-invalid { border-color: #d94a4a; }

/* Pot de miel anti-spam : masqué à l'écran et aux lecteurs d'écran */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.5;
}
.form-status--ok { background: var(--bg-tint-blue); color: var(--blue); }
.form-status--error { background: #fdecec; color: #b02a2a; }

.contact-card { background: var(--blue); border-radius: 32px; padding: 36px; }
.contact-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-card__eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.contact-card__logo { height: 62px; width: auto; flex-shrink: 0; }
.contact-card__mail {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 18px;
}
.contact-card__mail:hover { color: var(--orange); }
.contact-card__link { font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.contact-card__link:hover { color: var(--orange); }
.contact-card p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 22px 0 0; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form { padding: 28px; border-radius: 28px; }
  .form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   21. Pages légales
   ========================================================================== */
.legal { padding-top: 150px; padding-bottom: 100px; }
.legal h1 { font-size: var(--t-xl); margin: 0 0 32px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  color: var(--ink);
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 6px;
  color: var(--blue);
}
.legal p, .legal li { font-size: 16px; line-height: 1.72; color: var(--muted); margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal strong { font-family: var(--font-display); color: var(--ink); }

@media (max-width: 980px) {
  .legal { padding-top: 116px; padding-bottom: 70px; }
}
