:root {
  --bg-page: #ececf0;
  --bg-soft: #f3f3f7;
  --bg-white: #ffffff;
  --bg-surface: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.94);
  
  --ink: #101a3a;
  --text-primary: #1d1d1f;
  --text-secondary: #2a3459;
  --muted: #525b79;
  --text-light-color: #6e6e73;
  --text-inverse: #ffffff;
  
  --line: #dde0ea;
  --surface-border: #dfe3ec;
  
  --navy: #111a43;
  --blue: #0062e6;
  --orange: #ff9500;
  --magenta: #e6007e;
  --green: #00875a;
  --violet: #6b3fa0;
  
  --btn-primary-bg: #111a43;
  --btn-primary-text: #ffffff;
  --btn-outline-border: #ccd2e4;
  --btn-outline-text: #111a43;
  
  --subtitle-start: #1b2a4a;
  --subtitle-end: #e6007e;
  
  --shadow-soft: 0 18px 35px -28px rgba(17, 25, 53, 0.32);
  --surface-shadow: 0 18px 40px -36px rgba(20, 28, 56, 0.22);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1140px;
  --anim: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --title-size: clamp(2.2rem, 4.8vw, 5.1rem);
  --title-line: 1.01;
  --title-track: -0.03em;
  --title-weight: 700;
  --text-light-weight: 300;
  --color-heading: #1d2b54;
}

[data-theme="dark"] {
  --bg-page: #000000;
  --bg-soft: #0a0a0a;
  --bg-white: #111111;
  --bg-surface: #1a1a1a;
  --bg-header: rgba(10, 10, 10, 0.8);
  
  --ink: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --muted: #a0a0a0;
  --text-light-color: #a0a0a0;
  --text-inverse: #0a0a0a;
  
  --line: #2a2a2a;
  --surface-border: #2a2a2a;
  
  --navy: #ffffff;
  --blue: #3b82f6;
  --orange: #f59e0b;
  --magenta: #c026d3;
  --green: #10b981;
  --violet: #a855f7;
  
  --btn-primary-bg: #c026d3;
  --btn-primary-text: #ffffff;
  --btn-outline-border: #4a4a4a;
  --btn-outline-text: #ffffff;
  
  --subtitle-start: #a855f7;
  --subtitle-end: #d946ef;
  
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.3);
  --surface-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
  --color-heading: var(--text-primary);
}

@font-face {
  font-family: "Inter";
  src: url("./Assets/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./Assets/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter";
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: "Inter";
}

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

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

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

.section {
  padding: clamp(78px, 8vw, 112px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

#experience {
  padding-top: clamp(96px, 10vw, 140px);
  padding-bottom: clamp(96px, 10vw, 142px);
}

#experience .split-layout {
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 4vw, 58px);
}

.experience-copy h2 {
  white-space: nowrap;
}

.experience-copy p:not(.section-tag) {
  font-size: clamp(1.03rem, 1.28vw, 1.68rem);
  line-height: 1.5;
  font-weight: var(--text-light-weight);
}

#experience .experience-copy .experience-lead {
  color: var(--text-light-color);
}

#experience .experience-copy .experience-body {
  color: var(--text-primary);
  font-size: clamp(0.96rem, 1.14vw, 1.46rem);
  line-height: 1.52;
}

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

h1 {
  margin-top: 14px;
  font-size: clamp(4.3rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
}

h2 {
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-track);
  font-weight: var(--title-weight);
  color: var(--navy);
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--anim), border-color var(--anim), backdrop-filter var(--anim);
}

.site-header.is-scrolled {
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  border-color: rgba(206, 212, 228, 0.82);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-jalios {
  width: 24px;
  height: 24px;
}

.brand-sep {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 500;
}

.brand-asi {
  width: 22px;
  height: 22px;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
}

.desktop-nav a {
  font-size: 0.79rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--anim);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.switch-icon {
  width: 54px;
  height: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.77rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color var(--anim), color var(--anim), border-color var(--anim), box-shadow var(--anim);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-dark {
  background: var(--navy);
  color: var(--bg-white);
  box-shadow: 0 14px 22px -18px rgba(17, 26, 67, 0.85);
}

.btn-outline {
  border-color: #ccd2e4;
  background: var(--bg-white);
  color: var(--navy);
}

.btn-link {
  background: transparent;
  color: var(--magenta);
  padding-inline: 10px;
}

.hero .btn-link {
  color: var(--violet);
}


.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              width 0.2s ease;
  transform-origin: center;
}

/* Hamburger → X */
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav — slide fluide via max-height */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid transparent;
  transition: max-height 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}

.mobile-nav.is-open {
  max-height: 480px;
  border-top-color: var(--line);
}

.mobile-nav-inner {
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.mobile-nav-cta {
  flex: 1;
  padding: 13px 20px;
  font-size: 0.9rem;
  justify-content: center;
}

.mobile-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-white);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.mobile-theme-icon {
  width: 42px;
  height: 26px;
}

.hero {
  position: relative;
  background: var(--bg-white);
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(243, 243, 247, 0.38) 68%, var(--bg-soft) 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-block;
  background: linear-gradient(90deg, var(--subtitle-start), var(--subtitle-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin-top: 18px;
  color: var(--text-primary);
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--navy);
  color: var(--bg-white);
  box-shadow: 0 12px 24px -18px rgba(17, 26, 67, 0.9);
  padding: 9px 21px;
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-actions .btn {
  padding: 8px 20px;
  font-size: 0.79rem;
  font-weight: 500;
}

.hero-media {
  margin: clamp(-138px, -8.3vw, -72px) auto 0;
  width: min(1480px, calc(100vw - 12px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  background: transparent;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.2vw, 62px);
  align-items: center;
}

.media-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-white);
}

#experience .experience-media {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

#experience .experience-media img {
  width: min(790px, 115%);
  max-width: none;
  transform: translateX(-4%);
  background: transparent;
}

.section-tag {
  margin-bottom: 14px;
}

.copy-block h2 + p {
  margin-top: 16px;
}

.copy-block p:not(.section-tag) {
  color: var(--muted);
}

.copy-block p + p {
  margin-top: 10px;
}

.section-performance {
  position: relative;
  margin-top: 22px;
  background: var(--bg-white);
  border-top: 10px solid var(--bg-white);
  border-bottom: 10px solid var(--bg-white);
  overflow: hidden;
}

.perf-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 34px;
  align-items: center;
}

.perf-intro p:not(.section-tag) {
  color: var(--text-light-color);
  margin-top: 16px;
  font-weight: var(--text-light-weight);
  font-size: clamp(1.05rem, 1.34vw, 1.58rem);
  line-height: 1.56;
  max-width: 31ch;
}

.perf-intro h2 {
  margin-top: 10px;
}

.perf-intro .btn {
  margin-top: 28px;
  background: var(--violet);
  border-color: var(--violet);
  font-weight: 600;
  box-shadow: 0 14px 30px -24px rgba(107, 63, 160, 0.65);
}

.perf-features {
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  justify-self: end;
}

.perf-features article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid #e4e5eb;
  border-radius: 16px;
  box-shadow: 0 8px 20px -18px rgba(18, 24, 44, 0.18);
}

.perf-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.perf-icon-box img {
  width: 20px;
  height: 20px;
}

.perf-copy {
  display: grid;
  gap: 6px;
}

.perf-card-pink .perf-icon-box {
  background: #f9eaf2;
}

.perf-card-violet .perf-icon-box {
  background: #efebf5;
}

.perf-card-green .perf-icon-box {
  background: #e7f1ee;
}

.perf-card-blue .perf-icon-box {
  background: #e9edf7;
}

.perf-card-orange .perf-icon-box {
  background: #f5efe3;
}

.perf-features h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-heading);
}

.perf-features p {
  color: #7a7f89;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.4;
}

.perf-arrow {
  position: absolute;
  right: 26px;
  bottom: 268px;
  width: 206px;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
}

.perf-strip-wrap {
  margin-top: 68px;
  position: relative;
  z-index: 1;
}

.perf-strip-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 18px;
}

.perf-strip-head h3 {
  font-size: clamp(2.8rem, 4.25vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #3a4458;
  font-weight: 700;
}

.perf-strip-head span {
  padding-left: 22px;
  border-left: 1px solid #d3d7e3;
  font-size: clamp(1.15rem, 1.8vw, 1.95rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}

.perf-strip-panel {
  background: #5f3bb0;
  border-radius: 16px;
  padding: 20px 20px 22px;
  position: relative;
}

.perf-strip-date {
  color: rgba(240, 238, 255, 0.94);
  font-size: 0.9rem;
  margin: 0 0 12px;
  font-weight: 500;
}

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

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  background: #4c2e95;
  color: var(--bg-white);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 62px;
  font-weight: 600;
  position: relative;
}

.item-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-icon img {
  width: 18px;
  height: 18px;
}

.item-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff3ef;
  color: #d63240;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ead7d3;
}

.perf-strip-note {
  position: absolute;
  right: 16px;
  top: -22px;
  background: var(--bg-white);
  border: 1px solid #dadce6;
  border-radius: 10px;
  box-shadow: 0 8px 18px -16px rgba(22, 24, 38, 0.32);
  padding: 10px 14px 10px 10px;
  color: #3d4358;
  font-size: 0.92rem;
  line-height: 1.34;
  font-weight: 500;
  max-width: 430px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.note-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #ded5fe;
  background: #faf7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #9d6bff;
  box-shadow: inset 0 0 0 1px #f0e8ff;
  position: relative;
}

.note-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 1px solid #eadfff;
}

.note-icon-svg {
  width: 17px;
  height: 17px;
  display: block;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 840px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head > p:not(.section-tag) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head.narrow {
  max-width: 720px;
}

#intelligence {
  padding-top: clamp(90px, 9vw, 126px);
  padding-bottom: clamp(86px, 8vw, 118px);
}

#intelligence .section-head {
  max-width: 1360px;
}

#intelligence .section-head > p:last-child {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 44ch;
  color: var(--text-light-color);
  font-size: clamp(0.98rem, 1.18vw, 1.22rem);
  line-height: 1.56;
  font-weight: var(--text-light-weight);
}

.ai-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ai-card {
  background: var(--bg-white);
  border: 0;
  border-radius: 26px;
  padding: 30px 30px 28px;
  box-shadow: 0 24px 54px -38px rgba(24, 32, 64, 0.22);
}

.ai-card h3 {
  font-size: clamp(1.04rem, 1.2vw, 1.2rem);
  line-height: 1.18;
  color: var(--color-heading);
  font-weight: 700;
}

.ai-card p {
  margin-top: 16px;
  color: #8f9096;
  font-size: clamp(0.88rem, 0.98vw, 0.98rem);
  line-height: 1.44;
  font-weight: 300;
}

.prompt {
  margin-top: 24px;
  min-height: 84px;
  border-radius: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #f6f6f9 0%, #f1f1f6 100%);
  color: #202431;
  display: flex;
  align-items: center;
  gap: 14px;
}

.prompt-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--subtitle-start), var(--subtitle-end));
  box-shadow: 0 12px 22px -18px rgba(138, 29, 125, 0.42);
}

.prompt-icon img {
  width: 18px;
  height: 18px;
}

.prompt-text {
  font-size: clamp(0.92rem, 1.02vw, 1rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.015em;
}

#offre .section-head > p:last-child {
  margin-inline: auto;
  max-width: 48ch;
  color: var(--text-light-color);
  font-size: clamp(1.02rem, 1.35vw, 1.5rem);
  line-height: 1.54;
  font-weight: var(--text-light-weight);
}

.ai-preview {
  margin-top: 22px;
  border-radius: 18px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fbf7ff 0%, #f8f2f6 100%);
}

.ai-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230, 0, 126, 0.08) 0%, rgba(107, 63, 160, 0.16) 100%);
}

.ai-line + .ai-line {
  margin-top: 10px;
}

.ai-line-lg {
  width: 100%;
}

.ai-line-md {
  width: 80%;
}

.ai-line-sm {
  width: 54%;
}

.section-offer {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  padding-top: clamp(96px, 9vw, 132px);
  padding-bottom: clamp(94px, 9vw, 130px);
}

.offer-bg {
  position: absolute;
  left: clamp(-128px, -7vw, -44px);
  top: clamp(100px, 15vw, 210px);
  width: clamp(440px, 44vw, 760px);
  height: clamp(520px, 60vw, 980px);
  background: url("./Assets/offre_bckground_transparent.png") left center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.section-offer .container {
  position: relative;
  z-index: 1;
}

#offre .section-head {
  max-width: 1020px;
}

.offer-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.offer-card {
  background: var(--bg-white);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: 24px 0 0;
  overflow: hidden;
  box-shadow: var(--surface-shadow);
  display: flex;
  flex-direction: column;
}

.offer-logo-icon {
  width: 36px;
  height: 33px;
  margin: 0 auto 14px;
  display: block;
}

.offer-logo-cyan {
  color: #1ab7ff;
}

.offer-logo-violet {
  color: #7a4dda;
}

.offer-logo-pink {
  color: var(--magenta);
}

.offer-card h3 {
  text-align: center;
  font-size: clamp(1.12rem, 1.35vw, 1.62rem);
  line-height: 1.14;
  color: var(--color-heading);
  font-weight: 700;
  padding-inline: 22px;
}

.offer-card p {
  margin: 12px auto 0;
  max-width: 31ch;
  text-align: center;
  font-size: clamp(0.92rem, 1.08vw, 1.08rem);
  line-height: 1.45;
  color: var(--text-light-color);
  font-weight: var(--text-light-weight);
  padding-inline: 22px;
}

.offer-card ul {
  margin: 18px 0 0;
  padding: 0 28px;
  list-style: none;
  display: grid;
  gap: 0;
}

.offer-card li {
  padding: 13px 0;
  border-top: 1px solid #eceff4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.offer-card span {
  color: #7d828d;
  font-size: 1.01rem;
  font-weight: var(--text-light-weight);
}

.offer-card strong {
  text-align: right;
  color: #1d1f23;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
}

.offer-card strong small {
  display: block;
  margin-top: 2px;
  color: #7f858f;
  font-size: 0.72rem;
  font-weight: var(--text-light-weight);
}

.link-cta {
  display: flex;
  margin-top: auto;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #ebeef5;
  background: #f5f6fb;
  color: var(--color-heading);
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 0 0 22px 22px;
}

.offer-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.offer-cta {
  padding: 16px 48px;
  font-size: 1rem;
}

.section-jalios {
  padding-top: clamp(92px, 9vw, 128px);
  padding-bottom: clamp(92px, 9vw, 126px);
}

.jalios-head {
  max-width: 1080px;
}

.section-jalios .section-head > p:last-child {
  margin-top: 20px;
  color: var(--text-light-color);
  font-size: clamp(1.22rem, 1.8vw, 2rem);
  line-height: 1.4;
  font-weight: var(--text-light-weight);
}

.section-jalios .jalios-layout {
  margin-top: clamp(48px, 5vw, 72px);
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.jalios-features {
  width: 100%;
  justify-self: stretch;
  gap: 20px;
}

.jalios-features .perf-card {
  padding: 22px 26px;
  border-radius: 20px;
  gap: 20px;
  box-shadow: 0 10px 24px -22px rgba(18, 24, 44, 0.18);
}

.jalios-features .perf-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.jalios-features .perf-icon-box img {
  width: 24px;
  height: 24px;
}

.jalios-features .perf-copy {
  gap: 8px;
}

.jalios-features h3 {
  font-size: clamp(1.06rem, 1.52vw, 2.02rem);
  line-height: 1.16;
}

.jalios-features p {
  font-size: clamp(0.92rem, 1.06vw, 1.26rem);
  line-height: 1.5;
  max-width: 60ch;
}

.jalios-media {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  justify-self: end;
}

.jalios-media img {
  width: min(640px, 100%);
  background: transparent;
}

.section-vision {
  background: var(--bg-white);
}

#vision {
  padding-top: clamp(94px, 9vw, 134px);
  padding-bottom: clamp(94px, 9vw, 136px);
}

#vision .split-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(4px, 0.8vw, 12px);
  align-items: center;
}

.vision-copy {
  max-width: 720px;
}

.vision-asi-logo {
  width: clamp(48px, 4vw, 74px);
  height: auto;
  margin-bottom: 18px;
}

.vision-copy h2 {
  max-width: 8.4ch;
}

#vision .vision-lead {
  margin-top: 28px;
  max-width: 26ch;
  color: var(--text-light-color);
  font-size: clamp(1.18rem, 1.52vw, 1.9rem);
  line-height: 1.5;
  font-weight: var(--text-light-weight);
  letter-spacing: -0.015em;
}

#vision .vision-body {
  margin-top: 26px;
  max-width: 31ch;
  color: var(--text-primary);
  font-size: clamp(0.98rem, 1.14vw, 1.46rem);
  line-height: 1.52;
  font-weight: var(--text-light-weight);
}

#vision .vision-media {
  justify-self: end;
  width: min(100%, 824px);
  border-radius: 34px;
  transform: translateX(-26px);
}

#vision .vision-media img {
  width: 100%;
  display: block;
}

#accompagnement {
  background: var(--bg-soft);
  padding-top: clamp(94px, 10vw, 134px);
  padding-bottom: clamp(92px, 9vw, 128px);
}

#accompagnement .section-head {
  max-width: 1040px;
}

#accompagnement .section-head > p:last-child {
  margin-top: 18px;
  color: #8a8d98;
  font-size: clamp(1.08rem, 1.45vw, 1.68rem);
  line-height: 1.45;
  font-weight: 300;
}

.service-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(216px, auto);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid #e6e6eb;
  background: linear-gradient(180deg, var(--bg-white) 0%, #fbfbfd 100%);
  box-shadow: 0 22px 52px -42px rgba(24, 31, 52, 0.18);
  overflow: hidden;
}

.service-card h3 {
  font-size: clamp(0.96rem, 1.22vw, 1.28rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  font-weight: 700;
}

.service-card p {
  margin-top: 4px;
  color: #7f8088;
  font-size: clamp(0.84rem, 0.9vw, 0.94rem);
  line-height: 1.42;
  font-weight: 300;
}

.service-copy {
  position: relative;
  z-index: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8f8fb 0%, #f1f2f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.service-icon-box img {
  width: 24px;
  height: 24px;
}

.service-icon-box-dark,
.service-icon-box-tinted {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-card-neutral {
  min-height: 228px;
}

.service-card-strategy {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-start;
  min-height: 466px;
  padding-top: 24px;
  color: var(--bg-white);
  border: 0;
  background:
    linear-gradient(180deg, rgba(15, 24, 43, 0.86) 0%, rgba(17, 26, 45, 0.78) 48%, rgba(22, 31, 53, 0.86) 100%),
    url("./Assets/conseil_strategie.png") center / cover no-repeat;
  box-shadow: 0 28px 64px -40px rgba(10, 14, 28, 0.55);
}

.service-card-strategy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 27, 0.08) 0%, rgba(7, 14, 27, 0) 28%, rgba(7, 14, 27, 0.2) 100%);
  pointer-events: none;
}

.service-card-strategy .service-copy {
  margin-top: 2px;
  max-width: min(86%, 620px);
}

.service-card-strategy h3,
.service-card-dev h3,
.service-card-change h3 {
  color: var(--bg-white);
}

.service-card-strategy h3 {
  font-size: clamp(1.5rem, 1.92vw, 2.1rem);
  line-height: 1.02;
}

.service-card-strategy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.92rem, 0.98vw, 1.02rem);
  line-height: 1.46;
}

.service-card-dev {
  grid-column: 3 / span 2;
  min-height: 184px;
  justify-content: flex-start;
  color: var(--bg-white);
  border: 0;
  background: linear-gradient(135deg, #6f42a7 0%, #8e62c2 100%);
}

.service-card-dev p,
.service-card-change p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card-analytics strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(3.3rem, 4vw, 4.45rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--magenta);
  font-weight: 700;
}

.service-card-analytics h3 {
  margin-top: 2px;
}

.service-card-change {
  color: var(--bg-white);
  border: 0;
  background: linear-gradient(135deg, var(--magenta) 0%, #ff6b9d 100%);
}

.service-card-support {
  grid-column: 3 / span 2;
  min-height: 266px;
  justify-content: flex-start;
  background: linear-gradient(180deg, var(--bg-white) 0%, #fbfbfa 100%);
  isolation: isolate;
}

.service-card-support::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 63% 16%, rgba(232, 226, 210, 0.84) 0%, rgba(232, 226, 210, 0.34) 10%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 84% 71%, rgba(201, 197, 189, 0.3) 0%, rgba(201, 197, 189, 0.12) 13%, rgba(255, 255, 255, 0) 29%),
    radial-gradient(circle at 74% 46%, rgba(245, 242, 236, 0.9) 0%, rgba(245, 242, 236, 0.44) 18%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--bg-white) 0%, #fbfbfa 100%);
  filter: blur(26px);
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}

.service-card-support::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.995) 0%, rgba(255, 255, 255, 0.98) 31%, rgba(255, 255, 255, 0.88) 43%, rgba(255, 255, 255, 0.52) 55%, rgba(255, 255, 255, 0.12) 68%, rgba(255, 255, 255, 0) 79%),
    url("./Assets/dansladuree.png") 104% 53% / auto 138% no-repeat;
  z-index: 0;
  pointer-events: none;
}

.service-card-support .service-icon-box {
  position: relative;
  z-index: 2;
}

.service-card-support .service-copy {
  max-width: min(42%, 318px);
  position: relative;
  z-index: 2;
}

.service-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.btn-service-cta {
  min-width: 210px;
  min-height: 58px;
  padding: 14px 30px;
  background: var(--violet);
  color: var(--bg-white);
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: 0 24px 40px -28px rgba(107, 63, 160, 0.65);
}


.section-contact-v2 {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 60px;
  background: 
    linear-gradient(180deg, rgba(23, 31, 64, 0.4) 0%, rgba(23, 31, 64, 0.82) 100%),
    url("./Assets/image_visionworkplace.png") center / cover no-repeat;
  color: var(--bg-white);
  overflow: hidden;
}

.contact-v2-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: calc(90vh - 180px);
  width: 100%;
}

.contact-v2-content {
  margin: auto 0;
}

.contact-v2-content h2 {
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 36px;
  text-wrap: balance;
}

.contact-v2-lead {
  font-size: clamp(1.2rem, 1.9vw, 1.85rem);
  max-width: 44ch;
  margin: 0 auto 54px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  text-wrap: balance;
}

.contact-v2-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons V2 */
.btn-white {
  background: var(--bg-white);
  color: #111731;
  padding: 18px 42px;
  font-size: 1.02rem;
  box-shadow: 0 20px 38px -12px rgba(0, 0, 0, 0.25);
}

.btn-white:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--bg-white);
  padding: 18px 42px;
  font-size: 1.02rem;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bg-white);
  transform: translateY(-3px);
}

/* Footer v2 */
.contact-v2-footer {
  width: 100%;
  margin-top: 80px;
}

.contact-v2-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 28px;
}

.footer-logo-jalios {
  height: clamp(24px, 3vw, 32px);
  width: auto;
}

.footer-logo-asi {
  height: clamp(38px, 5vw, 54px);
  width: auto;
}

.footer-logo-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.contact-v2-copy {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .contact-v2-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .btn-white,
  .btn-outline-white {
    width: 100%;
  }

  .contact-v2-logos {
    gap: 20px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid rgba(0, 98, 230, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .split-layout,
  .perf-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(196px, auto);
  }

  .service-card-strategy,
  .service-card-dev,
  .service-card-support {
    grid-column: span 2;
  }

  .service-card-strategy {
    grid-row: auto;
    min-height: 420px;
  }

  .service-card-support::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 35%, rgba(255, 255, 255, 0.8) 49%, rgba(255, 255, 255, 0.24) 66%, rgba(255, 255, 255, 0) 79%),
      url("./Assets/dansladuree.png") 102% 54% / auto 132% no-repeat;
  }

  .service-card-support .service-copy {
    max-width: min(46%, 340px);
  }

  .experience-copy h2 {
    white-space: normal;
  }

  /* Expérience : reset image overflow dès 1080px */
  #experience .experience-media img {
    width: 100%;
    transform: none;
    max-width: none;
  }

  /* Jalios : forcer 1 col + image au-dessus */
  .section-jalios .jalios-layout {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .jalios-media {
    order: -1;
    justify-self: center;
    width: 100%;
    max-width: 420px;
  }

  .jalios-media img {
    width: 100%;
  }

  /* Section heads centrés sur tablette/mobile */
  .section-head,
  .copy-block {
    text-align: center;
  }

  .copy-block p:not(.section-tag) {
    margin-left: auto;
    margin-right: auto;
  }

  /* Vision */
  #vision .vision-copy {
    max-width: none;
    text-align: left;
  }

  #vision .vision-media {
    justify-self: stretch;
    transform: none;
  }

  .perf-strip-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .perf-strip-head span {
    border-left: 0;
    padding-left: 0;
  }

  .strip-items {
    grid-template-columns: 1fr 1fr;
  }

  .perf-strip-note {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .perf-arrow {
    right: 10px;
    bottom: 232px;
    width: 168px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), 100% - 24px);
  }

  .section {
    padding: 64px 0;
  }

  /* Hero */
  .hero {
    padding-top: 40px;
  }

  .hero-media {
    margin-top: 24px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Grilles → 1 colonne */
  .split-layout,
  .offer-grid,
  .ai-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* Expérience : image centrée pleine largeur au-dessus */
  #experience .experience-media {
    order: -1;
    display: flex;
    justify-content: center;
  }

  #experience .experience-media img {
    width: min(400px, 90%);
    transform: none;
    max-width: none;
  }

  #experience .experience-copy {
    text-align: center;
  }

  .jalios-features .perf-card {
    padding: 18px;
  }

  .jalios-features .perf-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .jalios-features h3 {
    font-size: 1.1rem;
  }

  .jalios-features p {
    font-size: 0.94rem;
  }

  /* Vision : image sous le texte, hauteur limitée */
  #vision .split-layout {
    gap: 28px;
  }

  #vision .vision-copy {
    text-align: left;
  }

  #vision .vision-media {
    transform: none;
    border-radius: 20px;
    max-height: 260px;
    overflow: hidden;
    width: 100%;
  }

  #vision .vision-media img {
    object-fit: cover;
    height: 260px;
    width: 100%;
  }

  #vision .vision-lead,
  #vision .vision-body {
    max-width: none;
  }

  /* Contact : boutons plus compacts */
  .contact-v2-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .btn-white,
  .btn-outline-white {
    width: min(340px, 100%);
    min-height: 54px;
  }

  /* Accompagnement — service cards */
  .service-card {
    min-height: auto;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .service-card-strategy,
  .service-card-dev,
  .service-card-support {
    grid-column: auto;
  }

  .service-card-strategy {
    min-height: 320px;
  }

  .service-card-strategy .service-copy,
  .service-card-support .service-copy {
    max-width: none;
  }

  /* Support card : image en bas compacte */
  .service-card-support {
    min-height: auto;
    padding-bottom: 140px;
  }

  .service-card-support::after {
    inset: auto 0 0;
    height: 140px;
    background:
      linear-gradient(180deg, var(--bg-header) 0%, rgba(255, 255, 255, 0.62) 26%, rgba(255, 255, 255, 0.12) 56%, rgba(255, 255, 255, 0) 78%),
      url("./Assets/dansladuree.png") center bottom / min(100%, 260px) auto no-repeat;
  }

  /* Performance strip */
  .strip-items {
    grid-template-columns: 1fr;
  }

  .perf-arrow {
    width: 124px;
    right: 8px;
    bottom: 196px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

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

/* --- Dark Mode Overrides --- */
[data-theme="dark"] .service-card {
  background: var(--bg-surface);
  border-color: var(--surface-border);
  box-shadow: var(--surface-shadow);
}
[data-theme="dark"] .perf-strip-head h3 {
  color: var(--text-primary);
}
[data-theme="dark"] .service-card p,
[data-theme="dark"] .perf-features p,
[data-theme="dark"] .perf-intro p:not(.section-tag),
[data-theme="dark"] .ai-card p {
  color: var(--text-secondary);
}
[data-theme="dark"] .service-icon-box {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .service-card-strategy h3,
[data-theme="dark"] .service-card-dev h3,
[data-theme="dark"] .service-card-change h3,
[data-theme="dark"] .service-card-strategy p,
[data-theme="dark"] .service-card-change p,
[data-theme="dark"] .service-card-dev p {
  color: #ffffff; /* S'assurer que le texte reste blanc sur les fonds colorés */
}
[data-theme="dark"] .service-card-support {
  background: var(--bg-surface);
}
[data-theme="dark"] .service-card-support::before {
  display: none;
}
[data-theme="dark"] .service-card-support::after {
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.995) 0%, rgba(26, 26, 26, 0.98) 31%, rgba(26, 26, 26, 0.88) 43%, rgba(26, 26, 26, 0.52) 55%, rgba(26, 26, 26, 0.12) 68%, rgba(26, 26, 26, 0) 79%),
    url("./Assets/dansladuree_dark.png") 104% 53% / auto 138% no-repeat;
}

@media (max-width: 1024px) {
  [data-theme="dark"] .service-card-support::after {
    background:
      linear-gradient(180deg, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0.62) 26%, rgba(26, 26, 26, 0.12) 56%, rgba(26, 26, 26, 0) 78%),
      url("./Assets/dansladuree_dark.png") center bottom / min(100%, 320px) auto no-repeat;
  }
}

[data-theme="dark"] .perf-features article,
[data-theme="dark"] .ai-card,
[data-theme="dark"] .perf-strip-note {
  background: var(--bg-surface);
  border-color: var(--surface-border);
}
[data-theme="dark"] .perf-strip-note {
  box-shadow: 0 8px 18px -16px rgba(0, 0, 0, 0.82);
  color: var(--text-primary);
}
[data-theme="dark"] .perf-strip-head span,
[data-theme="dark"] .perf-strip-date {
  color: var(--text-primary);
}
[data-theme="dark"] #accompagnement .section-head > p:last-child {
  color: var(--text-secondary);
}
[data-theme="dark"] .contact-v2-content h2 {
  color: #ffffff;
}
[data-theme="dark"] #vision,
[data-theme="dark"] .section-vision {
  background: var(--bg-page);
}
[data-theme="dark"] .vision-copy h2 {
  color: #ffffff;
}
[data-theme="dark"] .vision-lead,
[data-theme="dark"] .vision-body,
[data-theme="dark"] .vision-intro h2 {
  color: var(--text-primary);
}

/* Corrections Capture 1 */
[data-theme="dark"] .strip-item span:not(.item-badge),
[data-theme="dark"] .perf-strip-note span {
  color: #ffffff;
}
[data-theme="dark"] .item-badge {
  background: rgba(214, 50, 64, 0.15);
  border-color: rgba(214, 50, 64, 0.3);
  color: #ff6b7d;
}

/* Corrections Capture 2 */
[data-theme="dark"] .offer-card li strong {
  color: #ffffff;
}


/* Corrections Capture 4 */
[data-theme="dark"] .btn-white {
  background: #ffffff;
  color: #111731;
}
[data-theme="dark"] .btn-white:hover {
  background: #f8f9fa;
}
[data-theme="dark"] .btn-outline-white {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
[data-theme="dark"] .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* =====================
   Modal Contact
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 26, 67, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 100px rgba(17, 26, 67, 0.28);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-soft);
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.modal-field {
  margin-bottom: 16px;
}

.modal-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.modal-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.modal-field input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.modal-field input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.modal-field input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

.modal-gdpr {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.modal-gdpr a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-gdpr a:hover {
  color: var(--text-primary);
}

.modal-submit {
  width: 100%;
  margin-top: 2px;
  padding: 15px;
  font-size: 1rem;
  justify-content: center;
}

.modal-success {
  text-align: center;
  padding: 20px 0 8px;
}

.modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 135, 90, 0.1);
  color: var(--green);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-success p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 480px) {
  /* Modal */
  .modal-card {
    padding: 36px 22px 26px;
  }

  /* Sections */
  .section {
    padding: 52px 0;
  }

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

  /* Hero */
  .hero {
    padding-top: 28px;
  }

  /* Grilles → 1 colonne */
  .offer-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .strip-items {
    grid-template-columns: 1fr;
  }

  /* Offer cards — padding interne réduit */
  .offer-card ul {
    padding: 0 16px;
  }

  .offer-card li {
    padding: 10px 0;
  }

  .offer-card span,
  .offer-card strong {
    font-size: 0.9rem;
  }

  /* AI cards */
  .ai-card {
    padding: 20px 18px;
  }

  /* Contact section */
  .contact-v2-content h2 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .contact-v2-actions {
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  .btn-white,
  .btn-outline-white {
    width: 100%;
    min-height: 52px;
  }

  /* Section head */
  .section-head {
    margin-bottom: 32px;
  }

  /* Perf & jalios features */
  .perf-features,
  .jalios-features {
    gap: 10px;
  }

  /* Vision image encore plus compacte */
  #vision .vision-media,
  #vision .vision-media img {
    max-height: 200px;
    height: 200px;
  }

  /* Accompagnement support card */
  .service-card-support {
    padding-bottom: 110px;
  }

  .service-card-support::after {
    height: 110px;
  }
}

[data-theme="dark"] .modal-card {
  background: var(--bg-surface);
}

[data-theme="dark"] .modal-field input {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--text-primary);
}

[data-theme="dark"] .modal-field input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.15);
}
