:root {
  --navy: #0B2540;
  --navy-2: #12365c;
  --cyan: #0BBACF;
  --blue: #2280BB;
  --ink: #0f1b2a;
  --muted: #55657a;
  --line: #e1e8f0;
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 'Space Grotesk', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: 'Chakra Petch', sans-serif; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: .8em; }
.eyebrow.dark { color: var(--blue); }
.accent { color: var(--cyan); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 0; background: var(--cyan); color: var(--navy); font: 600 1rem 'Space Grotesk', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: #2fd0e3; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,37,64,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 36px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: #d6e3f0; text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: #fff; }
.menu a.btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, #134a78 0%, var(--navy) 60%); color: #fff; padding: 96px 0 72px; }
.hero-mark { position: absolute; right: -120px; top: 40px; width: 620px; opacity: .18; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-inner .stats { grid-column: 1 / -1; }
.hero h1 { max-width: 20ch; }
.hero-cta { margin-bottom: 0 !important; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1 / 1; }
.hero-photo figcaption { position: absolute; left: -24px; bottom: 28px; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); border-left: 4px solid var(--cyan); }
.hero-photo figcaption strong { display: block; font-family: 'Chakra Petch', sans-serif; }
.hero-photo figcaption span { font-size: .85rem; color: var(--muted); }

/* Logo animé */
.hero-logo { margin: 0; display: grid; justify-items: center; gap: 8px; }
.lg { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.lg-halo { animation: lg-breathe 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
/* sphères */
/* nœud éteint : sphère blanche, icône aux couleurs du logo */
.lg-ball { fill: #ffffff; transition: fill .5s ease; }
.lg-edge { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 4; transition: stroke .4s, stroke-width .4s; }
.lg-spec { pointer-events: none; }
.lg-front { color: #0BBACF; transition: color .5s; }
.lg-depth { color: #2280BB; transition: color .5s; }
/* nœud sélectionné : sphère colorée, icône blanche */
.lg-node.active .lg-ball { fill: var(--c, #0BBACF); }
.lg-node.active .lg-edge { stroke: rgba(255, 255, 255, .95); stroke-width: 12; }
.lg-node.active .lg-front { color: #ffffff; }
.lg-node.active .lg-depth { color: #06223d; color: color-mix(in srgb, var(--c, #0BBACF) 45%, #000814); }
.lg-ripple { fill: none; stroke: var(--c, #0BBACF); stroke-width: 10; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lg-node.active .lg-ripple { animation: lg-ripple 2.4s ease-out infinite; }
.lg-icon { filter: drop-shadow(0 4px 3px rgba(0, 8, 20, .35)); transform-box: fill-box; transform-origin: center; transition: opacity .28s, transform .28s; }
.lg-icon.out { opacity: 0; transform: scale(.55) rotate(-12deg); }
.lg-caption { text-align: center; min-height: 52px; }
.lg-caption span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8aa5c0; }
.lg-caption strong { display: inline-block; font: 600 1.25rem 'Chakra Petch', sans-serif; color: #fff; transition: opacity .28s, transform .28s; }
.lg-caption strong.out { opacity: 0; transform: translateY(6px); }
@keyframes lg-breathe { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes lg-ripple { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .lg-small, .lg-floor, .lg-body, .lg-halo, .lg-ripple, .lg-dot { animation: none; } }

/* Photo + carte */
.about-media { margin-top: 40px; display: grid; gap: 24px; }
.about-media .about-photo, .about-media .map { margin: 0; }
.about-media .about-photo img { aspect-ratio: auto; height: 320px; }
@media (min-width: 961px) { .about-media { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Choix multiple des services */
.services-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.services-pick legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: .9rem; font-weight: 500; }
.services-pick legend span { color: var(--muted); font-weight: 400; font-size: .82rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .45em .9em; border: 1px solid var(--line); border-radius: 999px; background: #fbfdff; font-size: .86rem; transition: background .15s, border-color .15s, color .15s; }
.chip span::before { content: "+ "; color: var(--muted); }
.chip:hover span { border-color: var(--cyan); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { content: "✓ "; color: var(--cyan); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Carte */
.map { margin-top: 20px; }
.about-media .map iframe { height: 320px; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: var(--radius); background: var(--bg-alt); }
.map-link { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.map-link:hover { text-decoration: underline; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gallery figure:hover { border-color: #b9e6ee; box-shadow: 0 12px 30px -18px rgba(11,37,64,.35); transform: translateY(-2px); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-alt); }
.gallery figcaption { padding: 14px 18px 16px; font: 600 1rem/1.35 'Chakra Petch', sans-serif; color: var(--navy); border-top: 1px solid var(--line); }
.about-photo { margin: 28px 0 0; }
.about-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.about-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.lead { font-size: 1.15rem; color: #c3d4e6; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 56px; }
.stats { list-style: none; padding: 28px 0 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.stats strong { display: block; font: 700 2rem 'Chakra Petch', sans-serif; color: #fff; }
.stats span { color: #9fb6cd; font-size: .9rem; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #b9e6ee; box-shadow: 0 12px 30px -18px rgba(11,37,64,.35); transform: translateY(-2px); }
.card ul, .ref ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.card li, .ref li { margin-bottom: .35em; }
.card li::marker, .ref li::marker { color: var(--cyan); }
.card { overflow: hidden; }
.card-illu { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 20px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--blue)); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split > div > p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .88rem; font-weight: 500; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 72px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font: 700 1.3rem 'Chakra Petch', sans-serif; color: var(--cyan); }
.steps strong { display: block; font-family: 'Chakra Petch', sans-serif; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .95rem; }

.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref { border-left: 3px solid var(--cyan); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.ref h3 { color: var(--navy); }

.team { display: grid; gap: 16px; }
.person { margin: 0; display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cyan); font: 700 1.1rem 'Chakra Petch', sans-serif; }
.person strong { display: block; font-family: 'Chakra Petch', sans-serif; font-size: 1.05rem; }
.person span { display: block; color: var(--blue); font-size: .9rem; font-weight: 500; margin-bottom: .4em; }
.person p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact .split > div > p { color: #c3d4e6; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8aa5c0; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(11,186,207,.5); }
.contact-list a:hover { color: var(--cyan); }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: .7em .85em; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: transparent; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); }

.site-footer { background: #081c31; color: #8aa5c0; padding: 40px 0; font-size: .9rem; }
.foot img { height: 30px; width: auto; margin-bottom: 14px; }
.foot p { margin: 0 0 .4em; }
.small { font-size: .8rem; opacity: .8; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .refs { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; }
  .hero-photo { margin-inline: auto; }
  .hero-photo img { max-width: 360px; }
  .hero-photo figcaption { left: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; }
  .menu a.btn { margin-top: 8px; }
  .cards, .refs { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .hero-mark { width: 380px; right: -140px; top: 20px; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Badge partenaire */
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: .2em .6em; border-radius: 999px; background: #e8f6ee; color: #1a7f52; font: 600 .7rem 'Space Grotesk', sans-serif; letter-spacing: .02em; }

/* =========================================================
   Modernisation
   ========================================================= */
:root { --radius: 18px; --grad: linear-gradient(135deg, #0BBACF 0%, #2280BB 100%); }
h1, h2 { letter-spacing: -.02em; }

/* Boutons */
.btn { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(11, 186, 207, .75); }
.btn:hover { background: var(--grad); filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11, 186, 207, .85); }
.menu a.btn { color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); filter: none; }

/* En-tête en verre dépoli */
.site-header { background: rgba(11, 37, 64, .55); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(8, 28, 49, .9); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.nav { transition: height .3s; }
.site-header.scrolled .nav { height: 60px; }
.menu a:not(.btn) { position: relative; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:not(.btn):hover::after, .menu a.current::after { transform: scaleX(1); }
.menu a.current { color: #fff; }

/* Accueil */
.hero { background: radial-gradient(900px 520px at 80% 20%, #15507f 0%, rgba(11, 37, 64, 0) 60%), radial-gradient(700px 420px at 0% 100%, rgba(11, 186, 207, .18) 0%, rgba(11, 37, 64, 0) 60%), var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero-inner { z-index: 1; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #cfe3f3; font-size: .82rem; font-weight: 500; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: dot-ping 2s ease-out infinite; }
@keyframes dot-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.accent { background: linear-gradient(90deg, #0BBACF, #7fe3f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats li { padding-left: 16px; border-left: 2px solid rgba(11, 186, 207, .35); }
.stats strong { background: linear-gradient(180deg, #ffffff, #bfe3f0); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.3rem; }

/* Bandeau « Ils nous font confiance » */
.trust { padding: 28px 0 30px; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-title { text-align: center; margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; animation: marquee 32s linear infinite; }
.marquee-track li { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 600 1.15rem 'Chakra Petch', sans-serif; color: #4a5d73; }
.marquee-track li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Titres de section */
.eyebrow.dark { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow.dark::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section.alt { background: linear-gradient(180deg, #f3f7fb 0%, #eef4fa 100%); }

/* Cartes services */
.card { border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(11, 186, 207, .45); box-shadow: 0 26px 50px -26px rgba(11, 37, 64, .5); }
.card-illu { transition: transform .5s ease; }
.card:hover .card-illu { transform: scale(1.04); }
.badge { background: linear-gradient(135deg, #e3f8ec, #d3f3e2); }

/* Galerie */
.gallery figure { border-radius: var(--radius); }
.gallery img { transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }

/* Étapes */
.steps li { border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.steps li:hover { transform: translateX(6px); border-color: rgba(11, 186, 207, .45); box-shadow: 0 16px 30px -22px rgba(11, 37, 64, .45); }
.steps li::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Références */
.ref { background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ref::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.ref:hover { transform: translateY(-4px); border-color: rgba(11, 186, 207, .45); box-shadow: 0 22px 44px -26px rgba(11, 37, 64, .45); }
.ref-tag { display: inline-block; margin-bottom: 10px; padding: .25em .7em; border-radius: 999px; background: #e7f7fa; color: #0a7f91; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Équipe, formulaire, carte */
.person, .form, .map iframe, .about-photo img { border-radius: var(--radius); }
.person { transition: transform .3s ease, box-shadow .3s ease; }
.person:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11, 37, 64, .45); }
.avatar { background: var(--grad); color: #fff; }
.contact { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 100% 0%, rgba(11, 186, 207, .18), rgba(11, 37, 64, 0) 60%), var(--navy); }
.form { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }

/* Pied de page */
.site-footer { padding: 56px 0 0; background: #071a2e; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.foot-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.foot-brand p { color: #8aa5c0; font-size: .9rem; max-width: 36ch; }
.site-footer h4 { margin: 4px 0 14px; font: 600 1rem 'Chakra Petch', sans-serif; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; color: #8aa5c0; }
.site-footer ul a { color: #8aa5c0; text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #6f8aa6; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: #8aa5c0; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-ping 2.6s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* Apparition au défilement */
.js-reveal .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease var(--d, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .3s ease 0s, box-shadow .3s ease 0s, border-color .3s ease 0s; }
.js-reveal .reveal.in { opacity: 1; translate: 0 0; }

@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .hero-pill { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track, .hero-pill .dot, .wa-float::before { animation: none; } }

/* L'accueil passe sous l'en-tête pour l'effet verre */
.hero { margin-top: -69px; padding-top: 165px; }
@media (max-width: 720px) { .hero { padding-top: 133px; } }

@media print { .js-reveal .reveal { opacity: 1 !important; translate: none !important; } .wa-float, .site-header { display: none; } }

/* Typographie tech */
h1, h2, h3, h4 { font-family: 'Chakra Petch', sans-serif; letter-spacing: -.01em; }
h1 { font-weight: 700; }
.eyebrow, .hero-pill, .trust-title, .ref-tag, .lg-caption span, .contact-list span, .badge, .services-pick legend span, .steps li::before, .foot-bottom { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow { letter-spacing: .08em; }
.stats strong { font-family: 'Orbitron', 'Chakra Petch', sans-serif; font-weight: 700; letter-spacing: .02em; font-size: 2rem; }
.marquee-track li { font-family: 'Chakra Petch', sans-serif; }
.btn { font-family: 'Space Grotesk', sans-serif; letter-spacing: .01em; }

/* Vitrine « Aperçu de nos solutions » */
.showcase { background: radial-gradient(900px 500px at 15% 0%, rgba(11,186,207,.16), rgba(7,26,46,0) 60%), #071a2e; color: #fff; }
.showcase .section-head p:last-child { color: #9fb6cd; }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sc-tab { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #cfe3f3; font: 500 .9rem 'Space Grotesk', sans-serif; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.sc-tab:hover { border-color: var(--c); color: #fff; }
.sc-tab.active { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 10px 24px -12px var(--c); }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.sc-tab.active .sc-dot { background: #fff; }
.sc-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sc-stage { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: stretch; }
.sc-screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); background: #040c18; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 1.2s ease; }
.sc-img.active { opacity: 1; transform: scale(1); }
.sc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.sc-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; animation: sc-progress 6s linear infinite; }
@keyframes sc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sc-info { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); position: relative; overflow: hidden; }
.sc-info::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); transition: background .4s; }
.sc-info h3 { font-size: 1.5rem; color: #fff; margin-bottom: .5em; }
.sc-info p { color: #b8cde0; }
.sc-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-info li { display: flex; gap: 10px; align-items: center; color: #e2eef8; font-size: .95rem; }
.sc-info li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sc-info .btn { align-self: flex-start; }
.sc-body.swap { animation: sc-in .45s ease; }
@keyframes sc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .sc-stage { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .sc-tabs::-webkit-scrollbar { display: none; }
  .sc-tab { flex: none; }
  .sc-info { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sc-progress { display: none; } .sc-img { transition: none; } }

/* ===== Accueil high-tech ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center; }
.hero-net { position: absolute; inset: 0; pointer-events: none; }
.hero-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(11, 186, 207, .14), transparent 60%); transition: background .1s; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; max-width: 18ch; }
.rotator { display: inline-flex; align-items: baseline; background: linear-gradient(90deg, #0BBACF, #7fe3f3 55%, #b388ff); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 1ch; }
.caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: #7fe3f3; border-radius: 2px; box-shadow: 0 0 12px #0BBACF; animation: caret 1s steps(1) infinite; align-self: center; }
@keyframes caret { 50% { opacity: 0; } }
.hero-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; }
.hero-feats li { display: inline-flex; align-items: center; gap: 8px; color: #b8d4ea; font-size: .92rem; }
.hero-feats svg, .stats svg { width: 20px; height: 20px; fill: none; stroke: #0BBACF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(11, 186, 207, .6)); }
/* chiffres en cartes de verre */
.hero .stats { border-top: 0; padding-top: 0; margin-top: 8px; gap: 16px; }
.hero .stats li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .1); border-left: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; transition: transform .3s, border-color .3s; }
.hero .stats li::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(127, 227, 243, .8), transparent); }
.hero .stats li:hover { transform: translateY(-4px); border-color: rgba(11, 186, 207, .5); }
.hero .stats li svg { grid-row: 1 / 3; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(11, 186, 207, .12); box-sizing: content-box; }
.hero .stats strong { line-height: 1.1; font-size: 1.8rem; }
.hero .stats span { font-size: .82rem; }
/* repère de défilement */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #7fe3f3; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) { .hero { min-height: 0; } .scroll-cue { display: none; } }
@media (max-width: 560px) { .hero .stats li { padding: 14px; column-gap: 10px; } .hero .stats li svg { width: 26px; height: 26px; padding: 6px; } .hero .stats strong { font-size: 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .caret, .scroll-cue span { animation: none; } }
.hero h1 { max-width: none; }
.rotator { min-height: 1.08em; }
.h1-sub { color: #cfe3f3; font-weight: 600; font-size: .62em; letter-spacing: 0; }

/* ===== Logo dynamique high-tech ===== */
.lg-core { animation: lg-core 3s ease-in-out infinite; }
@keyframes lg-core { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.lg-sweep { animation: lg-sweep 6s ease-in-out infinite; }
@keyframes lg-sweep { 0% { transform: rotate(18deg) translateX(0); } 55%, 100% { transform: rotate(18deg) translateX(2900px); } }
.lg-sweep { transform-origin: 1000px 600px; }
.lg-beam { fill: none; stroke: #7fe3f3; stroke-width: 26; stroke-linecap: round; stroke-dasharray: 22 200; stroke-dashoffset: 22; opacity: 0; }
.lg-beam.go { animation: lg-beam 1s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes lg-beam { 0% { stroke-dashoffset: 22; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.lg-node.active .lg-ball { filter: url(#lg-disc-shadow) drop-shadow(0 0 30px var(--c)); }
/* panneau HUD sous le logo */
.lg-hud { --c: #0BBACF; width: min(340px, 100%); padding: 12px 16px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: left; position: relative; }
.lg-hud::before, .lg-hud::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--c); transition: border-color .4s; }
.lg-hud::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.lg-hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.lg-hud-top { display: flex; align-items: center; gap: 8px; font: 600 .7rem 'JetBrains Mono', monospace; letter-spacing: .12em; color: #8fb3d1; }
.lg-hud-top b { color: #fff; font-weight: 700; }
.lg-hud-led { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); transition: background .4s; }
.lg-hud-status { margin-left: auto; padding: .1em .55em; border-radius: 4px; background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; transition: background .4s; }
.lg-hud strong { display: block; margin: 6px 0 10px; font: 700 1.2rem 'Chakra Petch', sans-serif; transition: opacity .28s, transform .28s; }
.lg-hud strong.out { opacity: 0; transform: translateY(6px); }
.lg-hud-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lg-hud-bar i { display: block; height: 100%; width: 100%; background: var(--c); transform-origin: left; transform: scaleX(0); }
.lg-hud.tick .lg-hud-bar i { animation: lg-bar 2.4s linear forwards; }
@keyframes lg-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .lg-core, .lg-sweep, .lg-beam.go, .lg-hud.tick .lg-hud-bar i { animation: none; } }

/* ===== Reste du site : touches high-tech ===== */
::selection { background: rgba(11, 186, 207, .3); color: inherit; }
html { scrollbar-color: #2280BB #071a2e; }
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #0BBACF, #7fe3f3, #8B5CF6); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(11, 186, 207, .8); }

/* numérotation des sections façon console */
main { counter-reset: sec; }
main > .section { counter-increment: sec; }
main > .section .eyebrow { font-family: 'JetBrains Mono', monospace; display: inline-flex; align-items: center; gap: 10px; }
main > .section .eyebrow::before { content: counter(sec, decimal-leading-zero) " //"; width: auto; height: auto; background: none; color: #8B5CF6; font-weight: 700; }
main > .showcase .eyebrow::before, main > .contact .eyebrow::before { color: #b388ff; }

/* fonds clairs avec grille technique */
.section:not(.alt):not(.showcase):not(.contact) { background-color: #fff; background-image: linear-gradient(rgba(11, 37, 64, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 37, 64, .035) 1px, transparent 1px); background-size: 40px 40px; }
.section.alt { background-image: radial-gradient(rgba(11, 37, 64, .07) 1px, transparent 1px), linear-gradient(180deg, #f3f7fb 0%, #eef4fa 100%); background-size: 22px 22px, auto; }

/* cartes : bordure lumineuse en dégradé + coins de visée au survol */
.card, .gallery figure, .ref, .steps li, .person { position: relative; }
.card::before, .gallery figure::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #0BBACF, #8B5CF6 50%, #0BBACF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.card:hover::before, .gallery figure:hover::before { opacity: 1; }
.card::after, .gallery figure::after { content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s, inset .3s;
  background:
    linear-gradient(#0BBACF, #0BBACF) top left / 14px 2px no-repeat, linear-gradient(#0BBACF, #0BBACF) top left / 2px 14px no-repeat,
    linear-gradient(#0BBACF, #0BBACF) top right / 14px 2px no-repeat, linear-gradient(#0BBACF, #0BBACF) top right / 2px 14px no-repeat,
    linear-gradient(#0BBACF, #0BBACF) bottom left / 14px 2px no-repeat, linear-gradient(#0BBACF, #0BBACF) bottom left / 2px 14px no-repeat,
    linear-gradient(#0BBACF, #0BBACF) bottom right / 14px 2px no-repeat, linear-gradient(#0BBACF, #0BBACF) bottom right / 2px 14px no-repeat; }
.card:hover::after, .gallery figure:hover::after { opacity: 1; inset: 6px; }
.card h3 { transition: color .3s; }
.card:hover h3 { color: #1678ad; }

/* étapes reliées par une ligne lumineuse */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 36px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, #0BBACF, #8B5CF6); opacity: .35; }
.steps li { z-index: 1; }

/* contact : grille + formulaire lumineux */
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.contact .container { position: relative; }
.form { outline: 1px solid rgba(11, 186, 207, .35); outline-offset: 6px; }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 130%; }

/* pied de page : liseré lumineux */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #0BBACF, #8B5CF6, transparent); }
@media (max-width: 560px) { .steps::before { left: 30px; } }

/* Effets du logo renforcés */
.lg-core { animation: lg-core 2.4s ease-in-out infinite; }
@keyframes lg-core { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.lg-sweep { animation: lg-sweep 4s ease-in-out infinite; }
@keyframes lg-sweep { 0% { transform: rotate(18deg) translateX(0); } 50%, 100% { transform: rotate(18deg) translateX(3100px); } }
.lg-beam { stroke-width: 48; stroke-dasharray: 34 200; stroke-dashoffset: 34; }
.lg-beam.go { animation: lg-beam 1.1s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes lg-beam { 0% { stroke-dashoffset: 34; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.lg-beam-track { fill: none; stroke: #7fe3f3; stroke-width: 10; stroke-linecap: round; opacity: 0; }
.lg-beam-track.go { animation: lg-track 1.6s ease-out forwards; }
@keyframes lg-track { 0% { opacity: .7; } 100% { opacity: 0; } }
.lg-aura { fill: var(--c, #0BBACF); opacity: 0; transition: opacity .5s; }
.lg-node.active .lg-aura { opacity: .85; animation: lg-aura 2.4s ease-in-out infinite; }
@keyframes lg-aura { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.lg-node.active .lg-ball { filter: url(#lg-disc-shadow); }
@media (prefers-reduced-motion: reduce) { .lg-core, .lg-sweep, .lg-beam.go, .lg-beam-track.go, .lg-node.active .lg-aura { animation: none; } }

/* ===== Logo v3 ===== */
.lg-sweep { display: none; }
/* onde lumineuse du centre vers les nœuds */
.lg-wave { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; animation: lg-wave 3.2s ease-out infinite; }
.lg-wave2 { animation-delay: 1.6s; }
@keyframes lg-wave { 0% { transform: scale(.05); opacity: 0; } 12% { opacity: 1; } 75% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
/* point -> cercle dégradé -> se vide dans le fuseau */
.lg-orb { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.lg-orb.go { animation: lg-orb 1.5s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes lg-orb {
  0% { transform: scale(.04); opacity: 1; }
  12% { transform: scale(.12); opacity: 1; }
  45% { transform: scale(1); opacity: 1; }
  55% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: .4; }
}
.lg-beam { stroke-width: 40; stroke-dasharray: 30 200; stroke-dashoffset: 30; }
.lg-beam.go { animation: lg-beam3 .8s cubic-bezier(.4, .1, .3, 1) .7s forwards; }
@keyframes lg-beam3 { 0% { stroke-dashoffset: 30; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.lg-beam-track.go { animation: lg-track 1.2s ease-out .7s forwards; }
.lg-hud.tick .lg-hud-bar i { animation-duration: 3.2s; }
/* titre : chaque partie sur sa ligne, hauteur réservée pour le mot qui s'écrit */
.hero h1 .rotator { display: flex; align-items: center; min-height: 1.08em; }
.hero h1 .h1-sub { display: block; margin-top: .1em; }
@media (prefers-reduced-motion: reduce) { .lg-wave { animation: none; } .lg-orb.go, .lg-beam.go { animation: none; } }

/* Fuseau continu : il s'étire du bord du cercle jusqu'au nœud, puis s'épuise en même temps que le cercle */
.lg-orb.go { animation: lg-orb2 1.5s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes lg-orb2 {
  0% { transform: scale(.04); opacity: 1; }
  12% { transform: scale(.12); opacity: 1; }
  40% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: .5; }
}
.lg-beam { stroke-width: 34; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; }
.lg-beam.go { animation: lg-stream .9s linear .6s forwards; }
@keyframes lg-stream {
  0% { stroke-dashoffset: 100; opacity: 1; stroke-width: 34; }
  38% { stroke-dashoffset: 0; opacity: 1; stroke-width: 34; }
  100% { stroke-dashoffset: -100; opacity: 1; stroke-width: 18; }
}
.lg-beam-track { stroke: #ffffff !important; stroke-width: 8; stroke-dasharray: 2 6; stroke-dashoffset: 0; opacity: 0; mix-blend-mode: screen; }
.lg-beam-track.go { animation: lg-flow .9s linear .6s forwards; }
@keyframes lg-flow { 0% { opacity: 0; stroke-dashoffset: 0; } 20% { opacity: .55; } 80% { opacity: .55; } 100% { opacity: 0; stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) { .lg-beam.go, .lg-beam-track.go, .lg-orb.go { animation: none; } }
/* le fuseau reste relié au cercle et s'amincit avec lui */
@keyframes lg-stream {
  0% { stroke-dashoffset: 100; opacity: 1; stroke-width: 34; }
  38% { stroke-dashoffset: 0; opacity: 1; stroke-width: 34; }
  100% { stroke-dashoffset: 0; opacity: 0; stroke-width: 0; }
}
@keyframes lg-flow { 0% { opacity: 0; stroke-dashoffset: 0; } 20% { opacity: .55; } 70% { opacity: .45; } 100% { opacity: 0; stroke-dashoffset: -40; } }
/* cercle et fuseau s'épuisent au même rythme */
.lg-orb.go { animation: lg-orb3 1.5s linear forwards; }
@keyframes lg-orb3 {
  0% { transform: scale(.04); opacity: 1; animation-timing-function: ease-out; }
  12% { transform: scale(.12); opacity: 1; animation-timing-function: ease-out; }
  40% { transform: scale(1); opacity: 1; animation-timing-function: linear; }
  100% { transform: scale(0); opacity: 1; }
}
@keyframes lg-stream {
  0% { stroke-dashoffset: 100; stroke-width: 34; opacity: 1; animation-timing-function: ease-out; }
  38% { stroke-dashoffset: 0; stroke-width: 30; opacity: 1; animation-timing-function: linear; }
  100% { stroke-dashoffset: 0; stroke-width: 0; opacity: 1; }
}

/* pas de points blancs dans le fuseau */
.lg-beam-track { display: none !important; }

/* icônes des nœuds : lueur high-tech */
.lg-node.active .lg-front { filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9)); }
.lg-node:not(.active) .lg-front { filter: drop-shadow(0 0 4px rgba(11, 186, 207, .55)); }

/* ===== Références avec logos ===== */
.ref-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ref-head .ref-tag { margin: 0; }
.ref-logo { position: relative; flex: none; width: 96px; height: 60px; display: grid; place-items: center; padding: 6px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px -14px rgba(11, 37, 64, .5); overflow: hidden; }
.ref-logo::before, .ref-logo::after { content: ""; position: absolute; width: 8px; height: 8px; border: 2px solid #0BBACF; opacity: .7; }
.ref-logo::before { left: 3px; top: 3px; border-right: 0; border-bottom: 0; border-radius: 3px 0 0 0; }
.ref-logo::after { right: 3px; bottom: 3px; border-left: 0; border-top: 0; border-radius: 0 0 3px 0; }
.ref-logo img { max-width: 100%; max-height: 46px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .35s, opacity .35s, transform .35s; }
.ref:hover .ref-logo img { filter: none; opacity: 1; transform: scale(1.06); }
.ref-mono { background: linear-gradient(140deg, #0B2540, #134a78); border-color: transparent; }
.ref-mono span { font: 700 1.35rem 'Chakra Petch', sans-serif; letter-spacing: .04em; background: linear-gradient(90deg, #0BBACF, #7fe3f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref-mono::before, .ref-mono::after { border-color: #7fe3f3; }
.ref-sub { margin: -.3em 0 .7em; font-size: .82rem; color: var(--muted); line-height: 1.4; }
/* bandeau : logos en niveaux de gris, couleur au survol */
.marquee-track li.has-logo img { height: 38px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.marquee-track li.has-logo:hover img { filter: none; opacity: 1; }

.ref-logo { width: 128px; height: 76px; padding: 4px 6px; }
.ref-logo img { max-height: 66px; }
.ref-mono span { font-size: 1.6rem; }

/* ===== Logos clients : couleurs d'origine + cadre high-tech ===== */
.ref-logo { width: 140px; height: 86px; padding: 7px; border: 0; border-radius: 14px; overflow: visible;
  background: linear-gradient(#0a2038, #0a2038) padding-box, linear-gradient(135deg, #0BBACF, #8B5CF6 55%, #0BBACF) border-box;
  border: 1.5px solid transparent; box-shadow: 0 0 0 4px rgba(11, 186, 207, .08), 0 14px 28px -16px rgba(11, 37, 64, .7), inset 0 0 18px rgba(11, 186, 207, .25); }
.ref-logo::before, .ref-logo::after { width: 14px; height: 14px; border-color: #7fe3f3; opacity: 1; z-index: 2; filter: drop-shadow(0 0 4px rgba(11, 186, 207, .9)); }
.ref-logo::before { left: -5px; top: -5px; }
.ref-logo::after { right: -5px; bottom: -5px; }
.ref-logo .plate { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4px 6px; border-radius: 9px; background: #fff; overflow: hidden; }
.ref-logo .plate::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(11, 186, 207, .28), transparent); animation: plate-scan 3.2s linear infinite; pointer-events: none; }
@keyframes plate-scan { to { top: 110%; } }
.ref-logo img, .ref:hover .ref-logo img { filter: none; opacity: 1; max-height: 60px; }
.ref:hover .ref-logo { box-shadow: 0 0 0 4px rgba(11, 186, 207, .18), 0 0 22px rgba(11, 186, 207, .45), inset 0 0 18px rgba(11, 186, 207, .35); }
.ref:hover .ref-logo img { transform: scale(1.05); }
.ref-logo .led { position: absolute; right: 8px; top: -4px; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; z-index: 3; }

/* bandeau défilant : logos en couleur dans de petits cadres */
.marquee-track li.has-logo img, .marquee-track li.has-logo:hover img { filter: none; opacity: 1; mix-blend-mode: normal; }
.marquee-track li.has-logo { padding-right: 28px; }
.marquee-track li.has-logo img { height: 44px; max-width: 130px; padding: 4px 8px; border-radius: 10px; background: #fff;
  border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #0BBACF, #8B5CF6) border-box; box-shadow: 0 6px 16px -10px rgba(11, 37, 64, .6); }
@media (prefers-reduced-motion: reduce) { .ref-logo .plate::after { animation: none; display: none; } }

/* ===== Bandeau « Ils nous font confiance » : version high-tech ===== */
.trust { position: relative; padding: 34px 0 38px; background: linear-gradient(180deg, #071a2e 0%, #0a2340 100%); border: 0; }
.trust::before, .trust::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(11, 186, 207, .7), rgba(139, 92, 246, .7), transparent); }
.trust::before { top: 0; } .trust::after { bottom: 0; }
.trust-title { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 22px; color: #8fb3d1; font: 600 .74rem 'JetBrains Mono', monospace; letter-spacing: .22em; }
.trust-title::before, .trust-title::after { content: ""; width: min(140px, 18vw); height: 1px; background: linear-gradient(90deg, transparent, #0BBACF); }
.trust-title::after { transform: scaleX(-1); }
.trust-title span { padding: .35em .9em; border: 1px solid rgba(11, 186, 207, .35); border-radius: 999px; background: rgba(11, 186, 207, .08); color: #cfe3f3; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { animation-duration: 40s; gap: 0; }
.marquee-track li::after { display: none !important; }
.marquee-track li.has-logo { flex: none; width: 168px; height: 84px; margin-right: 20px; padding: 10px 14px; display: grid; place-items: center; border-radius: 16px; position: relative;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(11, 186, 207, .9), rgba(139, 92, 246, .9)) border-box; border: 1.5px solid transparent;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8), 0 0 0 4px rgba(11, 186, 207, .07); transition: transform .3s, box-shadow .3s; }
.marquee-track li.has-logo::before { content: ""; position: absolute; left: 10px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.marquee-track li.has-logo img, .marquee-track li.has-logo:hover img { height: auto; width: auto; max-width: 132px; max-height: 60px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none; opacity: 1; mix-blend-mode: normal; }
.marquee-track li.has-logo:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .9), 0 0 20px rgba(11, 186, 207, .45); }
@media (max-width: 560px) { .marquee-track li.has-logo { width: 132px; height: 68px; margin-right: 14px; } .marquee-track li.has-logo img { max-width: 104px; max-height: 48px; } }

.trust-title span { white-space: nowrap; }
@media (max-width: 560px) { .trust-title { gap: 8px; letter-spacing: .14em; font-size: .66rem; } .trust-title::before, .trust-title::after { width: 28px; } }

/* Logos : occuper tout l'espace utile du cadre */
.ref-logo { width: 150px; height: 92px; padding: 6px; }
.ref-logo .plate { padding: 6px 8px; }
.ref-logo img, .ref:hover .ref-logo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.marquee-track li.has-logo { width: 176px; height: 90px; padding: 10px 14px; }
.marquee-track li.has-logo img, .marquee-track li.has-logo:hover img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 560px) { .marquee-track li.has-logo { width: 140px; height: 74px; padding: 8px 10px; } }
/* tailles explicites pour que chaque logo tienne entièrement dans son cadre */
.ref-logo img, .ref:hover .ref-logo img { width: auto; height: auto; max-width: 100%; max-height: 66px; }
.marquee-track li.has-logo img, .marquee-track li.has-logo:hover img { width: auto; height: auto; max-width: 148px; max-height: 68px; }
@media (max-width: 560px) { .marquee-track li.has-logo img, .marquee-track li.has-logo:hover img { max-width: 118px; max-height: 56px; } }

/* ===== Sélecteur de langue ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.lang-switch a { min-width: 34px; padding: .3em .6em; border-radius: 999px; text-align: center; color: #cfe3f3; font: 600 .78rem 'JetBrains Mono', monospace; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s; }
.lang-switch a[lang="ar"] { font-family: 'Cairo', 'Space Grotesk', sans-serif; font-size: .95rem; line-height: 1.1; }
.lang-switch a::after { display: none !important; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch a.current { background: var(--grad); color: #fff; }
@media (max-width: 720px) { .menu .lang-switch { align-self: flex-start; margin: 10px 0 4px; } }

/* ===== Version arabe (droite à gauche) ===== */
html[lang="ar"] body, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .btn, html[lang="ar"] .eyebrow, html[lang="ar"] .hero-pill, html[lang="ar"] .trust-title, html[lang="ar"] .ref-tag,
html[lang="ar"] .lg-hud strong, html[lang="ar"] .lg-hud-top, html[lang="ar"] .badge, html[lang="ar"] .contact-list span, html[lang="ar"] .sc-tab,
html[lang="ar"] .marquee-track li, html[lang="ar"] .gallery figcaption, html[lang="ar"] .steps strong, html[lang="ar"] .foot-bottom,
html[lang="ar"] .services-pick legend span, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] .h1-sub, html[lang="ar"] .rotator {
  font-family: 'Cairo', 'Space Grotesk', sans-serif; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] h1 { line-height: 1.3; }
html[lang="ar"] .hero h1 .rotator { min-height: 1.35em; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] .stats strong, html[lang="ar"] .lg-hud-top b { font-family: 'Orbitron', sans-serif; }
html[dir="rtl"] .hero-logo, html[dir="rtl"] .lg, html[dir="rtl"] .marquee, html[dir="rtl"] .sc-screen { direction: ltr; }
html[dir="rtl"] .lg-hud { text-align: right; direction: rtl; }
html[dir="rtl"] .ref::before { left: auto; right: 0; }
html[dir="rtl"] .steps li { padding: 20px 72px 20px 20px; }
html[dir="rtl"] .steps li::before { left: auto; right: 20px; }
html[dir="rtl"] .steps::before { left: auto; right: 36px; }
html[dir="rtl"] .steps li:hover { transform: translateX(-6px); }
html[dir="rtl"] .read-progress { transform-origin: right; }
html[dir="rtl"] .wa-float { right: auto; left: 20px; }
html[dir="rtl"] .card ul, html[dir="rtl"] .ref ul { padding-left: 0; padding-right: 1.1em; }
html[dir="rtl"] .menu a:not(.btn)::after { transform-origin: right; }
html[dir="rtl"] .eyebrow.dark::before { order: 0; }
html[dir="rtl"] .hero-pill .dot { order: 0; }
html[dir="rtl"] .ref-logo::before { left: auto; right: -5px; border-left: 2px solid #7fe3f3; border-right: 0; border-radius: 0 3px 0 0; }
html[dir="rtl"] .ref-logo::after { right: auto; left: -5px; border-right: 2px solid #7fe3f3; border-left: 0; border-radius: 0 0 0 3px; }
html[dir="rtl"] .ref-logo .led { right: auto; left: 8px; }
html[dir="rtl"] .caret { margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .sc-info li::before { order: 0; }
html[dir="rtl"] .map-link, html[dir="rtl"] .contact-list { direction: rtl; }
bdi[dir="ltr"] { unicode-bidi: isolate; direction: ltr; display: inline-block; }
html[dir="rtl"] .contact-list a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 560px) { html[dir="rtl"] .wa-float { left: 14px; } html[dir="rtl"] .steps::before { right: 30px; } }
