/* ============================================================
   AIO-Pilot — Homepage (charte AIO) — Lot 2a 2026-06-16
   Police Inter EMBARQUÉE EN LOCAL (souveraineté : zéro CDN)
   ============================================================ */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/inter/inter-latin-400.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-400.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/inter/inter-latin-500.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-500.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/inter/inter-latin-600.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-600.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/inter/inter-latin-700.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-700.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/inter/inter-latin-800.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-800.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:900;font-display:swap;src:url("/assets/fonts/inter/inter-latin-900.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:900;font-display:swap;src:url("/assets/fonts/inter/inter-latinext-900.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}
:root {
  --bg: #060b16;
  --bg-deep: #030712;
  --panel: #0e1424;
  --panel-soft: #14182a;
  --panel-violet: #191026;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f7f7ff;
  --muted: #a4a6b4;
  --quiet: #777b8b;
  --violet: #8b18ff;
  --violet-hot: #b000ff;
  --cyan: #00c2ff;
  --green: #00d48c;
  --orange: #ff7a00;
  --pink: #f50073;
  --blue: #3656ff;
  --radius: 8px;
  --pill: 999px;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
  --font: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #060b16;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(139, 24, 255, 0.1), transparent 34%),
    linear-gradient(245deg, rgba(0, 212, 140, 0.08), transparent 32%),
    linear-gradient(180deg, #090d1a 0%, #060b16 42%, #050917 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 64%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 26px 24px 0;
  transition: transform 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
}

.nav-shell {
  width: min(1510px, calc(100% - 28px));
  min-height: 58px;
  margin: 0 auto;
  padding: 8px 10px 8px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pill);
  background: rgba(22, 27, 44, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: cover;
  object-position: left center;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.38));
}

.brand-text {
  font-size: 1.06rem;
  line-height: 1;
}

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

.nav-links a,
.portal-link {
  padding: 10px 12px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.portal-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  place-items: center;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: #fff;
}

.button {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--pill);
  background: linear-gradient(135deg, var(--violet), var(--violet-hot));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(139, 24, 255, 0.32);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 38%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  animation: shine 5s ease-in-out infinite;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(139, 24, 255, 0.45);
}

.button-small {
  min-height: 41px;
  padding: 0 22px;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 780;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.section {
  width: min(1780px, calc(100% - 112px));
  margin: 0 auto;
  padding: 118px 0;
}

.hero {
  min-height: 100vh;
  padding-top: 176px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 88px);
}

.hero-copy {
  max-width: 760px;
}

.micro-badge,
.section-kicker {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 0 31px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  font-weight: 850;
}

.section-kicker {
  min-height: 42px;
  margin-bottom: 22px;
  background: rgba(0, 212, 140, 0.14);
  color: var(--green);
}

.section-kicker.orange {
  background: rgba(255, 122, 0, 0.14);
  color: var(--orange);
}

.section-kicker img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

h1 {
  margin: 0 0 34px;
  font-size: clamp(3.6rem, 5.1vw, 6rem);
  line-height: 0.98;
  font-weight: 900;
}

.tone-muted,
.section-title h2 span {
  color: rgba(255, 255, 255, 0.55);
}

.tone-violet {
  display: inline;
  color: var(--violet-hot);
  text-shadow: 0 0 34px rgba(176, 0, 255, 0.24);
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-dashboard {
  margin: 0;
  padding: 0;
  position: relative;
  transform-style: preserve-3d;
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 7% 5% 1%;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 24, 255, 0.3), rgba(0, 212, 140, 0.08));
  filter: blur(54px);
  opacity: 0.72;
}

.hero-dashboard img {
  position: relative;
  width: 100%;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  animation: floatY 7s ease-in-out infinite;
}

.referential-bar {
  margin-top: clamp(88px, 11vw, 160px);
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  align-items: center;
  gap: 48px;
}

.referential-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.12rem;
  font-weight: 800;
}

.referential-bar strong {
  color: var(--orange);
}

.referential-marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--pill);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.referential-marquee::before,
.referential-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 124px;
  pointer-events: none;
}

.referential-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 11, 22, 0.72) 40%, transparent 100%);
  box-shadow: 38px 0 56px rgba(6, 11, 22, 0.72);
}

.referential-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(6, 11, 22, 0.72) 40%, transparent 100%);
  box-shadow: -38px 0 56px rgba(6, 11, 22, 0.72);
}

.referential-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 38px;
  animation: logoMarquee 24s linear infinite;
}

.referential-marquee:hover .referential-track {
  animation-play-state: paused;
}

.referential-track span {
  min-width: 100px;
  display: grid;
  place-items: center;
  gap: 8px;
  opacity: 0.78;
  filter: grayscale(0.12);
  transition: opacity 180ms ease, transform 180ms ease;
}

.referential-track span:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.referential-track img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

.referential-track em {
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
}

.section-title {
  margin-bottom: 66px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
}

.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.mastery-grid {
  margin-top: 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 190px;
}

.glass-card {
  position: relative;
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18, 24, 40, 0.82), rgba(22, 11, 38, 0.9)),
    var(--panel);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glass-card::before,
.module-chip::before,
.stat-tile::before,
.ai-card::before,
.levels-card::before,
.security-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.glass-card:hover,
.module-chip:hover,
.stat-tile:hover,
.ai-card:hover,
.levels-card:hover,
.security-card:hover {
  border-color: rgba(139, 24, 255, 0.34);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36), 0 0 52px rgba(139, 24, 255, 0.1);
}

.glass-card:hover::before,
.module-chip:hover::before,
.stat-tile:hover::before,
.ai-card:hover::before,
.levels-card:hover::before,
.security-card:hover::before {
  opacity: 1;
}

.card-heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-heading img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.card-heading h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.2vw, 1.45rem);
  line-height: 1.12;
  font-weight: 900;
}

.glass-card > p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 1rem;
  font-weight: 650;
}

.floating-metrics {
  position: relative;
  height: 278px;
  margin-top: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(139, 24, 255, 0.12), rgba(18, 24, 40, 0.26));
}

.metric {
  position: absolute;
  width: 104px;
  min-height: 78px;
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 3px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  animation: floatY 6s ease-in-out infinite;
}

.metric strong {
  font-size: 2rem;
  line-height: 1;
}

.metric-blue {
  top: 12px;
  left: 18px;
  background: linear-gradient(135deg, #485bff, #5c36f3);
}

.metric-green {
  top: 86px;
  right: 34px;
  background: linear-gradient(135deg, #03c78a, #009970);
  animation-delay: -1.3s;
}

.metric-violet {
  left: 72px;
  bottom: 42px;
  background: linear-gradient(135deg, #8b18ff, #6b37ff);
  animation-delay: -2.4s;
}

.metric-cyan {
  right: 92px;
  bottom: 18px;
  background: linear-gradient(135deg, #008bff, #0071d8);
  animation-delay: -3.2s;
}

.referential-map {
  position: relative;
  height: 286px;
  margin-top: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.14) 49% 51%, transparent 51%),
    linear-gradient(transparent 49%, rgba(255, 255, 255, 0.14) 49% 51%, transparent 51%);
  background-size: 128px 96px;
  mask-image: linear-gradient(160deg, transparent 6%, #000 24% 84%, transparent);
}

.automation-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
}

.connection-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.56);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 12;
  filter: drop-shadow(0 0 8px rgba(139, 24, 255, 0.32));
  animation: dashFlow 1.6s linear infinite;
}

.line-two {
  stroke: rgba(0, 212, 140, 0.68);
  animation-duration: 1.95s;
}

.line-three {
  stroke: rgba(0, 194, 255, 0.62);
  animation-duration: 2.2s;
}

.line-four {
  stroke: rgba(255, 122, 0, 0.66);
  animation-duration: 1.8s;
}

.sync-pulse {
  fill: #fff;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px rgba(176, 0, 255, 0.8));
  animation: pulseTravelOne 4.8s linear infinite;
}

.pulse-two {
  fill: var(--green);
  animation-name: pulseTravelTwo;
  animation-delay: -2s;
}

.referential-map::before {
  content: "";
  position: absolute;
  inset: 34px 50px;
  border: 2px dashed rgba(255, 255, 255, 0.23);
  border-radius: 8px;
}

.node {
  position: absolute;
  z-index: 2;
  padding: 8px 10px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(12, 16, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 850;
}

.node::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 2px dotted rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  vertical-align: -2px;
}

.node-dora {
  top: 24px;
  left: 70px;
}

.node-iso {
  top: 42px;
  right: 44px;
}

.node-ai {
  top: 118px;
  left: 150px;
}

.node-rgpd {
  top: 174px;
  left: 30px;
}

.node-nis {
  top: 166px;
  right: 72px;
}

.node-rse {
  bottom: 26px;
  left: 76px;
}

.node-sec {
  right: 46px;
  bottom: 26px;
}

.module-icon-marquee {
  position: relative;
  margin: 26px -7% -18px;
  padding: 8px 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.module-icon-marquee::before,
.module-icon-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 86px;
  pointer-events: none;
}

.module-icon-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 10, 30, 0.98), rgba(18, 10, 30, 0.56), transparent);
  box-shadow: 30px 0 44px rgba(10, 8, 18, 0.64);
}

.module-icon-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 10, 30, 0.98), rgba(18, 10, 30, 0.56), transparent);
  box-shadow: -30px 0 44px rgba(10, 8, 18, 0.64);
}

.module-icon-row {
  min-width: 0;
  overflow: hidden;
}

.module-icon-track {
  width: max-content;
  display: flex;
  gap: 12px;
  animation: moduleMarqueeLeft 19s linear infinite;
}

.row-right .module-icon-track {
  animation-name: moduleMarqueeRight;
}

.module-icon-row:nth-child(2) .module-icon-track {
  animation-duration: 22s;
}

.module-icon-row:nth-child(3) .module-icon-track {
  animation-duration: 20s;
}

.module-icon-row:nth-child(4) .module-icon-track {
  animation-duration: 24s;
}

.module-icon-marquee:hover .module-icon-track {
  animation-play-state: paused;
}

.module-icon-track span {
  width: 104px;
  min-height: 82px;
  padding: 10px 8px;
  display: grid;
  place-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(13, 17, 31, 0.84);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.module-icon-track img {
  width: auto;
  max-width: 48px;
  height: 32px;
  object-fit: contain;
}

.module-icon-track em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.05;
  text-align: center;
  font-style: normal;
  font-weight: 850;
}

.code-card,
.deployment-card {
  min-height: 548px;
}

.code-viewport {
  height: 330px;
  margin-top: 44px;
  overflow: hidden;
  border-radius: 8px;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 84%, transparent);
}

.code-stream {
  display: grid;
  gap: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  font-weight: 650;
  animation: codeScroll 13s linear infinite;
}

.code-viewport:hover .code-stream {
  animation-play-state: paused;
}

.code-line {
  position: relative;
  margin: 0;
  padding-left: 17px;
  clip-path: inset(0 100% 0 0);
  animation: typingReveal 6.2s steps(42, end) infinite;
  animation-delay: calc(var(--i) * 0.28s);
}

.code-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-hot);
  box-shadow: 0 0 14px rgba(176, 0, 255, 0.82);
}

.code-line span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.code-line strong {
  color: #ff004d;
}

.code-line em {
  color: #00f0b2;
  font-style: normal;
}

.tenant-rotator {
  position: relative;
  height: 294px;
  margin-top: 46px;
}

.tenant-viewport {
  position: absolute;
  inset: 0 0 auto;
  animation: tenantRotate 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  will-change: transform, opacity;
}

.tenant-viewport:nth-child(2) {
  animation-delay: -3s;
}

.tenant-viewport:nth-child(3) {
  animation-delay: -6s;
}

.tenant {
  position: relative;
  padding: 22px 126px 22px 28px;
  border-left: 5px solid currentColor;
  border-radius: 7px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.tenant strong,
.tenant span {
  display: block;
}

.tenant strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.tenant span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
}

.tenant em {
  position: absolute;
  top: 21px;
  right: 24px;
  padding: 8px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}

.tenant-admin {
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.4), rgba(255, 122, 0, 0.16));
  color: var(--orange);
}

.tenant-operator {
  background: linear-gradient(90deg, rgba(0, 212, 140, 0.4), rgba(0, 212, 140, 0.15));
  color: var(--green);
}

.tenant-client {
  background: linear-gradient(90deg, rgba(139, 24, 255, 0.46), rgba(139, 24, 255, 0.17));
  color: var(--violet);
}

.production-section {
  padding-top: 132px;
}

.production-grid {
  min-height: 770px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.25fr) minmax(260px, 0.95fr);
  align-items: end;
  gap: 76px;
}

.tech-column,
.ops-column {
  display: grid;
  gap: 72px;
}

.ops-column {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 28px;
}

.stat-tile,
.levels-card,
.security-card,
.ai-card,
.module-chip {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.stat-tile {
  min-height: 282px;
  padding: 42px;
}

.stat-tile strong {
  display: block;
  font-size: clamp(2.5rem, 3.8vw, 4.6rem);
  line-height: 0.95;
  font-weight: 900;
}

.stat-tile span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 750;
}

.php-tile img {
  width: min(260px, 90%);
  margin-top: 40px;
  filter: drop-shadow(0 10px 18px rgba(0, 194, 255, 0.22));
}

.file-tile {
  min-height: 360px;
}

.file-tile strong {
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(4rem, 6vw, 7.2rem);
  line-height: 0.9;
}

.file-tile p {
  max-width: 220px;
  margin: 78px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.92rem;
  font-weight: 750;
}

.file-tile small {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(99, 112, 255, 0.34);
  color: #fff;
  font-weight: 900;
}

.ai-stage {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ai-watermark {
  position: relative;
  top: 0;
  width: min(620px, 96%);
  max-height: 345px;
  object-fit: contain;
  opacity: 0.68;
  mix-blend-mode: screen;
  filter: saturate(0.9) drop-shadow(0 0 34px rgba(139, 24, 255, 0.44));
}

.ai-card {
  position: relative;
  width: min(560px, 100%);
  min-height: 194px;
  padding: 90px 32px 48px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: center;
  gap: 16px;
  border-color: rgba(139, 24, 255, 0.24);
  background: linear-gradient(130deg, rgba(28, 14, 48, 0.95), rgba(62, 16, 107, 0.92));
  text-align: center;
  overflow: visible;
  z-index: 1;
}

.ai-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.ai-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
}

.ai-card-icon {
  position: absolute;
  top: -58px;
  left: 50%;
  width: 94px;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 34px rgba(139, 24, 255, 0.38));
}

.sql-tile {
  min-height: 260px;
  text-align: center;
}

.sql-tile img {
  width: 112px;
  margin: -2px auto 20px;
}

.levels-card {
  min-height: 260px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  overflow: visible;
}

.levels-card strong {
  color: rgba(255, 255, 255, 0.23);
  font-size: clamp(7rem, 10vw, 12rem);
  line-height: 0.8;
  font-weight: 900;
}

.levels-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.25rem, 1.55vw, 1.78rem);
  line-height: 1.16;
  font-weight: 700;
  max-width: 13ch;
  text-align: center;
  overflow-wrap: normal;
}

.security-card {
  grid-column: 1 / -1;
  min-height: 344px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(112px, 0.7fr) 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 34px;
  row-gap: 22px;
  align-items: center;
}

.security-card h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  text-align: center;
}

.security-icon {
  grid-column: 1;
  grid-row: 2;
  width: 88px;
  max-width: none;
  justify-self: center;
  opacity: 0.72;
  filter: drop-shadow(0 18px 28px rgba(54, 86, 255, 0.18));
}

.security-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 1.85rem;
  line-height: 1.16;
  text-align: right;
}

.module-section {
  padding-top: 80px;
}

.module-filters {
  width: max-content;
  max-width: 100%;
  margin: -24px auto 34px;
  padding: 8px;
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}

.module-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 850;
  cursor: pointer;
}

.module-filters button.active {
  background: #fff;
  color: #0b1020;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.module-chip {
  min-height: 250px;
  padding: 24px;
  transition: opacity 180ms ease, transform 220ms ease;
}

.module-chip.is-hidden {
  display: none;
}

.module-chip img {
  width: auto;
  height: 38px;
  margin-bottom: 34px;
  object-fit: contain;
}

.module-chip h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.module-chip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 54px;
  padding: clamp(34px, 5vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(17, 24, 42, 0.94), rgba(34, 13, 54, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4vw, 5.1rem);
  line-height: 1.02;
}

.contact-panel p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.12rem;
  font-weight: 650;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(5, 9, 20, 0.72);
  color: #fff;
  padding: 15px 16px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(139, 24, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(139, 24, 255, 0.14);
}

.site-footer {
  width: min(1780px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: aioRevealFallback 0.01s linear 1.8s forwards;
}
.reveal.visible { animation: none; }
@keyframes aioRevealFallback { to { opacity: 1; transform: none; } }

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

.tilt-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
}

@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -13px, 0);
  }
}

@keyframes shine {
  0%,
  56% {
    transform: translateX(0) rotate(18deg);
  }

  76%,
  100% {
    transform: translateX(420%) rotate(18deg);
  }
}

@keyframes logoMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes moduleMarqueeLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes moduleMarqueeRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -60;
  }
}

@keyframes pulseTravelOne {
  0% {
    transform: translate(118px, 47px) scale(0.75);
    opacity: 0;
  }

  18%,
  72% {
    opacity: 0.9;
  }

  100% {
    transform: translate(354px, 66px) scale(1.1);
    opacity: 0;
  }
}

@keyframes pulseTravelTwo {
  0% {
    transform: translate(84px, 188px) scale(0.75);
    opacity: 0;
  }

  18%,
  72% {
    opacity: 0.9;
  }

  100% {
    transform: translate(336px, 246px) scale(1.1);
    opacity: 0;
  }
}

@keyframes codeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes tenantRotate {
  0%,
  26% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }

  33%,
  59% {
    transform: translate3d(0, 104px, 0) scale(0.965);
    opacity: 0.84;
    z-index: 2;
  }

  66%,
  92% {
    transform: translate3d(0, 208px, 0) scale(0.93);
    opacity: 0.58;
    z-index: 1;
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
}

@keyframes typingReveal {
  0%,
  8% {
    clip-path: inset(0 100% 0 0);
  }

  42%,
  86% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@media (max-width: 1100px) {
  .section,
  .site-footer {
    width: min(1120px, calc(100% - 56px));
  }

  .hero-inner,
  .referential-bar,
  .connection-grid,
  .mastery-grid,
  .production-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 156px;
  }

  .hero-copy {
    max-width: 920px;
  }

  .hero-dashboard {
    width: min(850px, 100%);
    justify-self: center;
  }

  .referential-marquee {
    width: 100%;
  }

  .mastery-grid {
    gap: 34px;
  }

  .production-grid {
    min-height: auto;
    gap: 34px;
  }

  .tech-column,
  .ops-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .file-tile,
  .security-card {
    grid-column: 1 / -1;
  }

  .module-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 10px;
  }

  .nav-shell {
    position: relative;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell.open {
    border-radius: 28px;
  }

  .nav-shell.open .nav-links,
  .nav-shell.open .nav-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(16, 21, 36, 0.96);
    backdrop-filter: blur(18px);
  }

  .nav-shell.open .nav-actions {
    top: calc(100% + 238px);
  }

  h1 {
    font-size: clamp(3.7rem, 13vw, 6.4rem);
  }

  .ops-column,
  .tech-column,
  .module-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section,
  .site-footer {
    width: min(100% - 28px, 680px);
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-inner {
    gap: 42px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
    min-height: 48px;
  }

  .referential-bar {
    margin-top: 64px;
    gap: 22px;
  }

  .referential-track {
    gap: 28px;
    animation-duration: 18s;
  }

  .referential-track span {
    min-width: 94px;
  }

  .referential-marquee::before,
  .referential-marquee::after {
    width: 70px;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2,
  .contact-panel h2 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .glass-card,
  .code-card,
  .deployment-card {
    min-height: auto;
    padding: 22px;
  }

  .card-heading {
    grid-template-columns: 46px 1fr;
  }

  .card-heading img {
    width: 46px;
    height: 46px;
  }

  .floating-metrics,
  .referential-map {
    height: 300px;
  }

  .metric {
    width: 96px;
  }

  .node {
    font-size: 0.68rem;
  }

  .node-iso,
  .node-nis,
  .node-sec {
    right: 12px;
  }

  .node-ai {
    left: 90px;
  }

  .tenant {
    padding-right: 22px;
  }

  .tenant em {
    position: static;
    display: inline-flex;
    margin-top: 12px;
  }

  .ops-column,
  .tech-column,
  .module-list,
  .contact-panel,
  .ai-card,
  .security-card {
    grid-template-columns: 1fr;
  }

  .stat-tile,
  .security-card {
    min-height: auto;
    padding: 28px;
  }

  .security-card {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .security-icon {
    grid-column: 1;
    grid-row: 2;
    width: 78px;
  }

  .ai-stage {
    min-height: 420px;
  }

  .ai-watermark {
    width: min(430px, 96%);
    max-height: 230px;
  }

  .ai-card {
    padding-top: 82px;
  }

  .ai-card-icon {
    top: -50px;
  }

  .security-card p {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.45rem;
    text-align: center;
  }
}

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

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

/* ── Formulaire démo dynamique (câblage /hp/demo-request) ── */
.hp-form .field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hp-form button{width:100%;margin-top:4px}
.hp-flash{margin-bottom:22px;padding:14px 18px;border-radius:var(--radius);text-align:left;font-weight:750;font-size:.92rem}
.hp-flash.ok{background:rgba(0,212,140,.12);border:1px solid rgba(0,212,140,.35);border-left:3px solid var(--green);color:var(--green)}
.hp-flash.err{background:rgba(245,0,115,.10);border:1px solid rgba(245,0,115,.32);border-left:3px solid var(--pink);color:#ff5fa2}
.contact-panel .footer-meta{margin-top:14px;color:rgba(255,255,255,.5);font-size:.86rem;font-weight:700}
.contact-panel .footer-meta a{color:var(--cyan)}
/* Liens légaux + cookies dans le footer */
.site-footer .footer-links{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.site-footer .footer-links a:hover{color:#fff}
@media (max-width:760px){.hp-form .field-row{grid-template-columns:1fr}}

/* ── Anti-spam formulaire démo (Lot 2e) ── */
.hp-website { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.captcha-label { display: block; margin-top: 4px; }
.hp-captcha { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.hp-captcha img { border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: #fff; height: 60px; }
.hp-captcha input { flex: 1; min-width: 140px; }
