:root {
  --bg: #030817;
  --bg-2: #061028;
  --navy: #0a1d45;
  --navy-2: #12306b;
  --sky: #7dd3fc;
  --sky-2: #38bdf8;
  --blue: #2f7df6;
  --ice: #e8f4ff;
  --muted: #a3b5d3;
  --line: rgba(125, 211, 252, .16);
  --line-2: rgba(125, 211, 252, .32);
  --glass: rgba(10, 29, 69, .55);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ice);
  font: 400 1rem/1.65 var(--body); overflow-x: hidden;
}
/* grille spatiale en fond */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(47,125,246,.22), transparent 60%),
    radial-gradient(50rem 30rem at -10% 40%, rgba(56,189,248,.10), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
  opacity: .55;
}
main { overflow-x: clip; } /* le halo néon ne crée pas de scroll horizontal */
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.i { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sky); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.grad { background: linear-gradient(100deg, #e8f4ff 0%, var(--sky) 45%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- boutons ---------- */
.btn {
  --b: var(--sky);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1px solid var(--b);
  background: linear-gradient(180deg, #a8e3ff, var(--sky)); color: #03122a;
  font: 600 .98rem var(--head); text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(125,211,252,.0), 0 10px 30px -10px rgba(56,189,248,.7);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(125,211,252,.15), 0 14px 36px -10px rgba(56,189,248,.9); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { width: 1.05em; height: 1.05em; }
.btn.ghost { position: relative; background: rgba(125,211,252,.06); color: var(--ice); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--sky); background: rgba(125,211,252,.12); }
.btn.sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .9rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font: 600 .78rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
.kicker i { font-style: normal; padding: .3rem .45rem; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ice); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(3,8,23,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ice); margin-right: auto; }
.logo-mark { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(125,211,252,.45)); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt b { font: 700 1.3rem var(--head); letter-spacing: .22em; }
.logo-txt small { font: 500 .66rem var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu ul a { display: block; padding: .6rem .7rem; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 8px; position: relative; transition: color .2s; }
.menu ul a:hover, .menu ul a[aria-current] { color: var(--ice); }
.menu ul a[aria-current]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--sky); box-shadow: 0 0 10px var(--sky); border-radius: 2px; }
.menu-actions { display: flex; align-items: center; gap: .75rem; }
.tel { display: inline-flex; align-items: center; gap: .4rem; color: var(--ice); text-decoration: none; font: 600 .95rem var(--head); white-space: nowrap; }
.tel .i { color: var(--sky); }
.lang { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ice); text-decoration: none; font: 600 .82rem var(--head); letter-spacing: .08em; }
.lang:hover { border-color: var(--sky); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ice); cursor: pointer; }
  .nav-toggle .shut, .nav-toggle[aria-expanded="true"] .open { display: none; }
  .nav-toggle[aria-expanded="true"] .shut { display: block; }
  .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 16px 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); max-height: calc(100dvh - 72px); overflow: auto; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu ul { flex-direction: column; }
  .menu ul a { padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu ul a[aria-current]::after { display: none; }
  .menu ul a[aria-current] { color: var(--sky); }
  .menu-actions { flex-wrap: wrap; }
  .menu-actions .btn { flex: 1; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) hue-rotate(-12deg) brightness(.55); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 8%, rgba(3,8,23,.82) 45%, rgba(6,16,40,.45) 100%),
  linear-gradient(0deg, var(--bg), transparent 40%),
  radial-gradient(40rem 25rem at 80% 30%, rgba(47,125,246,.35), transparent 70%); mix-blend-mode: normal; }
.hero-in { display: grid; grid-template-columns: 1.45fr 1fr; gap: 3rem; align-items: end; }
.hero-in { align-items: center; }
.hero-side { display: grid; gap: .5rem; }
.electric { position: relative; height: clamp(220px, 30vw, 340px); overflow: hidden; cursor: crosshair; touch-action: pan-y;
  background: radial-gradient(closest-side, rgba(56,189,248,.14), transparent 70%); }
.electric img { position: absolute; inset: 0; margin: auto; width: 45%; height: auto; opacity: .85; filter: drop-shadow(0 0 18px var(--sky)); }
.electric:has(canvas) img { display: none; }
.hero-txt .lead { font-size: 1.2rem; margin-top: 1rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- carte de Rangel : ProfileCard (React Bits), couleurs du site (src/profile-card.js) ---------- */
/* zone du canvas 1,5× plus haute que la place occupée (marges négatives) : le halo n'est plus coupé ; bords fondus */
.hero-side:has(.pc-card-wrapper) .electric {
  height: clamp(225px, 24vw, 300px); margin-block: calc(clamp(225px, 24vw, 300px) / -6);
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
@media (min-width: 961px) { .hero-side:has(.pc-card-wrapper) .electric { transform: translateY(-3rem); } } /* desktop : maison plus haut, carte inchangée */
.pc-card-wrapper {
  --pointer-x: 50%; --pointer-y: 50%; --pointer-from-center: 0; --pointer-from-top: .5; --pointer-from-left: .5;
  --card-opacity: 0; --rotate-x: 0deg; --rotate-y: 0deg; --background-x: 50%; --background-y: 50%;
  --icon: url(icon-pattern.svg); --grain: none;
  --behind-glow-color: rgba(56, 189, 248, .55); --behind-glow-size: 50%;
  --inner-gradient: linear-gradient(145deg, rgba(48, 72, 150, .55) 0%, rgba(113, 196, 255, .27) 100%);
  --sunpillar-1: hsl(190, 100%, 75%); --sunpillar-2: hsl(205, 100%, 70%); --sunpillar-3: hsl(220, 100%, 72%);
  --sunpillar-4: hsl(185, 100%, 78%); --sunpillar-5: hsl(212, 100%, 74%); --sunpillar-6: hsl(232, 90%, 74%);
  --sunpillar-clr-1: var(--sunpillar-1); --sunpillar-clr-2: var(--sunpillar-2); --sunpillar-clr-3: var(--sunpillar-3);
  --sunpillar-clr-4: var(--sunpillar-4); --sunpillar-clr-5: var(--sunpillar-5); --sunpillar-clr-6: var(--sunpillar-6);
  --card-radius: 26px;
  perspective: 500px; transform: translate3d(0, 0, .1px); position: relative; touch-action: pan-y;
  display: grid; justify-items: center;
}
.pc-behind {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), var(--behind-glow-color) 0%, transparent var(--behind-glow-size));
  filter: blur(50px) saturate(1.1); opacity: calc(.8 * var(--card-opacity)); transition: opacity 200ms ease;
}
.pc-card-wrapper:hover, .pc-card-wrapper:has(.active) { --card-opacity: 1; }
.pc-card-shell { position: relative; z-index: 1; }
.pc-card {
  height: 440px; max-height: 60svh; aspect-ratio: .718; display: grid; border-radius: var(--card-radius); position: relative;
  box-shadow: rgba(0, 0, 0, .8) calc((var(--pointer-from-left) * 10px) - 3px) calc((var(--pointer-from-top) * 20px) - 6px) 20px -5px,
    0 0 0 1px var(--line-2);
  transition: transform 1s ease; transform: translateZ(0) rotateX(0deg) rotateY(0deg);
  background: rgba(0, 0, 0, .9); backface-visibility: hidden; overflow: hidden;
}
.pc-card:hover, .pc-card-shell.active .pc-card { transition: none; transform: translateZ(0) rotateX(var(--rotate-y)) rotateY(var(--rotate-x)); }
.pc-card-shell.entering .pc-card { transition: transform 180ms ease-out; }
.pc-card * { display: grid; grid-area: 1 / -1; border-radius: var(--card-radius); pointer-events: none; }
.pc-inside { inset: 0; position: absolute; background-image: var(--inner-gradient); background-color: rgba(0, 0, 0, .9); transform: none; }
.pc-shine {
  mask-image: var(--icon); mask-mode: luminance; mask-repeat: repeat; mask-size: 150%;
  mask-position: top calc(200% - (var(--background-y) * 5)) left calc(100% - var(--background-x));
  transition: filter .8s ease; filter: brightness(.66) contrast(1.33) saturate(.33) opacity(.5);
  animation: holo-bg 18s linear infinite; mix-blend-mode: color-dodge;
}
.pc-shine, .pc-shine::after {
  --space: 5%; --angle: -45deg;
  transform: translate3d(0, 0, 1px); overflow: hidden; z-index: 3; background: transparent; background-size: cover; background-position: center;
  background-image:
    repeating-linear-gradient(0deg, var(--sunpillar-clr-1) calc(var(--space) * 1), var(--sunpillar-clr-2) calc(var(--space) * 2), var(--sunpillar-clr-3) calc(var(--space) * 3), var(--sunpillar-clr-4) calc(var(--space) * 4), var(--sunpillar-clr-5) calc(var(--space) * 5), var(--sunpillar-clr-6) calc(var(--space) * 6), var(--sunpillar-clr-1) calc(var(--space) * 7)),
    repeating-linear-gradient(var(--angle), #0e152e 0%, hsl(200, 10%, 60%) 3.8%, hsl(200, 29%, 66%) 4.5%, hsl(200, 10%, 60%) 5.2%, #0e152e 10%, #0e152e 12%),
    radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsla(0, 0%, 0%, .1) 12%, hsla(0, 0%, 0%, .15) 20%, hsla(0, 0%, 0%, .25) 120%);
  background-position: 0 var(--background-y), var(--background-x) var(--background-y), center;
  background-blend-mode: color, hard-light;
  background-size: 500% 500%, 300% 300%, 200% 200%;
  background-repeat: repeat;
}
.pc-shine::before, .pc-shine::after { content: ''; background-position: center; background-size: cover; grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; }
.pc-card:hover .pc-shine, .pc-card-shell.active .pc-shine { filter: brightness(.85) contrast(1.5) saturate(.5); animation-play-state: paused; }
.pc-card:hover .pc-shine::before, .pc-card-shell.active .pc-shine::before, .pc-card:hover .pc-shine::after, .pc-card-shell.active .pc-shine::after { opacity: 1; }
.pc-shine::before {
  background-image: linear-gradient(45deg, var(--sunpillar-4), var(--sunpillar-5), var(--sunpillar-6), var(--sunpillar-1), var(--sunpillar-2), var(--sunpillar-3)),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), hsl(0, 0%, 70%) 0%, hsla(0, 0%, 30%, .2) 90%), var(--grain);
  background-size: 250% 250%, 100% 100%, 220px 220px;
  background-position: var(--pointer-x) var(--pointer-y), center, calc(var(--pointer-x) * .01) calc(var(--pointer-y) * .01);
  background-blend-mode: color-dodge;
  filter: brightness(calc(2 - var(--pointer-from-center))) contrast(calc(var(--pointer-from-center) + 2)) saturate(calc(.5 + var(--pointer-from-center)));
  mix-blend-mode: luminosity;
}
.pc-shine::after {
  background-position: 0 var(--background-y), calc(var(--background-x) * .4) calc(var(--background-y) * .5), center;
  background-size: 200% 300%, 700% 700%, 100% 100%;
  mix-blend-mode: difference; filter: brightness(.8) contrast(1.5);
}
.pc-glare {
  transform: translate3d(0, 0, 1.1px); overflow: hidden;
  background-image: radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsl(205, 40%, 80%) 12%, hsla(215, 60%, 25%, .8) 90%);
  mix-blend-mode: overlay; filter: brightness(.8) contrast(1.2); z-index: 4;
}
.pc-avatar-content { mix-blend-mode: luminosity; overflow: visible; transform: translateZ(2px); backface-visibility: hidden; }
.pc-avatar-content .avatar {
  width: 100%; position: absolute; left: 50%; bottom: -1px; transform-origin: 50% 100%;
  transform: translateX(calc(-50% + (var(--pointer-from-left) - .5) * 6px)) translateZ(0) scaleY(calc(1 + (var(--pointer-from-top) - .5) * .02)) scaleX(calc(1 + (var(--pointer-from-left) - .5) * .01));
  backface-visibility: hidden; will-change: transform; transition: transform 120ms ease-out;
}
.pc-avatar-content .avatar.is-logo { width: 52%; bottom: 32%; opacity: .55; } /* sans photo de Rangel */
.pc-ui { z-index: 6; } /* barre du bas au-dessus du reflet pour rester lisible */
.pc-user-info {
  --ui-inset: 18px; --ui-radius-bias: 6px;
  position: absolute; bottom: var(--ui-inset); left: var(--ui-inset); right: var(--ui-inset); z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: calc(max(0px, var(--card-radius) - var(--ui-inset) + var(--ui-radius-bias)));
  padding: 10px 12px; pointer-events: auto;
}
.pc-user-details { display: flex; align-items: center; gap: 10px; }
.pc-mini-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); flex-shrink: 0; place-items: center; background: var(--bg); }
.pc-mini-avatar img { width: 70%; height: 70%; object-fit: contain; }
.pc-user-text { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; }
.pc-handle { font: 600 14px/1 var(--head); color: rgba(255, 255, 255, .92); }
.pc-status { font-size: 13px; line-height: 1; color: rgba(255, 255, 255, .72); }
.pc-card .pc-contact-btn {
  display: inline-grid; place-items: center; min-height: 40px; pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 0 14px;
  font: 600 13px var(--head); color: #03122a; background: linear-gradient(180deg, #a8e3ff, var(--sky)); text-decoration: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.pc-card .pc-contact-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -6px var(--sky-2); }
.pc-content:not(.pc-avatar-content) {
  max-height: 100%; overflow: hidden; text-align: center; position: relative; z-index: 5; mix-blend-mode: luminosity;
  transform: translate3d(calc(var(--pointer-from-left) * -6px + 3px), calc(var(--pointer-from-top) * -6px + 3px), .1px);
}
.pc-details { width: 100%; position: absolute; top: 2.2em; display: flex; flex-direction: column; }
.pc-details p { margin: 0; -webkit-text-fill-color: transparent; background-clip: text; -webkit-background-clip: text; background-size: 1em 1.5em; }
.pc-details .pc-name { font: 700 2.3rem/1.1 var(--head); letter-spacing: -.02em; background-image: linear-gradient(to bottom, #fff, var(--sky)); }
.pc-details .pc-role { font: 600 15px var(--head); white-space: nowrap; width: min-content; margin: .35rem auto 0; background-image: linear-gradient(to bottom, #fff, var(--sky-2)); }
@keyframes holo-bg {
  0% { background-position: 0 var(--background-y), 0 0, center; }
  100% { background-position: 0 var(--background-y), 90% 90%, center; }
}
@media (max-width: 480px) {
  .pc-card { height: 400px; }
  .pc-details .pc-name { font-size: 1.9rem; }
}
/* bordure néon (src/neon-border.js) : ne garde que l'anneau padding */
.nb-mask {
  -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0); -webkit-mask-clip: content-box, border-box; -webkit-mask-composite: xor;
  mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0); mask-clip: content-box, border-box; mask-composite: exclude;
}

.trust { position: relative; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(10,29,69,.4), rgba(18,48,107,.35), rgba(10,29,69,.4)); }
/* bande défilante : 2 copies identiques de la liste, translation de -100% en boucle ; pause au survol */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 3.5rem; padding: 0 1.75rem; margin: 0; list-style: none; animation: marquee 45s linear infinite; }
.trust:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.trust li { display: flex; align-items: center; gap: .75rem; padding: 1.2rem 0; font-weight: 500; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; justify-content: center; } .marquee-track { flex-wrap: wrap; justify-content: center; } .marquee-track[aria-hidden] { display: none; } }
.trust .i { color: var(--sky); width: 1.5em; height: 1.5em; }

/* ---------- sections ---------- */
.sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec.alt { background: linear-gradient(180deg, transparent, rgba(10,29,69,.45) 20%, rgba(10,29,69,.45) 80%, transparent); }
.sh { margin-bottom: 2.5rem; max-width: 46rem; }
.more { margin: 2.5rem 0 0; text-align: center; }
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid > *, .split > *, .hero-in > * { min-width: 0; }

.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(18,48,107,.35), rgba(6,16,40,.6));
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.svc { display: flex; flex-direction: column; }
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(56,189,248,.45); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; border-radius: var(--r) var(--r) 0 0; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); filter: saturate(.85); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,40,.95), transparent 55%); }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 0 1.4rem 1.5rem; position: relative; }
.svc-img + .svc-body { margin-top: -1.6rem; }
.svc-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 12px; color: var(--sky); background: rgba(3,8,23,.85); border: 1px solid var(--line-2); box-shadow: 0 0 20px -4px rgba(125,211,252,.5); }
.svc p, .val p { color: var(--muted); margin: 0; }
.val { padding: 1.5rem; }
.val:hover { border-color: var(--line-2); }

/* ---------- avant / après ---------- */
.ba { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); user-select: none; }
.ba-stage { position: relative; }
.ba-stage > img, .ba-before img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { height: 100%; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--sky); box-shadow: 0 0 14px var(--sky), 0 0 40px rgba(56,189,248,.6); pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%) rotate(45deg); border: 2px solid var(--sky); background: rgba(3,8,23,.75); backdrop-filter: blur(6px); }
.ba-line span::after { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-45deg); color: var(--sky); font: 700 1rem var(--head); letter-spacing: .1em; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba input:focus-visible ~ .ba-line span, .ba:focus-within .ba-line span { outline: 3px solid #fff; outline-offset: 3px; }
.ba-tag { position: absolute; top: 1rem; padding: .35rem .7rem; border-radius: 6px; background: rgba(3,8,23,.75); border: 1px solid var(--line-2); font: 600 .72rem var(--head); letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba-tag.l { left: 1rem; } .ba-tag.r { right: 1rem; color: var(--sky); }
.ba figcaption { padding: .85rem 1.1rem; font-size: .92rem; background: rgba(6,16,40,.9); border-top: 1px solid var(--line); }
.ba figcaption em { color: var(--muted); font-style: normal; }

/* ---------- galerie ---------- */
.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gal-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; position: relative; }
.gal-btn img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: saturate(.85); }
.gal-btn::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: .3s; border-radius: 10px; }
.gal-btn:hover img { transform: scale(1.06); filter: saturate(1); }
.gal-btn:hover::after { box-shadow: inset 0 0 0 2px var(--sky), inset 0 0 40px rgba(56,189,248,.35); }
.vids video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); }

.lb { padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); max-width: min(1200px, 94vw); max-height: 92dvh; overflow: visible; color: var(--ice); }
.lb::backdrop { background: rgba(3,8,23,.88); backdrop-filter: blur(6px); }
.lb img { max-height: 88dvh; width: auto; margin: auto; border-radius: var(--r); }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(3,8,23,.85); color: var(--ice); cursor: pointer; }
.lb button:hover { border-color: var(--sky); color: var(--sky); }
.lb-x { top: 12px; right: 12px; }
.lb-p, .lb-n { top: 50%; transform: translateY(-50%); }
.lb-p { left: 12px; } .lb-p .i { transform: scaleX(-1); }
.lb-n { right: 12px; }

/* ---------- zone ---------- */
.chips { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10,29,69,.5); font-size: .92rem; }
.chips.big li { font-size: 1rem; padding: .6rem 1rem; }
.chips .i { color: var(--sky); width: 1em; height: 1em; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 3; position: relative; box-shadow: 0 30px 60px -30px rgba(47,125,246,.55); }
.map.tall { aspect-ratio: 4 / 4.2; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(185deg) saturate(1.3) brightness(.9) contrast(.95); }

/* ---------- entreprise / contact ---------- */
.person { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; margin-top: 1.5rem; flex-wrap: wrap; }
.person > .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(125,211,252,.12); color: var(--sky); }
.person div { display: flex; flex-direction: column; margin-right: auto; }
.person b { font-family: var(--head); font-size: 1.1rem; }
.person span { color: var(--muted); font-size: .9rem; }
.stack { display: grid; grid-template-columns: 1fr; position: relative; }
.stack img { border-radius: var(--r); border: 1px solid var(--line-2); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stack img + img { position: absolute; width: 42%; right: -4%; bottom: -10%; box-shadow: 0 20px 40px rgba(0,0,0,.6); }

.ccards { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.cc { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ice); }
.cc:hover { border-color: var(--sky); transform: translateX(4px); }
.cc > .i { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: rgba(125,211,252,.12); color: var(--sky); }
.cc span { display: flex; flex-direction: column; }
.cc small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-family: var(--head); }
.cc b { font: 600 1.15rem var(--head); }
.contact { align-items: start; }
.form { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form h2 { font-size: 1.6rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .95rem; }
.form abbr { color: var(--sky); text-decoration: none; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(3,8,23,.7); color: var(--ice); font: 400 1rem var(--body); transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(125,211,252,.2); }
.form [aria-invalid="true"] { border-color: #fca5a5; }
.form small, .note { color: var(--muted); font-size: .85rem; font-weight: 400; }
.err { color: #fecaca; background: rgba(239,68,68,.12); border: 1px solid rgba(252,165,165,.4); padding: .6rem .8rem; border-radius: 8px; margin: 0; }
.form .btn { justify-self: start; }

/* ---------- page hero ---------- */
.phero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: radial-gradient(40rem 20rem at 20% 0%, rgba(47,125,246,.25), transparent 70%); }
.crumb { display: flex; gap: .6rem; font: 600 .75rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--sky); }
.crumb [aria-current] { color: var(--sky); }

/* ---------- CTA + footer ---------- */
.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-in { position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(30rem 16rem at 90% 0%, rgba(125,211,252,.25), transparent 70%), linear-gradient(120deg, var(--navy), var(--navy-2));
  box-shadow: 0 40px 80px -40px rgba(47,125,246,.7);
}
.cta-in p { color: #c9daf2; margin: 0; max-width: 52ch; }
.cta-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.foot { border-top: 1px solid var(--line); background: #020612; padding-top: 3.5rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot p { color: var(--muted); margin-top: 1rem; max-width: 32ch; }
.foot h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot ul a { color: var(--muted); text-decoration: none; }
.foot ul a:hover { color: var(--ice); }
.fc li { display: flex; align-items: center; gap: .55rem; color: var(--muted); }
.fc .i { color: var(--sky); width: 1em; height: 1em; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0 2rem; margin-top: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(180deg, #a8e3ff, var(--sky)); color: #03122a; box-shadow: 0 10px 30px -6px rgba(56,189,248,.8); }
.fab .i { width: 26px; height: 26px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .stack img + img { display: none; }
}
@media (max-width: 640px) {
  .g2, .g3, .f2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .trust li { padding: 1rem 0; }
  .foot-in { grid-template-columns: 1fr; }
  .fab { display: grid; }
  .hero-btns .btn, .cta-btns .btn { flex: 1 1 100%; }
  .logo-txt small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
