/* Thiris — maquette v2 : feuille de style commune */

:root {
  --navy: #060D1A;
  --navy-2: #0B1628;
  --navy-line: rgba(255,255,255,0.08);
  --white: #FFFFFF;
  --bg-soft: #F4F6F9;
  --ink: #0B1220;
  --ink-soft: #3E4858;
  --muted: #6B7585;
  --rule: #E2E6EC;
  --blue: #0066B3;
  --blue-bright: #3B93FF;
  --orange: #F08A24;
  --sans: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Bandeau maquette ---------- */
.proto {
  position: relative; z-index: 60;
  background: var(--orange); color: #1B0E00;
  font-family: var(--mono); font-size: 12px; text-align: center; padding: 5px var(--gutter);
}

/* ---------- En-tête ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
body.has-proto .top { top: 28px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { position: relative; height: 34px; width: 104px; }
.logo img { position: absolute; inset: 0; height: 34px; width: auto; transition: opacity .35s; }
.logo .on-light { opacity: 0; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.78); }
.nav a:not(.btn) { position: relative; transition: color .2s; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .lang { font-family: var(--mono); font-size: 12px; opacity: .7; }
.top.scrolled { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.top.scrolled .nav { color: var(--ink-soft); }
.top.scrolled .nav a:not(.btn):hover { color: var(--ink); }
.top.scrolled .logo .on-dark { opacity: 0; }
.top.scrolled .logo .on-light { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--blue); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, var(--blue) 0%, var(--blue-bright) 50%, var(--blue) 100%);
  background-size: 200% 100%; transition: background-position .6s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(59,147,255,.7); }
.btn:hover::before { background-position: 100% 0; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn.ghost::before { display: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* ---------- Accueil sombre animé ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero > .wrap { width: 100%; }
.hero-grid-lines {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
  animation: gridpan 30s linear infinite;
}
@keyframes gridpan { to { background-position: 64px 64px, 64px 64px; } }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow.g1 { width: 620px; height: 620px; background: #0F5BD8; top: -180px; right: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.glow.g2 { width: 420px; height: 420px; background: var(--orange); bottom: -220px; left: 18%; opacity: .22; animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-140px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(160px, -60px) scale(.9); } }

.hero-main {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px; align-items: center; flex: 1;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); position: relative; }
.kicker .pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--orange); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
h1 {
  font-weight: 600; font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  line-height: 1.02; letter-spacing: -0.04em;
}
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
h1 .line:nth-child(2) > span { animation-delay: .12s; }
h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.grad {
  background: linear-gradient(100deg, #7DB8FF 0%, #3B93FF 40%, #F0A35A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 28px; font-size: 1.2rem; color: rgba(255,255,255,.72); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeup .9s var(--ease) forwards; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* Téléphones en éventail */
.fan { position: relative; height: 560px; perspective: 1400px; }
.fan-inner { position: absolute; inset: 0; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.fan .phone { position: absolute; top: 50%; left: 50%; width: 232px; }
.fan .p1 { transform: translate(-118%, -46%) rotate(-9deg); }
.fan .p2 { transform: translate(-50%, -54%); z-index: 2; }
.fan .p3 { transform: translate(18%, -46%) rotate(9deg); }
.fan .phone > div { animation: float 7s ease-in-out infinite; }
.fan .p1 > div { animation-delay: -2s; }
.fan .p3 > div { animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.fan .phone { opacity: 0; animation: fanin 1.2s var(--ease) forwards; }
.fan .p1 { animation-delay: .35s; } .fan .p2 { animation-delay: .2s; } .fan .p3 { animation-delay: .5s; }
@keyframes fanin { from { opacity: 0; margin-top: 60px; } to { opacity: 1; margin-top: 0; } }

.device {
  border-radius: 38px; padding: 9px; background: #0A0A0B;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.7), 0 0 60px -20px rgba(59,147,255,.35);
}
.device img { border-radius: 30px; width: 100%; }

/* Chiffres de l'accueil */
.hero-stats {
  position: relative; margin-top: 56px;
  border-top: 1px solid var(--navy-line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 28px 0 36px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.stat strong { display: block; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat > span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.55); }

/* ---------- Bande défilante ---------- */
.marquee { background: var(--navy-2); color: rgba(255,255,255,.6); border-top: 1px solid var(--navy-line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 15px; font-weight: 500; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.marquee-track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.eyebrow { color: var(--blue); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }
.head p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }

/* Apparitions au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Logiciels : défilement mis en scène ---------- */
.works { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
.case { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.case-num { color: var(--muted); margin-bottom: 14px; display: flex; gap: 14px; align-items: center; }
.case-num b { color: var(--blue); font-weight: 500; }
.case h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.case p { color: var(--ink-soft); font-size: 1.08rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.chips span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--rule); }
.case-links { display: flex; flex-wrap: wrap; gap: 10px; }
.link-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--rule); color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.link-pill:hover { border-color: var(--ink); transform: translateY(-2px); }
.link-pill.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-pill.dark:hover { background: var(--blue); border-color: var(--blue); }

.case-visual { display: none; }
.stage-col { position: relative; }
.stage {
  position: sticky; top: 13vh; height: 74vh; border-radius: 28px; overflow: hidden;
  background: var(--bg-soft); transition: background .8s var(--ease);
}
.stage::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,18,32,.08) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.stage.dark::before { background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); }
.scene {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.scene.active { opacity: 1; transform: none; }
.scene .device { width: 270px; }
.stage-counter { position: absolute; left: 28px; bottom: 24px; display: flex; gap: 8px; z-index: 2; }
.stage-counter i { width: 26px; height: 3px; border-radius: 3px; background: rgba(11,18,32,.15); transition: background .4s, width .4s var(--ease); }
.stage-counter i.on { background: var(--blue); width: 44px; }
.stage.dark .stage-counter i { background: rgba(255,255,255,.2); }
.stage.dark .stage-counter i.on { background: var(--blue-bright); }
.stage-label { position: absolute; right: 28px; bottom: 20px; color: var(--muted); z-index: 2; }
.stage.dark .stage-label { color: rgba(255,255,255,.5); }

.duo { position: relative; width: 100%; max-width: 560px; }
.duo .mac { border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11,18,32,.5); }
.duo .device { position: absolute; width: 170px; right: -10px; bottom: -50px; border-radius: 28px; padding: 7px; }
.duo .device img { border-radius: 22px; }
.browser { width: 100%; max-width: 580px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(11,18,32,.45); }
.browser .bar { height: 30px; background: #ECEFF3; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #CDD3DC; }
.browser .bar i:nth-child(1) { background: #FF5F57; } .browser .bar i:nth-child(2) { background: #FEBC2E; } .browser .bar i:nth-child(3) { background: #28C840; }

/* ---------- Conseil santé ---------- */
.health { position: relative; overflow: hidden; }
.health::before {
  content: ''; position: absolute; width: 700px; height: 700px; left: -320px; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,147,255,.12), transparent 65%); animation: drift2 20s ease-in-out infinite alternate;
}
.health-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.health-intro { position: sticky; top: 140px; }
.health-intro > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; margin-top: 22px; max-width: 30em; }
.health-intro .btn { margin-top: 32px; }
.standards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.standards span {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em;
  padding: 8px 14px; border-radius: 8px; color: var(--blue); background: rgba(0,102,179,.06); border: 1px solid rgba(0,102,179,.18);
}
.health-link { font-size: 15px !important; color: var(--muted) !important; }
.health-link a { color: var(--blue); font-weight: 600; border-bottom: 1px solid rgba(0,102,179,.3); }
.hc-list { border-top: 1px solid var(--rule); }
.hc-item {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; padding: 28px 18px; margin: 0 -18px;
  border-bottom: 1px solid var(--rule); position: relative;
  transition: background .35s var(--ease), opacity .9s var(--ease), transform .9s var(--ease);
}
.hc-item:hover { background: var(--bg-soft); }
.hc-item .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(0,102,179,.08); color: var(--blue); transition: transform .4s var(--ease), background .3s, color .3s;
}
.hc-item:hover .ico { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.06); }
.hc-item .ico svg { width: 24px; height: 24px; }
.hc-item h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.hc-item p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Services en mosaïque ---------- */
.services-sec { background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: 22px; padding: 34px; min-height: 240px;
  background: #fff; border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease), opacity .9s var(--ease);
}
.tile::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(59,147,255,.12), transparent 60%);
}
.tile:hover { border-color: rgba(0,102,179,.35); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(11,18,32,.35); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(0,102,179,.08); color: var(--blue); margin-bottom: 28px;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.tile:hover .ico { transform: rotate(-8deg) scale(1.08); background: var(--blue); color: #fff; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.tile p { color: var(--ink-soft); font-size: 15.5px; }
.tile .kw { margin-top: auto; padding-top: 22px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.tile.wide { grid-column: span 2; }
.tile.feature { background: var(--navy); color: #fff; border-color: var(--navy); }
.tile.feature p { color: rgba(255,255,255,.7); }
.tile.feature .kw { color: rgba(255,255,255,.45); }
.tile.feature .ico { background: rgba(255,255,255,.08); color: #fff; }
.tile.feature::after {
  content: ''; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%;
  background: #0F5BD8; filter: blur(80px); opacity: .5; animation: drift1 14s ease-in-out infinite alternate;
}

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--rule); }
.steps .bar-fill { position: absolute; left: 0; top: 23px; height: 1px; background: var(--blue); width: 0; transition: width 1.6s var(--ease); }
.steps.in .bar-fill { width: 100%; }
.step { position: relative; padding-right: 32px; }
.step .dot {
  width: 47px; height: 47px; border-radius: 50%; background: #fff; border: 1px solid var(--rule);
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 26px;
  transition: border-color .4s, background .4s, color .4s; transition-delay: var(--d, 0s);
}
.steps.in .step .dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Appel au contact ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 140px 0; text-align: center; }
.cta .glow.g1 { top: auto; bottom: -300px; right: 50%; margin-right: -310px; }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 13em; margin: 0 auto; }
.cta p { color: rgba(255,255,255,.65); margin: 22px auto 0; max-width: 34em; font-size: 1.15rem; }
.cta .hero-actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.foot { background: #03080F; color: rgba(255,255,255,.55); padding: 72px 0 36px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot .brand img { height: 30px; width: auto; margin-bottom: 18px; }
.foot .brand p { max-width: 22em; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-main { grid-template-columns: 1fr; }
  .fan { height: 460px; }
  .fan .phone { width: 190px; }
  .works { grid-template-columns: 1fr; gap: 0; }
  .health-grid { grid-template-columns: 1fr; gap: 48px; }
  .health-intro { position: static; }
  .stage-col { display: none; }
  .case { min-height: 0; padding: 56px 0; border-top: 1px solid var(--rule); }
  .case:first-child { border-top: 0; padding-top: 0; }
  .case-visual { display: flex; justify-content: center; align-items: center; margin-top: 36px; padding: 40px 20px 56px; border-radius: 22px; background: var(--bg-soft); }
  .case-visual.dark { background: var(--navy); }
  .case-visual .device { width: 220px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps .bar-fill { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav a:not(.btn), .nav .lang { display: none; }
  .hero { padding-top: 130px; }
  .fan { height: 380px; }
  .fan .phone { width: 150px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .section { padding: 88px 0; }
  .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .duo .device { width: 110px; bottom: -36px; }
  .cta { padding: 100px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Pages intérieures et éléments communs ajoutés
   ===================================================================== */

/* Lien actif dans le menu */
.nav a.active:not(.btn) { color: #fff; }
.nav a.active:not(.btn)::after { transform: scaleX(1); }
.top.scrolled .nav a.active:not(.btn) { color: var(--ink); }

/* Menu mobile */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.top.scrolled .burger { border-color: var(--rule); }
.top.scrolled .burger span { background: var(--ink); }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 120px 32px 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu a { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; transform: translateY(16px); transition: transform .5s var(--ease); }
.mobile-menu a.small { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.6); margin-top: 24px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { transform: none; }
.menu-open .top { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .top .logo .on-dark { opacity: 1; } .menu-open .top .logo .on-light { opacity: 0; }
.menu-open .top .burger span { background: #fff; }
.menu-open { overflow: hidden; }
@media (max-width: 720px) { .burger { display: block; } }

/* Bandeau des pages intérieures */
.hero.page-hero { min-height: 0; padding: 190px 0 110px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 14em; }
.page-hero .hero-lead { max-width: 38em; }
.crumbs { display: flex; gap: 10px; color: rgba(255,255,255,.5); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: rgba(255,255,255,.85); }

/* Liens « voir plus » */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); margin-top: 40px; }
.more .arrow { transition: transform .25s var(--ease); }
.more:hover .arrow { transform: translateX(4px); }
.center { text-align: center; }

/* ---------- Conseil santé : normes ---------- */
.norms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.norm {
  border-radius: 20px; padding: 30px 26px; background: var(--navy); color: #fff; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), opacity .9s var(--ease);
}
.norm:hover { transform: translateY(-4px); }
.norm::after {
  content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: #0F5BD8; filter: blur(60px); opacity: .45; transition: opacity .4s;
}
.norm:hover::after { opacity: .8; }
.norm b { display: block; font-family: var(--mono); font-size: 1.6rem; font-weight: 500; letter-spacing: .02em; margin-bottom: 14px; position: relative; }
.norm p { color: rgba(255,255,255,.7); font-size: 15px; position: relative; }

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

/* Produits liés (cartes compactes) */
.mini-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--rule);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease), opacity .9s var(--ease);
}
.mini:hover { border-color: rgba(0,102,179,.35); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(11,18,32,.35); }
.mini img { width: 72px; height: 72px; border-radius: 18px; }
.mini h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.mini p { color: var(--muted); font-size: 14.5px; }
.mini .arrow { color: var(--blue); font-size: 1.2rem; transition: transform .25s var(--ease); }
.mini:hover .arrow { transform: translateX(4px); }

/* ---------- Page Logiciels : filtre et grille ---------- */
.filter { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--rule); margin-bottom: 48px; }
.filter button {
  font: inherit; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px;
  background: transparent; color: var(--ink-soft); transition: background .3s var(--ease), color .3s;
}
.filter button.on { background: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product {
  position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--rule); background: #fff;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .45s var(--ease);
}
.product::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--x, 50%) var(--y, 50%), rgba(59,147,255,.10), transparent 60%);
}
.product:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(11,18,32,.45); border-color: rgba(0,102,179,.3); }
.product:hover::before { opacity: 1; }
.product.hidden { display: none; }
.product-visual {
  height: 340px; display: flex; align-items: center; justify-content: center; padding: 36px; overflow: hidden; position: relative;
}
.product-visual .device { width: 170px; transition: transform .6s var(--ease); }
.product-visual .browser, .product-visual .duo { max-width: 460px; transition: transform .6s var(--ease); }
.product:hover .product-visual .device, .product:hover .product-visual .browser, .product:hover .product-visual .duo { transform: translateY(-8px) scale(1.02); }
.product-visual .duo .device { width: 120px; bottom: -30px; right: -6px; }
.product-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 2; }
.product-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-top img { width: 48px; height: 48px; border-radius: 12px; }
.product-top h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.product-top .mono { color: var(--muted); font-size: 11px; display: block; margin-top: 3px; }
.badges { margin-left: auto; display: flex; gap: 6px; }
.badges span { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 4px 8px; border-radius: 6px; background: rgba(0,102,179,.08); color: var(--blue); }
.badges span.c { background: rgba(240,138,36,.12); color: #B5600E; }
.product-body > p { color: var(--ink-soft); font-size: 15.5px; }
.product-body .chips { margin: 18px 0 22px; }
.product-body .case-links { margin-top: auto; }
.price { font-size: 14px; color: var(--muted); margin-top: 14px; }
.price b { color: var(--ink); }

/* ---------- Page Services : menu latéral et blocs ---------- */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.side-nav { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--rule); }
.side-nav a { padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .25s, border-color .25s; }
.side-nav a:hover { color: var(--ink); }
.side-nav a.on { color: var(--blue); border-left-color: var(--blue); }
.svc { padding: 8px 0 72px; scroll-margin-top: 120px; }
.svc + .svc { border-top: 1px solid var(--rule); padding-top: 72px; }
.svc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.svc-head .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(0,102,179,.08); color: var(--blue); }
.svc-head .ico svg { width: 26px; height: 26px; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.svc > p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 28px; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.checks li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.svc .kw { display: block; margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc-callout {
  margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: var(--navy); color: rgba(255,255,255,.8);
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.svc-callout b { color: #fff; }

/* ---------- À propos ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.story-text p { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 20px; }
.story-text p:first-child { font-size: 1.35rem; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; }
.pillars { display: grid; gap: 16px; }
.pillar { padding: 30px; border-radius: 22px; border: 1px solid var(--rule); background: #fff; transition: transform .4s var(--ease), border-color .3s, opacity .9s var(--ease); }
.pillar:hover { transform: translateX(6px); border-color: rgba(0,102,179,.35); }
.pillar .mono { color: var(--blue); }
.pillar h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 8px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--rule); transition: transform .4s var(--ease), opacity .9s var(--ease); }
.value:hover { transform: translateY(-4px); }
.value .n { font-family: var(--mono); font-size: 13px; color: var(--orange); }
.value h3 { font-size: 1.25rem; font-weight: 600; margin: 18px 0 8px; letter-spacing: -0.02em; }
.value p { color: var(--ink-soft); font-size: 15px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.fact { padding: 26px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--rule); }
.fact dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.fact dd { font-size: 1.1rem; font-weight: 500; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.figure { padding: 28px 24px 0 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--rule); }
.figure strong { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.figure > span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--ink-soft); font-size: 1.08rem; }
.info-list { list-style: none; margin-top: 36px; border-top: 1px solid var(--rule); }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,102,179,.08); color: var(--blue); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list b { display: block; font-size: 15px; }
.info-list span { color: var(--muted); font-size: 14.5px; }
.form-card { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 30px 70px -50px rgba(11,18,32,.45); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,179,.12); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { margin: 0; font-weight: 500; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span {
  display: inline-block; cursor: pointer; padding: 9px 15px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink-soft); transition: all .2s var(--ease);
}
.topics span:hover { border-color: var(--ink); }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topics input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0,102,179,.2); }
.form-status { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.show { display: block; }
.form-status.ok { background: #E3F6EC; color: #11613A; }
.form-status.ko { background: #FDECEC; color: #9B1C1C; }
.form-card button[type="submit"] { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
.form-card button[disabled] { opacity: .6; cursor: default; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-note a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Texte long (mentions légales) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 14px; }
.prose a { color: var(--blue); }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 48px; }
.legal-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; margin: 8px 0 20px; }
.legal-card div { background: #fff; padding: 16px 20px; }
.legal-card dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal-card dd { font-size: 15px; margin-top: 4px; }

/* ---------- Responsive des pages intérieures ---------- */
@media (max-width: 1024px) {
  .norms { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; gap: 0; }
  .side-nav { display: none; }
  .story, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .values { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .mini-products { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero.page-hero { padding: 150px 0 80px; }
  .norms, .values, .checks, .form-row2, .legal-card { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
  .fact { padding-bottom: 20px; }
  .product-visual { height: 280px; }
  .product-top { flex-wrap: wrap; }
  .badges { margin-left: 0; width: 100%; }
  .form-card { padding: 26px 20px; }
  .filter { display: flex; width: 100%; overflow-x: auto; }
  .mini { grid-template-columns: 56px minmax(0, 1fr); }
  .mini img { width: 56px; height: 56px; }
  .mini .arrow { display: none; }
}
