/* ==========================================================================
   Talixman Group — feuille de style partagée
   Tokens issus du design Figma (Main black, Main light, Terracotta…)
   ========================================================================== */

:root {
  /* Couleurs (noms Figma en commentaire) */
  --bg: #080201;            /* Main black */
  --bg-2: #0F0907;          /* Secondary Black */
  --bg-3: #140C0A;
  --light: #FAF1ED;         /* Main light */
  --text: #E6DDDA;          /* Body text */
  --stroke: #B3ACA9;        /* Meta Data (bordures) */
  --muted: #807B78;         /* Meta Data Lower */
  --hover-gray: #262424;    /* Hovering Gray */
  --terra: #E66745;         /* Accent 1 Terracotta Core */
  --terra-2: #D15E3F;       /* Terracotta Alternative 2 */
  --terra-3: #B85034;
  --terra-dark: #401814;    /* Terracotta Alternative 3 */
  --teal: #3C8C99;          /* Accent 1.1 Cyber Teal */
  --line: rgba(179, 172, 169, 0.28);
  --line-strong: rgba(179, 172, 169, 0.55);

  --accent: var(--terra);
  --accent-soft: rgba(230, 103, 69, 0.14);
  --grad: linear-gradient(270deg, #E66745 0%, #B85034 100%);

  /* Typo : F37 Moon / F37 Hybrid (si installées), sinon Outfit */
  --font: 'F37 Moon', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'F37 Hybrid', 'F37 Moon', 'Outfit', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1272px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-pill: 50px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.32;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--terra); color: var(--light); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--terra); color: var(--light); padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

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

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

/* ---------- Typo utilitaires ---------- */
.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-2);
}
.meta--light { color: var(--light); }
.meta--muted { color: var(--stroke); }
.section-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  color: var(--light);
  letter-spacing: -0.01em;
}
.section-title--accent { color: var(--terra); }
.lead { color: var(--text); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45; }
.muted { color: var(--stroke); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 17px; line-height: 20px; font-weight: 300;
  color: var(--light);
  border: 1px solid var(--stroke);
  transition: background .3s var(--ease-out), border-color .3s, color .3s, transform .3s var(--ease-out), box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--outline svg { color: var(--terra-2); }
.btn--outline:hover { border-color: var(--terra); background: rgba(230, 103, 69, 0.08); }
.btn--accent { border-color: var(--terra); }
.btn--accent svg { color: var(--terra); }
.btn--accent:hover { background: var(--grad); border-color: var(--light); }
.btn--accent:hover svg { color: var(--light); }
.btn--grad { background: var(--grad); border-color: var(--text); }
.btn--grad:hover { box-shadow: 0 8px 30px rgba(230, 103, 69, .35); transform: translateY(-1px); }
.btn--on-terra { border-color: var(--light); }
.btn--on-terra:hover { background: var(--light); color: var(--terra-2); }
.btn--on-terra:hover svg { color: var(--terra-2); }

/* ==========================================================================
   HEADER (bloc commun à toutes les pages)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: 24px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  padding: 15px 25px;
  background: rgba(15, 9, 7, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 0.5px solid var(--stroke);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled .nav { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); background: rgba(15, 9, 7, 0.96); }
.nav__logo { display: block; width: 230px; flex: none; }
.nav__logo img { width: 100%; height: auto; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__menu { display: flex; align-items: center; gap: 20px; }

.nav-item { position: relative; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px; height: 36px;
  border-radius: var(--radius-pill);
  font-size: 17px; line-height: 20px; color: var(--light); font-weight: 300;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
/* Products / Company : sans couleur au repos, orange au survol (et menu ouvert) */
.nav-btn:hover, .nav-btn:focus-visible, .nav-item.is-open > .nav-btn {
  background: var(--grad); border-color: var(--text);
  box-shadow: 0 6px 24px rgba(230, 103, 69, .3);
}
.nav-btn .chev { width: 10px; height: 10px; transition: transform .3s var(--ease-out); }
.nav-item.is-open .chev { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
  position: absolute; right: 0; top: calc(100% + 22px);
  min-width: 220px;
  background: var(--bg-2);
  border: 0.5px solid var(--stroke);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.dropdown::before { /* pont invisible pour le survol */
  content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px;
}
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 12px 14px; border-radius: 10px;
  color: var(--light); font-size: 16px;
  transition: background .2s, color .2s;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--hover-gray); }

.dropdown--products { width: min(560px, calc(100vw - 48px)); padding: 12px; }
.product-link {
  display: grid !important; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  padding: 14px !important;
}
.product-link__mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px dashed var(--muted); background: var(--bg);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
}
.product-link__mark--oculox { color: var(--terra); }
.product-link__mark--genesis { color: var(--teal); }
.product-link__mark--twins { color: var(--light); }
.product-link__name { display: block; font-size: 17px; color: var(--light); }
.product-link__desc { display: block; font-size: 14px; color: var(--stroke); margin-top: 3px; line-height: 1.35; }
.product-link__arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease-out), color .25s; }
.product-link:hover .product-link__arrow { color: var(--terra); transform: translate(2px, -2px); }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px;
  border: 1px solid rgba(250, 241, 237, 0.55);
  border-radius: var(--radius-pill);
}
.lang-switch button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px;
  border-radius: var(--radius-pill);
  font-size: 14px; line-height: 1; color: var(--stroke);
  transition: background .25s, color .25s;
}
.lang-switch button svg { width: 14px; height: 14px; }
.lang-switch button:hover { color: var(--light); }
.lang-switch button[aria-pressed="true"] { background: var(--light); color: var(--bg); }
/* Chargement : pas d'animation du sélecteur, et page masquée le temps d'appliquer le français */
html.no-anim .lang-switch button { transition: none; }
html.i18n-pending body { visibility: hidden; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--light); position: relative;
  transition: transform .3s var(--ease-out), background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Fil d'Ariane (pages produits) */
.breadcrumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--stroke); transition: color .2s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--light);
}
.breadcrumb .back svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.breadcrumb .back:hover { border-color: var(--terra); color: var(--light); }
.breadcrumb .back:hover svg { transform: translateX(-3px); }

/* ==========================================================================
   Indicateur "systems online"
   ========================================================================== */
.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot {
  position: relative; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-2); flex: none;
}
.status__dot::before, .status__dot::after {
  content: ''; position: absolute; inset: 0; margin: auto; border-radius: 50%;
}
.status__dot::before { width: 14px; height: 14px; background: var(--terra-dark); }
.status__dot::after { width: 10px; height: 10px; background: var(--terra); box-shadow: 0 0 6px 1px var(--terra); animation: pulse 2.4s ease-in-out infinite; }
.status .meta { color: var(--light); font-size: 10px; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }

/* ==========================================================================
   HERO (page principale)
   ========================================================================== */
.hero { padding-top: clamp(56px, 8vw, 96px); }
.hero__text { max-width: 760px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 25px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--light);
}
.hero__lead { color: var(--text); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; max-width: 720px; }
.hero__media {
  position: relative; margin-top: clamp(40px, 5vw, 60px);
  aspect-ratio: 1272 / 510;
  border: 0.5px solid var(--light);
  overflow: hidden;
  background: #BB4F35;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.hero__media.is-visible img { transform: scale(1); }
.hero__media::after { /* scanline discrète */
  content: ''; position: absolute; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(250, 241, 237, .07), transparent);
  animation: scan 7s linear infinite; pointer-events: none;
}
@keyframes scan { from { top: -30%; } to { top: 100%; } }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.section { padding-block: clamp(80px, 11vw, 150px); }
.industries__intro { text-align: center; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.industries__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.06; color: var(--light); letter-spacing: -.015em; }
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px;
  margin-top: clamp(28px, 4vw, 44px);
}
.tab {
  position: relative;
  padding: 10px 20px; border-radius: var(--radius-pill);
  font-size: 17px; color: var(--light);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, color .3s;
}
.tab:hover { background: var(--hover-gray); }
.tab[aria-selected="true"] { background: var(--grad); border-color: var(--text); box-shadow: 0 6px 24px rgba(230, 103, 69, .25); }

.industry-viewport {
  position: relative; overflow: hidden;
  margin-top: clamp(36px, 5vw, 60px);
  border: 0.5px solid var(--stroke);
  touch-action: pan-y;
}
.industry-track { display: flex; transition: transform .8s var(--ease); will-change: transform; }
.industry {
  flex: 0 0 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 41vw, 526px);
  background: var(--bg);
}
.industry__body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 4vw, 44px); }
.industry__title { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; color: var(--light); font-weight: 300; }
.industry__rule { height: 1px; width: 90%; background: linear-gradient(90deg, var(--muted), transparent); }
.industry__desc { color: var(--stroke); font-size: 17px; line-height: 1.5; }
.industry__media { position: relative; overflow: hidden; background: #BB4F35; }
.industry__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.industry.is-active .industry__media img { transform: scale(1); }
.industry__body > * { opacity: 0; transform: translateX(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.industry.is-active .industry__body > * { opacity: 1; transform: none; }
.industry.is-active .industry__body > *:nth-child(2) { transition-delay: .12s; }
.industry.is-active .industry__body > *:nth-child(3) { transition-delay: .2s; }
.industry.is-active .industry__body > *:nth-child(4) { transition-delay: .28s; }
.industry-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.industry-dots span { width: 22px; height: 2px; background: var(--line-strong); transition: background .3s, width .3s; }
.industry-dots span.is-active { background: var(--terra); width: 40px; }

/* ==========================================================================
   CORE SERVICES
   ========================================================================== */
.service {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 160px minmax(0, 1.1fr);
  align-items: center; gap: 32px;
  padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.service:first-of-type { padding-top: 0; }
.service__icon img { width: 100%; max-width: 220px; height: auto; transition: transform .6s var(--ease-out); }
.service:hover .service__icon img { transform: scale(1.04); }
.service__main { display: flex; flex-direction: column; gap: 14px; }
.service__title { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.1; color: var(--light); font-weight: 300; }
.service__rule { width: 72%; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.service__desc { color: var(--light); font-size: 18px; line-height: 1.4; max-width: 420px; }
.service__arrow { color: var(--muted); }
.service__arrow svg { width: 100%; height: 12px; }
.service__points { display: flex; flex-direction: column; gap: 18px; }
.service__points h4 { font-weight: 300; font-size: 19px; color: var(--light); margin-bottom: 4px; }
.service__points p { font-size: 14px; line-height: 1.45; letter-spacing: .04em; color: var(--stroke); }
/* Talixman Academy : modules de formation sous forme d'étiquettes */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: 13.5px; line-height: 1.3; color: var(--text);
  transition: border-color .25s, color .25s;
}
.tags li:hover { border-color: var(--terra); color: var(--light); }

/* ==========================================================================
   OUR PROCESS
   ========================================================================== */
.process-map { position: relative; width: 100%; container-type: inline-size; min-height: 56vw; min-height: 56cqw; }
.process-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Connecteurs : trait blanc fin et statique */
.process-lines path { fill: none; stroke: rgba(250, 241, 237, .6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.step {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px 22px 24px;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.step__head { display: grid; grid-template-columns: 32px 1fr; gap: 6px 14px; align-items: end; }
.step__icon { width: 30px; height: 30px; color: var(--light); grid-row: span 2; align-self: center; }
.step__icon svg { width: 100%; height: 100%; }
.step .meta { color: var(--stroke); font-size: 11px; }
.step__title { font-size: clamp(16px, 1.45vw, 20px); color: var(--light); font-weight: 300; line-height: 1.15; }
.step__rule { height: 1px; margin: 14px 0; background: linear-gradient(90deg, var(--line-strong), transparent 80%); }
.step__desc { font-size: clamp(12.5px, 1.05vw, 14px); line-height: 1.5; letter-spacing: .05em; color: var(--stroke); }
.process-dot {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--terra); box-shadow: 0 0 0 4px rgba(230, 103, 69, .18), 0 0 10px rgba(230, 103, 69, .6);
}
/* Positions (coordonnées du design rapportées à la largeur 1272px) */
.step--1 { left: .6%;   top: 1cqw;    width: 27.8%; }
.step--2 { left: 35.8%; top: 0;       width: 26.3%; }
.step--3 { left: 52.7%; top: 19.6cqw; width: 24.8%; }
.step--4 { left: 16.7%; top: 18.2cqw; width: 26.5%; }
.step--5 { left: 35.6%; top: 34cqw;   width: 27.4%; }
.step--6 { left: 73.1%; top: 35.5cqw; width: 26.2%; }

/* ==========================================================================
   RESULTS + PARTNERS
   ========================================================================== */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.result { text-align: center; }
.result__head { display: flex; align-items: baseline; justify-content: center; gap: 18px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); }
.result__num { font-size: clamp(44px, 5vw, 70px); line-height: 1; color: var(--terra); font-weight: 300; font-variant-numeric: tabular-nums; }
.result__label { font-size: clamp(24px, 2.6vw, 36px); color: var(--light); font-weight: 300; line-height: 1.1; }
.result__desc { margin-top: 22px; color: var(--text); font-size: 17px; line-height: 1.5; }

.partners { margin-top: clamp(80px, 10vw, 140px); }
/* Pastilles partenaires : dimensions du design (hauteur 59.23px, padding 5/10px 20px, gap 10px) */
.partners__title { text-align: center; font-size: 23.8px; line-height: 28px; color: var(--text); font-weight: 400; margin-bottom: 35px; }
.partners__grid { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }
.partner {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 59.23px; padding: 5px 20px;
  border: 1px solid var(--muted); border-radius: var(--radius-pill);
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.partners__row--2 .partner { padding: 10px 20px; }
.partner:hover { border-color: var(--terra); background: rgba(230, 103, 69, .06); transform: translateY(-2px); }
.partner img { flex: none; object-fit: contain; }
.partner span { font-size: 17px; line-height: 22px; color: #FFFFFF; font-weight: 400; white-space: nowrap; }

/* ==========================================================================
   OFFICE LOCATIONS
   ========================================================================== */
.map { position: relative; width: 100%; max-width: 1192px; margin-inline: auto; aspect-ratio: 1192 / 618; }
.map__dots { width: 100%; height: 100%; opacity: .9; }
.pin {
  position: absolute;
  width: clamp(16px, 2.77%, 33px);
  transform: translate(-50%, -93%);
  transform-origin: 50% 93%;
  z-index: 2;
  animation: pin-drop .9s var(--ease-out) both;
  animation-play-state: paused;
}
.map.is-visible .pin { animation-play-state: running; }
.pin img { width: 100%; height: auto; transition: transform .3s var(--ease-out), filter .3s; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.pin:hover img, .pin.is-active img, .pin:focus-visible img { transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 10px 16px rgba(230, 103, 69, .45)); }
.pin::after { /* halo pulsant sur le point */
  content: ''; position: absolute; left: 50%; bottom: 7%;
  width: 60%; aspect-ratio: 1; transform: translate(-50%, 50%);
  border-radius: 50%; border: 1px solid var(--terra);
  animation: ripple 2.6s ease-out infinite; pointer-events: none;
}
@keyframes ripple { 0% { opacity: .9; transform: translate(-50%, 50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%, 50%) scale(2.6); } }
@keyframes pin-drop { 0% { opacity: 0; transform: translate(-50%, -260%); } 60% { opacity: 1; transform: translate(-50%, -85%); } 100% { transform: translate(-50%, -93%); } }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  background: var(--bg-2); border: 0.5px solid var(--stroke);
  padding: 10px 14px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease-out), visibility .25s;
  pointer-events: none;
}
.pin__label strong { display: block; font-weight: 400; color: var(--light); font-size: 15px; }
.pin__label .meta { font-size: 10px; }
.pin:hover .pin__label, .pin.is-active .pin__label, .pin:focus-visible .pin__label { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pin:hover, .pin.is-active, .pin:focus-visible { z-index: 5; }

/* Pin inversé (pointe vers le haut) : utilisé quand le pin cacherait des points clients */
.pin--up { transform: translate(-50%, -7%); transform-origin: 50% 7%; animation-name: pin-drop-up; }
.pin--up::after { bottom: auto; top: 7%; transform: translate(-50%, -50%); animation-name: ripple-up; }
.pin--up .pin__label { bottom: auto; top: calc(100% + 10px); transform: translate(-50%, -6px); }
.pin--up:hover img, .pin--up.is-active img, .pin--up:focus-visible img { transform: translateY(4px) scale(1.1); }
@keyframes pin-drop-up { 0% { opacity: 0; transform: translate(-50%, 160%); } 60% { opacity: 1; transform: translate(-50%, -14%); } 100% { transform: translate(-50%, -7%); } }
@keyframes ripple-up { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); } }

.map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 28px; color: var(--stroke); font-size: 15px; }
.map-legend li { display: inline-flex; align-items: center; gap: 10px; }
.map-legend img { width: 12px; height: auto; flex: none; }
.offices { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.office-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: 15px; color: var(--light);
  transition: border-color .25s, background .25s;
}
.office-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.office-chip:hover, .office-chip.is-active { border-color: var(--terra); background: rgba(230, 103, 69, .08); }
.office-chip small { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   OPEN ROLES
   ========================================================================== */
.roles { width: 100%; }
.roles__head, .role {
  display: grid; grid-template-columns: 110px minmax(0, 2.2fr) minmax(0, 1.1fr) minmax(0, 1.1fr) auto;
  align-items: center; gap: 16px;
}
.roles__head { padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); color: var(--light); font-size: 17px; }
.roles__head span:first-child { grid-column: 2; }
.role { padding-block: 40px; border-bottom: 1px solid var(--line); transition: background .3s; }
.role:hover { background: linear-gradient(90deg, rgba(230, 103, 69, .05), transparent 70%); }
.role__num { font-family: var(--font-mono); font-size: 13px; color: var(--stroke); }
.role__title { font-size: clamp(22px, 2.2vw, 30px); color: var(--light); font-weight: 300; }
.role__dept { color: var(--light); font-size: 17px; }
.role__loc { color: var(--light); font-size: 17px; line-height: 1.3; }
.role__loc span { display: block; color: var(--stroke); }
.talent {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-strong);
}
.talent h3 { font-size: clamp(20px, 2vw, 28px); color: var(--light); font-weight: 300; }
.talent p { color: var(--stroke); margin-top: 6px; }

/* ==========================================================================
   LAST CTA
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  background: var(--terra-2);
  text-align: center;
  padding-block: clamp(72px, 9vw, 120px);
}
.cta::before { /* motif X */
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M7 7l8 8M15 7l-8 8' stroke='%23401814' stroke-width='1.2' opacity='.35'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  opacity: .8;
}
.cta > .container { position: relative; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.05; color: var(--light); letter-spacing: -.02em; }
.cta__sub { margin: 18px 0 30px; font-size: clamp(24px, 2.8vw, 40px); color: var(--light); font-weight: 300; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--bg); padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 120px); flex-wrap: wrap; }
.footer__col h3 { font-size: 17px; font-weight: 300; color: var(--light); margin-bottom: 14px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--stroke); font-size: 16px; transition: color .2s; }
.footer__col a:hover { color: var(--terra); }
.footer__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer__copy { color: var(--stroke); font-size: 16px; }
.footer__rule { margin-top: clamp(48px, 6vw, 80px); height: 1px; background: linear-gradient(90deg, var(--muted), transparent); }
/* Grand logo en filigrane : entièrement visible, aligné sur la largeur du contenu */
.footer__mark {
  display: block;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container);
  height: auto;
  margin: clamp(32px, 4vw, 56px) auto clamp(32px, 4vw, 56px);
  opacity: .14;
  user-select: none; pointer-events: none;
}

/* ==========================================================================
   PAGES PRODUITS
   ========================================================================== */
.product-page[data-product="genesis"] { --accent: var(--teal); --accent-soft: rgba(60, 140, 153, .16); }
.product-page[data-product="twins"] { --accent: var(--teal); --accent-soft: rgba(60, 140, 153, .16); }

.p-hero { padding-top: clamp(48px, 6vw, 72px); text-align: center; }
.p-badge {
  position: relative; display: inline-block;
  padding: clamp(22px, 3vw, 34px) clamp(36px, 6vw, 80px);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 28%, transparent) 0%, #0F0907 62%);
  border: 1.5px dashed var(--muted);
}
.p-badge::before, .p-badge::after { content: ''; position: absolute; width: 6px; height: 6px; background: var(--stroke); }
.p-badge::before { left: -4px; top: -4px; }
.p-badge::after { right: -4px; bottom: -4px; }
.p-badge__name {
  font-family: var(--font); font-weight: 400;
  font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: .01em;
  color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.product-page[data-product="twins"] .p-badge__name { font-size: clamp(34px, 5.6vw, 76px); color: var(--light); text-shadow: 0 0 36px rgba(250, 241, 237, .45); }
.product-page[data-product="twins"] .p-badge { background: radial-gradient(ellipse at center, rgba(250, 241, 237, .14) 0%, #0F0907 62%); }
.p-hero .meta { margin-top: 36px; color: var(--stroke); }
.p-hero__title { margin: 22px auto 0; max-width: 980px; font-size: clamp(30px, 4vw, 54px); line-height: 1.12; color: var(--light); font-weight: 300; letter-spacing: -.01em; }
.p-hero__lead { margin: 24px auto 0; max-width: 860px; color: var(--stroke); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; }
.p-hero__actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.p-hero__actions .btn--accent { border-color: var(--accent); }
.p-hero__actions .btn--accent svg { color: var(--accent); }

/* Points clés (bénéfices) */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); margin-top: clamp(56px, 7vw, 90px); }
.benefit { padding: 28px 30px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit p { margin-top: 10px; color: var(--stroke); font-size: 15px; line-height: 1.45; }
.benefit .benefit__num { margin-top: 0; font-size: clamp(28px, 2.8vw, 38px); color: var(--accent); font-weight: 300; line-height: 1.05; }

/* Grille de capacités (serpentin) */
.caps {
  --cg: clamp(32px, 4.5vw, 58px);
  position: relative; display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 80px auto;
  column-gap: var(--cg); row-gap: 0;
}
.cap {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
  z-index: 1;
}
.cap:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.cap .meta { color: var(--accent); font-size: 10px; }
.cap__title { font-size: 19px; color: var(--light); font-weight: 300; line-height: 1.2; margin-top: 2px; }
.cap__rule { height: 1px; width: 70%; background: linear-gradient(90deg, var(--line-strong), transparent); }
.cap__desc { font-size: 14px; line-height: 1.5; letter-spacing: .04em; color: var(--text); }
/* connecteurs horizontaux */
.cap:not(:nth-child(3n))::after {
  content: ''; position: absolute; top: 50%; left: 100%;
  width: var(--cg); height: 1px; background: var(--stroke); opacity: .6;
}
/* Virage du serpentin : de la carte 3 (en haut à droite) vers la carte 4 (en bas à gauche) */
.caps__turn {
  grid-row: 2; grid-column: 1 / -1;
  position: relative; pointer-events: none;
  margin-inline: calc((100% - 2 * var(--cg)) / 6);
}
.caps__turn::before, .caps__turn::after { content: ''; position: absolute; border-color: var(--stroke); border-style: solid; opacity: .6; }
.caps__turn::before { top: 0; height: 50%; left: 14px; right: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: 14px; }
.caps__turn::after { top: calc(50% - 1px); height: calc(50% + 1px); left: 0; width: 14px; border-width: 1px 0 0 1px; border-top-left-radius: 14px; }

/* Section agentique */
.agentic {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(800px 380px at 85% 0%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
}
.agentic::before { /* grille fine */
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(250, 241, 237, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 241, 237, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}
.agentic > * { position: relative; }
.agentic__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 56px; align-items: end; }
.agentic__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border: 1px solid var(--accent); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.agentic__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }
.agentic__title { margin-top: 18px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; color: var(--light); font-weight: 300; letter-spacing: -.01em; }
.agentic__lead { color: var(--stroke); font-size: 17px; line-height: 1.55; }
.agents { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent {
  background: rgba(8, 2, 1, .7);
  border: 1px solid var(--line);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.agent:hover { border-color: var(--accent); transform: translateY(-3px); }
.agent__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px dashed var(--muted); color: var(--accent); }
.agent__icon svg { width: 22px; height: 22px; }
.agent h3 { font-size: 19px; font-weight: 300; color: var(--light); }
.agent p { font-size: 14.5px; line-height: 1.5; color: var(--stroke); }
.guardrail {
  margin-top: 20px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border: 1px solid var(--line);
  background: rgba(8, 2, 1, .6);
  color: var(--text); font-size: 15px; line-height: 1.5;
}
.guardrail svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.guardrail strong { color: var(--light); font-weight: 400; }

/* Pipeline / workflow */
.pipeline__head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }
.pipeline__head h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--light); font-weight: 300; line-height: 1.15; }
.pipeline__head p { margin-top: 16px; color: var(--text); font-size: 17px; }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 3), 1fr); gap: 24px; }
.pipeline::before { /* ligne pointillée */
  content: ''; position: absolute; top: 31px; left: calc(100% / (var(--steps, 3) * 2)); right: calc(100% / (var(--steps, 3) * 2));
  border-top: 1.5px dashed rgba(250, 241, 237, .45);
}
.pstep { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pstep__node {
  position: relative; width: 62px; height: 62px; display: grid; place-items: center;
  background: var(--bg);
}
.pstep__node::before { content: ''; position: absolute; inset: 0; border: 1.5px dashed var(--muted); border-radius: 50%; }
.pstep__node i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); transition: transform .4s var(--ease-out), box-shadow .4s; }
.pipeline--square .pstep__node::before { border-radius: 0; background: rgba(250, 241, 237, .03); }
.pipeline--square .pstep__node i { border-radius: 0; }
.pstep:hover .pstep__node i { transform: scale(1.12); box-shadow: 0 0 24px var(--accent); }
.pstep h3 { margin-top: 24px; font-size: 19px; color: var(--light); font-weight: 300; }
.pstep p { margin-top: 8px; max-width: 280px; font-size: 14px; line-height: 1.5; letter-spacing: .04em; color: var(--stroke); }
/* étape agentique mise en avant */
.pstep--agentic .pstep__node i { background: transparent; border: 1.5px solid var(--accent); display: grid; place-items: center; color: var(--accent); box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 50%, transparent); }
.pstep--agentic .pstep__node i svg { width: 20px; height: 20px; }
.pstep--agentic .pstep__node::before { border-color: var(--accent); animation: spin 14s linear infinite; }
.pipeline--square .pstep--agentic .pstep__node::before { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pstep__tag {
  margin-top: 14px;
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
/* Phases du workflow (Digital Twins) : accolades au-dessus des étapes */
.phases { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 24px; margin-bottom: 34px; }
.phase {
  position: relative; text-align: center;
  padding-bottom: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.phase::after { /* accolade : trait + deux retours */
  content: ''; position: absolute; left: 8%; right: 8%; bottom: 0; height: 8px;
  border: 1px solid var(--line-strong); border-bottom: 0;
}
.phase > span { display: inline-flex; align-items: center; gap: 8px; }
.phase--ai { color: var(--accent); }
.phase--ai::after { border-color: var(--accent); }
.ai-chip {
  display: inline-grid; place-items: center;
  height: 18px; padding: 0 6px; border-radius: 4px;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em;
}
.pstep__node .ai-chip { position: absolute; top: -9px; right: -14px; box-shadow: 0 0 0 3px var(--bg); }
.pstep--ai .pstep__node::before { border-color: var(--accent); }
.pstep--ai .pstep__node i { box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.pstep__ai { display: none; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Couche agentique sous la frise : s'étend sous les étapes concernées (--from / --to) */
.agentic-rail { display: grid; grid-template-columns: repeat(var(--steps, 3), 1fr); gap: 24px; margin-top: 36px; }
.agentic-rail__box {
  grid-column: var(--from) / var(--to);
  position: relative;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
}
.agentic-rail__box::before { /* liaison vers les étapes */
  content: ''; position: absolute; left: 25%; right: 25%; top: -37px; height: 36px;
  border: 1px dashed var(--accent); border-bottom: 0; opacity: .7;
}
.agentic-rail__box p { flex: 1 1 260px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.pstep__agent { margin-top: 12px; width: 100%; max-width: 280px; font-size: 13px; line-height: 1.45; color: var(--text); padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--accent-soft); text-align: left; }

/* ==========================================================================
   PAGE 404
   ========================================================================== */
.notfound { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.notfound .meta { font-size: 14px; }
.notfound__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -.015em; color: var(--light); max-width: 820px; }
.notfound__lead { color: var(--stroke); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; max-width: 620px; }
.notfound__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.notfound__links a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border: 1px solid var(--line-strong);
  color: var(--light); font-size: 16px;
  transition: border-color .25s, background .25s;
}
.notfound__links a:hover { border-color: var(--terra); background: rgba(230, 103, 69, .06); }
.notfound__links .product-link__mark { width: 36px; height: 36px; }
main:focus { outline: none; }

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .service { grid-template-columns: 160px minmax(0, 1fr); }
  .service__arrow { display: none; }
  .service__points { grid-column: 2; }
  /* Process : timeline verticale */
  .process-map { min-height: 0; height: auto !important; display: flex; flex-direction: column; gap: 18px; padding-left: 28px; }
  .process-map::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, var(--terra), rgba(250, 241, 237, .15)); }
  .process-lines, .process-dot { display: none; }
  .step { position: relative; left: auto !important; top: auto !important; width: 100% !important; }
  .step::before { content: ''; position: absolute; left: -28px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 10px rgba(230, 103, 69, .6); }
  .agents { grid-template-columns: repeat(2, 1fr); }
  .pipeline--five { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .pipeline--five::before { display: none; }
  .phases { display: none; }
  .pstep__ai { display: inline-block; }
  .agentic-rail { grid-template-columns: 1fr; }
  .agentic-rail__box { grid-column: 1 / -1; }
  .agentic-rail__box::before { display: none; }
}

@media (max-width: 900px) {
  .nav { height: 64px; padding: 10px 14px 10px 18px; }
  .nav__logo { width: 168px; }
  .nav-toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; left: -0.5px; right: -0.5px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--bg-2); border: 0.5px solid var(--stroke);
    padding: 14px;
    max-height: calc(100vh - 110px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav-btn { width: 100%; justify-content: space-between; height: 46px; padding: 0 16px; }
  .dropdown, .dropdown--products {
    position: static; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 4px 8px;
    display: none; opacity: 1; visibility: visible; transform: none; background: transparent;
  }
  .dropdown::before { display: none; }
  .nav-item.is-open > .dropdown { display: block; }
  .nav__right { gap: 10px; }

  .industry { grid-template-columns: 1fr; }
  .industry__media { order: -1; aspect-ratio: 16 / 10; }
  .results { grid-template-columns: 1fr; }
  .roles__head { display: none; }
  .role { grid-template-columns: 1fr; gap: 8px; padding-block: 28px; }
  .role .btn { justify-self: start; margin-top: 10px; }
  .caps { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; padding-left: 24px; }
  .caps::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--accent), transparent); }
  .cap::after, .caps__turn { display: none; }
  .cap::before { content: ''; position: absolute; left: -28px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .agentic__head { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 40px; }
  .pipeline::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 1.5px dashed rgba(250, 241, 237, .3); }
  .pstep { background: var(--bg); padding-block: 8px; }
  .footer__side { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section-head { flex-direction: column; gap: 10px; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .service__icon img { max-width: 150px; }
  .service__points { grid-column: auto; }
  .agents { grid-template-columns: 1fr; }
  .partner { min-width: 0; flex: 1 1 100%; max-width: none; }
  .hero__media { aspect-ratio: 4 / 3; }
  .lang-switch button { padding: 0 9px; }
  .lang-switch button svg { display: none; }
  .nav__logo { width: 138px; }
  .nav { padding-left: 14px; }
  .talent .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
