/* ================================================================
   DSI SANTÉ — main.css
   Design system extrait du template Claude Design "DSI Sante v2"
   Palette : navy #050e18 · bleu #1a5fd6 · cyan #35c6e6 · fond #f5f8fc
   ================================================================ */

:root {
  --navy: #050e18;
  --panel: #0c1f33;
  --panel-2: #122740;
  --border-dark: #1b3350;
  --border-dark-2: #14273b;
  --ink: #0a1a2b;
  --blue: #1a5fd6;
  --blue-deep: #0b3aa0;
  --cyan: #35c6e6;
  --sky: #4d8dff;
  --bg: #f5f8fc;
  --card-border: #e4ebf3;
  --muted: #5a6b7b;
  --muted-2: #8a99a8;
  --slate: #33475b;
  --dark-text: #9fb4cc;
  --dark-text-2: #7a92ab;
  --dark-link: #a9bdd4;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; }
main { flex: 1; }

.wrap { max-width: 1220px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--font-mono); }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; }
.kicker--blue { color: var(--blue); }
.kicker--cyan { color: var(--cyan); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scanline { 0% { top: 6%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mriSpin { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
@keyframes mriSpinRev { from { transform: rotateZ(360deg); } to { transform: rotateZ(0deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gridpan { from { background-position: 0 0; } to { background-position: 42px 42px; } }
@keyframes ledScan { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes tableSlide { 0%, 12% { transform: translateX(0); } 48%, 64% { transform: translateX(-138px); } 100% { transform: translateX(0); } }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(104px); opacity: 0; } }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes iconGlow { 0%,100% { box-shadow: 0 0 0 rgba(26,95,214,0); } 50% { box-shadow: 0 8px 22px -6px rgba(26,95,214,.45); } }

/* Reveal au scroll (IntersectionObserver ajoute .is-visible) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .07s; } .reveal-2 { transition-delay: .14s; }
.reveal-3 { transition-delay: .21s; } .reveal-4 { transition-delay: .28s; }
.reveal-5 { transition-delay: .35s; } .reveal-6 { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line { clip-path: none !important; transform: none !important; }
  .hero__badge, .hero h1, .hero__lead, .hero__ctas, .hero__checks, .mri-scene { opacity: 1 !important; transform: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(16,31,51,.94), rgba(11,23,39,.94));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38,66,99,.55);
}
.site-header__in { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__brand img {
  height: 58px; width: auto; display: block;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 97%);
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 97%);
}
.site-header__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; color: var(--dark-text-2); }
.site-nav { display: flex; gap: 34px; align-items: center; }
.site-nav a { position: relative; font-size: 15px; font-weight: 500; color: #8fa6bf; padding: 4px 0; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; transition: width .25s;
}
.site-nav a:hover::after { width: 100%; }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 600; }
.site-nav a[aria-current="page"]::after { width: 100%; }
.site-header__right { display: flex; align-items: center; gap: 16px; }
.hds-pill {
  display: flex; align-items: center; gap: 7px; padding: 6px 11px;
  border: 1px solid var(--border-dark); border-radius: 999px; background: rgba(53,198,230,.08);
}
.hds-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 2s infinite; }
.hds-pill span:last-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--cyan); }

/* ---------- Boutons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border: none; border-radius: 12px; cursor: pointer; display: inline-block; text-align: center; }
.btn--primary {
  font-size: 15px; color: #fff !important; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  padding: 16px 28px; box-shadow: 0 16px 34px -12px rgba(26,95,214,.9); transition: transform .2s, box-shadow .2s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -12px rgba(53,198,230,.7); }
.btn--header { font-size: 14px; padding: 11px 20px; border-radius: 11px; box-shadow: 0 10px 24px -10px rgba(26,95,214,.8); }
.btn--header:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(53,198,230,.6); }
.btn--ghost-dark {
  font-size: 15px; color: #dce9f8 !important; background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark); padding: 16px 28px; transition: border-color .2s, color .2s, background .2s;
}
.btn--ghost-dark:hover { border-color: var(--cyan); color: var(--cyan) !important; background: rgba(53,198,230,.06); }
.btn--ghost-light {
  font-size: 14px; color: var(--blue) !important; background: #fff; border: 1px solid #d6e5fa;
  border-radius: 11px; padding: 12px 20px; white-space: nowrap; transition: background .2s;
}
.btn--ghost-light:hover { background: #eaf1fc; }
.btn--white { font-size: 16px; color: var(--blue-deep) !important; background: #fff; padding: 17px 32px; white-space: nowrap; transition: transform .2s; }
.btn--white:hover { transform: translateY(-3px); }

/* ---------- Sections sombres ---------- */
.dark-section { position: relative; background: var(--navy); overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(53,198,230,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(53,198,230,.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.grid-bg--pan { animation: gridpan 8s linear infinite; }
.glow { position: absolute; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.glow--tr { top: -180px; right: -120px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(26,95,214,.35), transparent 65%); }
.glow--bl { bottom: -220px; left: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(53,198,230,.18), transparent 65%); }

/* ---------- Hero accueil ---------- */
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; color: var(--cyan); background: rgba(53,198,230,.08);
  border: 1px solid rgba(53,198,230,.25); padding: 7px 14px; border-radius: 999px;
  animation: fadeUp .6s ease both;
}
.hero h1 { font-size: 60px; line-height: 1.03; font-weight: 700; color: #fff; margin-top: 26px; animation: fadeUp .6s .1s ease both; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--sky), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cyan);
}
.hero__lead { font-size: 19px; line-height: 1.65; color: var(--dark-text); margin-top: 24px; max-width: 520px; animation: fadeUp .6s .2s ease both; }
.hero__ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; animation: fadeUp .6s .3s ease both; }
.hero__checks { display: flex; gap: 24px; margin-top: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--dark-text-2); flex-wrap: wrap; animation: fadeUp .6s .4s ease both; }
.hero__checks i { color: var(--cyan); margin-right: 7px; }

/* ---------- Scène IRM ---------- */
.mri-scene { position: relative; height: 560px; animation: fadeUp .7s .25s ease both; }
.mri-scene__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.mri-rig { position: relative; width: 576px; height: 320px; flex-shrink: 0; transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(3deg) scale(.72) translateX(42px); }
.mri-halo { position: absolute; top: 50%; left: 50%; width: 560px; height: 560px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(53,198,230,.13), transparent 60%); filter: blur(10px); }
.mri-machine { position: relative; width: 340px; height: 320px; z-index: 2; }
.mri-machine__shadow { position: absolute; inset: 0; transform: translate(-18px,12px); border-radius: 58px; background: linear-gradient(145deg, #8ea6c2, #5f7994); }
.mri-machine__body {
  position: absolute; inset: 0; border-radius: 58px;
  background: linear-gradient(150deg, #f4f8fc 0%, #dce7f2 55%, #c0d1e5 100%);
  box-shadow: 0 50px 90px -28px rgba(0,0,0,.8), inset 0 2px 6px rgba(255,255,255,.95), inset 0 -16px 34px rgba(115,145,180,.35);
  display: flex; align-items: center; justify-content: center;
}
.mri-ring-outer { position: relative; width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(160deg, #b4c6db, #88a1bf); box-shadow: inset 0 5px 12px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.mri-ring-mid { width: 172px; height: 172px; border-radius: 50%; background: linear-gradient(160deg, #e0e9f3, #b2c5da); display: flex; align-items: center; justify-content: center; }
.mri-bore { position: relative; width: 136px; height: 136px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #13293f 0%, #0a1a2b 55%, #050e18 100%); box-shadow: inset 0 12px 26px rgba(0,0,0,.85); overflow: hidden; }
.mri-bore__spin { position: absolute; inset: 7px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--cyan); border-right-color: rgba(53,198,230,.35); animation: mriSpin 1.6s linear infinite; }
.mri-bore__dash { position: absolute; inset: 18px; border-radius: 50%; border: 2px dashed rgba(77,141,255,.35); animation: mriSpinRev 7s linear infinite; }
.mri-bore__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; color: var(--cyan); animation: blink 1.6s infinite; }
.mri-machine__status { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: var(--panel); border-radius: 999px; padding: 6px 14px; border: 1px solid var(--border-dark); white-space: nowrap; }
.mri-machine__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.mri-machine__status span:last-child { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--dark-text); }
.mri-machine__logo { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; color: #7d94ae; }
.mri-table { position: absolute; top: 168px; left: 296px; width: 280px; height: 130px; z-index: 2; }
.mri-table__deck { position: absolute; top: 26px; left: 0; width: 170px; height: 17px; border-radius: 10px; background: linear-gradient(180deg, #eef4fa, #c6d6e7); box-shadow: 0 12px 26px -8px rgba(0,0,0,.65); animation: tableSlide 6.5s ease-in-out infinite; }
.mri-table__pad { position: absolute; top: -12px; left: 26px; width: 120px; height: 12px; border-radius: 8px 10px 10px 8px; background: linear-gradient(180deg, #4d8dff, #2f6bd0); }
.mri-table__head { position: absolute; top: -14px; left: 6px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, #4d8dff, #2f6bd0); }
.mri-table__base { position: absolute; top: 42px; left: 88px; width: 58px; height: 58px; border-radius: 8px 8px 14px 14px; background: linear-gradient(150deg, #c0d1e5, #88a1bf); box-shadow: 0 26px 44px -16px rgba(0,0,0,.65); }
.mri-table__foot { position: absolute; top: 98px; left: 72px; width: 90px; height: 11px; border-radius: 6px; background: #5f7994; }
.dc-stack { position: absolute; bottom: -30px; left: 452px; width: 126px; z-index: 2; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.dc-stack__row { display: flex; gap: 8px; align-items: flex-end; }
.dc-rack {
  width: 58px; border-radius: 8px; background: linear-gradient(150deg, var(--panel-2), #081525);
  border: 1px solid #24405f; box-shadow: 0 30px 50px -18px rgba(0,0,0,.8), inset 0 1px 2px rgba(120,160,210,.25);
  padding: 6px 5px 8px; display: flex; flex-direction: column; gap: 4px;
}
.dc-rack--pacs { height: 156px; }
.dc-rack--hds { height: 172px; }
.dc-rack__label { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--dark-text); text-align: center; padding-bottom: 2px; border-bottom: 1px solid var(--border-dark); }
.dc-rack--hds .dc-rack__label { color: var(--cyan); }
.dc-unit { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #16304c, var(--panel)); border: 1px solid #24405f; display: flex; align-items: center; gap: 3px; padding: 0 4px; }
.dc-unit .led { width: 4px; height: 4px; border-radius: 50%; }
.led--g { background: #3ae08a; } .led--c { background: var(--cyan); } .led--b { background: var(--sky); }
.dc-unit .vents { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dc-unit .vents span { height: 1.5px; background: #2b4a6e; display: block; }
.dc-stack__caption { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; color: var(--dark-text-2); }
.mri-cable { position: absolute; bottom: -16px; left: 320px; width: 135px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--border-dark), var(--cyan)); z-index: 1; }
.mri-cable .pkt { position: absolute; top: -2.5px; left: 0; width: 8px; height: 8px; border-radius: 50%; }
.pkt--c { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: packet 1.8s linear infinite; }
.pkt--b { background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: packet 1.8s .9s linear infinite; }
.mri-floor { position: absolute; bottom: -52px; left: -50px; width: 520px; height: 50px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%); filter: blur(7px); z-index: 0; }
.float-card {
  position: absolute; background: rgba(12,31,51,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
  animation: floaty 6s ease-in-out infinite;
}
.float-card__head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--dark-text-2); }
.float-pill {
  position: absolute; display: flex; align-items: center; gap: 9px; background: rgba(12,31,51,.9);
  backdrop-filter: blur(8px); border: 1px solid var(--border-dark); border-radius: 999px; padding: 9px 15px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); animation: floaty 5.5s ease-in-out infinite;
}
.float-pill span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: #dce9f8; }
.hds-monitor { top: 0; right: -8px; width: 172px; padding: 16px; }
.hds-monitor__rows { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.hds-monitor__row { display: flex; gap: 5px; align-items: center; }
.hds-monitor__row .led { width: 6px; height: 6px; border-radius: 50%; }
.hds-monitor__row .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--border-dark-2); }
.hds-monitor__stat { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #eaf3ff; margin-top: 12px; }
.hds-monitor__stat small { font-size: 10px; color: var(--dark-text-2); font-weight: 400; }
.console-card { bottom: -6px; left: -14px; width: 196px; padding: 14px; animation-duration: 7s; animation-delay: 1.2s; }
.console-card__screen {
  position: relative; height: 74px; border-radius: 9px; margin-top: 10px; overflow: hidden;
  background: repeating-linear-gradient(48deg, var(--ink), var(--ink) 7px, #0d2439 7px, #0d2439 14px);
  border: 1px solid #12283e;
}
.console-card__scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 12px 2px rgba(53,198,230,.6); animation: scanline 2.8s linear infinite; }
.console-card__meta { position: absolute; bottom: 6px; left: 8px; font-family: var(--font-mono); font-size: 8.5px; color: #40607f; letter-spacing: 0.1em; }
.dicom-link { position: absolute; top: 100px; right: 10px; width: 110px; height: 2px; transform: rotate(-34deg); border-top: 2px dashed rgba(53,198,230,.35); }
.dicom-link .pkt { position: absolute; top: -5px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); animation: packet 1.6s linear infinite; }
.dicom-label { position: absolute; top: 132px; right: 2px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--dark-text-2); transform: rotate(-34deg); }

/* ---------- Marquee ---------- */
.marquee { position: relative; border-top: 1px solid #12283e; background: rgba(5,14,24,.6); overflow: hidden; }
.marquee__track { display: flex; gap: 64px; width: max-content; padding: 18px 0; animation: marquee 22s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--dark-text-2); white-space: nowrap; }
.marquee__track i { color: var(--cyan); margin-right: 10px; }

/* ---------- Cartes services (accueil) ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: 40px; font-weight: 700; margin-top: 12px; }
.h2-md { font-size: 34px; font-weight: 700; margin-top: 12px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative; display: block; background: #fff; border: 1px solid var(--card-border); border-radius: 18px;
  padding: 28px 26px; overflow: hidden; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(10,26,43,.4); border-color: #b9d2f5; color: inherit; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__icon { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #eaf1fc, #dcebfd); display: flex; align-items: center; justify-content: center; animation: iconGlow 3.4s ease-in-out infinite; }
.svc-card__icon i { color: var(--blue); font-size: 18px; }
.svc-card__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted-2); border: 1px solid var(--card-border); border-radius: 999px; padding: 4px 9px; }
.svc-card h3 { font-size: 20px; font-weight: 600; margin-top: 18px; }
.svc-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.svc-card__more { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: 0.08em; }

/* ---------- Stats ---------- */
.stats-panel { background: var(--navy); border-radius: 26px; padding: 54px 48px; position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 42px; }
.stat i { color: var(--cyan); font-size: 18px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 46px; color: #fff; line-height: 1; margin-top: 14px; }
.stat__bar { height: 3px; border-radius: 2px; background: var(--border-dark-2); margin-top: 14px; overflow: hidden; }
.stat__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; transition: width 1.2s cubic-bezier(.22,.61,.36,1); }
.stat p { font-size: 13.5px; line-height: 1.5; color: #8fa6bf; margin-top: 14px; }

/* ---------- Méthode ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { border-top: 2px solid var(--blue); padding-top: 22px; transition: transform .2s; }
.step:hover { transform: translateY(-4px); }
.step__head { display: flex; align-items: center; gap: 10px; }
.step__head i { color: var(--blue); font-size: 16px; }
.step__head span { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.step h3 { font-size: 18px; font-weight: 600; margin-top: 12px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 8px; }

/* ---------- Témoignages ---------- */
.rating-pill { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--card-border); border-radius: 999px; padding: 10px 18px; }
.rating-pill .stars { color: #f5a623; font-size: 14px; }
.rating-pill .score { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.tsm-card { background: #fff; border: 1px solid var(--card-border); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .22s, box-shadow .22s; }
.tsm-card:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -24px rgba(10,26,43,.35); }
.tsm-card > i { color: #cfe0f5; font-size: 24px; }
.tsm-card blockquote { font-size: 15.5px; line-height: 1.7; color: var(--slate); flex: 1; margin: 0; }
.tsm-card__who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--card-border); padding-top: 18px; }
.tsm-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0; }
.tsm-card__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.tsm-card__role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted-2); margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 55%, #2b9fd0);
  border-radius: 26px; padding: 58px 50px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; box-shadow: 0 34px 66px -28px rgba(26,95,214,.75); position: relative; overflow: hidden;
}
.cta-band .grid-bg { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; }
.cta-band h2 { font-size: 34px; font-weight: 700; color: #fff; max-width: 540px; line-height: 1.12; position: relative; }
.cta-band p { font-size: 16px; color: #cfe0fb; margin-top: 14px; max-width: 480px; position: relative; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero__in { padding-top: 70px; padding-bottom: 56px; position: relative; }
.page-hero h1 { font-size: 48px; font-weight: 700; color: #fff; margin-top: 14px; max-width: 780px; line-height: 1.05; }
.page-hero p { font-size: 18px; line-height: 1.6; color: var(--dark-text); margin-top: 20px; max-width: 640px; }

/* ---------- Services (page) ---------- */
.svc-row {
  background: #fff; border: 1px solid var(--card-border); border-radius: 18px; padding: 34px;
  display: grid; grid-template-columns: 200px 1fr 1fr; gap: 34px; align-items: start;
  transition: box-shadow .22s, border-color .22s, transform .22s;
}
.svc-row:hover { box-shadow: 0 26px 52px -28px rgba(10,26,43,.35); border-color: #b9d2f5; transform: translateY(-3px); }
.svc-row__id { display: flex; align-items: center; gap: 12px; }
.svc-row__icon { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -10px rgba(26,95,214,.7); animation: iconGlow 3.4s ease-in-out infinite; }
.svc-row__icon i { color: #fff; font-size: 18px; }
.svc-row__num { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--blue); }
.svc-row__swatch { height: 68px; border-radius: 10px; margin-top: 16px; background: repeating-linear-gradient(135deg, #eef3fa, #eef3fa 8px, var(--card-border) 8px, var(--card-border) 16px); display: flex; align-items: center; justify-content: center; }
.svc-row__swatch span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted-2); }
.svc-row h2 { font-size: 24px; font-weight: 600; }
.svc-row__bar { height: 2px; width: 64px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; margin-top: 12px; }
.is-visible .svc-row__bar, .svc-row__bar { animation: growBar .9s ease both; }
.svc-row__desc { font-size: 15px; line-height: 1.65; color: var(--muted); margin-top: 12px; }
.svc-row__points { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.svc-row__points div { display: flex; align-items: center; gap: 11px; }
.svc-row__points i { color: var(--blue); font-size: 11px; }
.svc-row__points span { font-size: 14.5px; color: var(--slate); }

/* ---------- Expertise ---------- */
.pillar { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 28px; transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(10,26,43,.3); }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #eaf1fc, #dcebfd); display: flex; align-items: center; justify-content: center; }
.pillar__icon i { color: var(--blue); font-size: 17px; }
.pillar h3 { font-size: 19px; font-weight: 600; margin-top: 18px; }
.pillar p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.cert-card { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 22px; transition: border-color .2s; }
.cert-card:hover { border-color: #b9d2f5; }
.cert-card__code { display: inline-block; font-family: var(--font-mono); font-size: 13px; color: var(--blue-deep); background: #eaf1fc; border-radius: 8px; padding: 6px 11px; letter-spacing: 0.04em; }
.cert-card h3 { font-size: 16px; font-weight: 600; margin-top: 14px; }
.cert-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.timeline-row { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 20px 0; border-top: 1px solid var(--card-border); align-items: baseline; }
.timeline-row .y { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--blue); }
.timeline-row .l { font-size: 17px; color: var(--slate); line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding-top: 70px; padding-bottom: 80px; }
.contact-info h1 { font-size: 44px; font-weight: 700; margin-top: 14px; line-height: 1.05; }
.contact-info__lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 420px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.contact-item { border-top: 1px solid var(--card-border); padding-top: 16px; }
.contact-item__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted-2); }
.contact-item__k i { color: var(--blue); margin-right: 8px; }
.contact-item__v { font-size: 17px; color: var(--ink); margin-top: 6px; font-weight: 500; }
.contact-card { background: #fff; border: 1px solid var(--card-border); border-radius: 20px; padding: 38px; box-shadow: 0 24px 60px -34px rgba(10,26,43,.35); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .2s; background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; }
.contact-form .btn--primary { padding: 15px; }
.contact-form__rgpd { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); line-height: 1.6; }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 20px; }
.form-success.is-active { display: flex; }
.form-success__badge { width: 60px; height: 60px; border-radius: 50%; background: #eaf1fc; display: flex; align-items: center; justify-content: center; }
.form-success__badge i { color: var(--blue); font-size: 24px; }
.form-success h2 { font-size: 24px; font-weight: 600; margin-top: 22px; }
.form-success p { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 320px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #8fa6bf; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 34px; }
.site-footer__brand img { height: 78px; width: auto; display: block; margin-left: -10px; -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 97%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 97%); }
.site-footer__brand p { font-size: 14px; line-height: 1.65; margin-top: 16px; max-width: 300px; }
.site-footer__h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #5a7391; }
.site-footer__links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.site-footer__links a { color: var(--dark-link); font-size: 14.5px; transition: color .2s; }
.site-footer__links a:hover { color: #fff; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 11px; margin-top: 16px; font-size: 14.5px; color: var(--dark-link); }
.site-footer address i { margin-right: 8px; color: var(--cyan); font-size: 12px; }
.site-footer address a { color: var(--dark-link); }
.site-footer address a:hover { color: #fff; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.site-footer__badges span { font-family: var(--font-mono); font-size: 11px; color: var(--dark-link); border: 1px solid var(--border-dark-2); border-radius: 7px; padding: 5px 9px; }
.site-footer__bottom { border-top: 1px solid var(--border-dark-2); }
.site-footer__bottom-in { padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; color: #5a7391; letter-spacing: 0.04em; }
.site-footer__bottom-in a { color: #5a7391; }
.site-footer__bottom-in a:hover { color: #fff; }

/* ---------- View Transitions (navigation entre pages) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s ease both; }
::view-transition-new(root) { animation: vtIn .28s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- H1 hero : composition ligne par ligne (< 800 ms) ---------- */
.hero h1 { animation: none; }
.hero h1 .line {
  display: block; clip-path: inset(0 0 110% 0); transform: translateY(14px);
  animation: lineReveal .45s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero h1 .line:nth-child(2) { animation-delay: .18s; }
.hero h1 .line:nth-child(3) { animation-delay: .36s; }
@keyframes lineReveal { to { clip-path: inset(0 0 -20% 0); transform: translateY(0); } }

/* ---------- Animations scroll-driven natives (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .draw-rule { transform-origin: left; transform: scaleX(0);
    animation: growBar 1s ease both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  .svc-row, .pillar, .cert-card, .tsm-card {
    animation: fadeUp .7s ease both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
}

/* ---------- Focus clavier ---------- */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header : téléphone + CTA audit ---------- */
.header-tel { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: #dce9f8 !important; white-space: nowrap; }
.header-tel i { color: var(--cyan); margin-right: 7px; font-size: 11px; }
.header-tel:hover { color: var(--cyan) !important; }

/* ---------- Bandeau de réassurance ---------- */
.reassure { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: #fff; }
.reassure__in { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 16px 32px; }
.reassure__in span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.reassure__in i { color: var(--blue); margin-right: 8px; }

/* ---------- Fil d'ariane ---------- */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--dark-text-2); }
.breadcrumb ol { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "→"; margin-right: 10px; color: var(--border-dark); }
.breadcrumb a { color: var(--dark-text-2); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--cyan); }

/* ---------- Page pilier : colonne éditoriale ---------- */
.pillar-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--slate); }
.prose h2 { font-size: 28px; font-weight: 700; color: var(--ink); margin: 42px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); letter-spacing: .12em; display: block; margin-bottom: 8px; font-weight: 500; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 0; }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.prose ul li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--card-border); }
.prose ul li::before { content: "\2713"; position: absolute; left: 2px; color: var(--blue); font-size: 12px; }
.prose .rule { height: 1px; background: var(--card-border); margin-top: 42px; }
.aside-card { position: sticky; top: 98px; display: flex; flex-direction: column; gap: 18px; }
.aside-card__box { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 26px; }
.aside-card__box h3 { font-size: 16px; font-weight: 600; }
.aside-card__box .links { display: flex; flex-direction: column; margin-top: 12px; }
.aside-card__box .links a { padding: 11px 0; border-top: 1px solid var(--card-border); font-size: 14.5px; }
.aside-card__box .links a i { font-size: 10px; margin-left: 6px; }
.aside-cta { background: var(--navy); border-radius: 16px; padding: 26px; color: #eaf3ff; }
.aside-cta h3 { font-size: 17px; font-weight: 600; color: #fff; }
.aside-cta p { font-size: 13.5px; line-height: 1.6; color: var(--dark-text); margin-top: 10px; }
.aside-cta .btn { margin-top: 16px; width: 100%; padding: 13px; font-size: 14px; }
.aside-cta .tel { display: block; text-align: center; margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--cyan); }
.key-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); margin-top: 36px; }
.key-stats > div { padding: 22px 18px; border-left: 1px solid var(--card-border); }
.key-stats > div:first-child { border-left: none; }
.key-stats .n { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--blue); line-height: 1; }
.key-stats .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted-2); margin-top: 8px; display: block; }

/* ---------- FAQ ---------- */
.faq { margin-top: 42px; }
.faq details { border-top: 1px solid var(--card-border); }
.faq details:last-child { border-bottom: 1px solid var(--card-border); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 18px 0; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue); font-size: 18px; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 68ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; padding-bottom: 64px; }
  .mri-scene { height: 480px; }
  .mri-rig { transform: rotateY(-10deg) rotateX(3deg) scale(.6); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) and (min-width: 761px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-nav { display: none; }
  .site-header__tag, .hds-pill, .header-tel { display: none; }
  .pillar-grid { grid-template-columns: 1fr; gap: 36px; }
  .aside-card { position: static; }
  .key-stats { grid-template-columns: 1fr; }
  .key-stats > div { border-left: none; border-top: 1px solid var(--card-border); }
  .key-stats > div:first-child { border-top: none; }
  .reassure__in { gap: 14px; padding: 14px 20px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .page-hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
  .h2-md, .cta-band h2 { font-size: 26px; }
  .mri-scene { height: 360px; }
  .mri-rig { transform: scale(.44); }
  .float-card, .float-pill, .dicom-link, .dicom-label { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-panel { padding: 36px 24px; }
  .cta-band { padding: 40px 28px; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .contact-info h1 { font-size: 32px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 72px 1fr; gap: 16px; }
  .timeline-row .l { font-size: 15px; }
}
