@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Sora:wght@500;600;700;800&display=swap');

/* =============================
   TOKENS — Néon diffus, contrasté
============================= */
:root {
  --bg: #0a0c12;
  --bg-elevated: #12151e;
  --card: rgba(14, 16, 24, 0.78);
  --text: #eef0f6;
  --muted: #8b92a8;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c8aff;
  --accent-2: #38bdf8;
  --accent-3: #c084fc;
  --accent-warm: #fbbf24;
  --glow: rgba(124, 138, 255, 0.35);
  --focus-ring: #67e8f9;
  --intro-duration: 4s;
  --intro-fade: 0.2s;
  --radius: 20px;
  --radius-action: 26px;
  --space-section: 56px;
  --space-head: 36px;
  --content-max: 680px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Thèmes sections 01 / 02 / 03 */
  --theme-01: #7c8aff;
  --theme-01-rgb: 124, 138, 255;
  --theme-02: #38bdf8;
  --theme-02-rgb: 56, 189, 248;
  --theme-03: #c084fc;
  --theme-03-rgb: 192, 132, 252;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0c12;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 0 20px var(--glow);
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================
   INTRO (shell — details in intro.css)
============================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(10, 12, 18, 0.82);
  opacity: 1;
  visibility: visible;
  animation: introOut var(--intro-fade) ease forwards;
  animation-delay: var(--intro-duration);
  pointer-events: none;
}

@keyframes introOut {
  to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* =============================
   LAYOUT
============================= */
.wrap {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 16px 24px 56px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  overflow: visible;
}

.wrap > .site-header {
  position: relative;
  z-index: 50;
}

.wrap > main,
.wrap > .site-footer {
  position: relative;
  z-index: 1;
}

/* =============================
   HEADER — verre néon intégré
============================= */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 10px 16px 10px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(14, 16, 24, 0.72), rgba(10, 12, 18, 0.55));
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.site-header > :not(.site-header__edge):not(.site-nav) {
  position: relative;
  z-index: 1;
}

/* Impulsion de couleur qui parcourt le périmètre (sans rotation du bloc) */
@property --header-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.site-header__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(
      from var(--header-border-angle),
      transparent 0deg,
      transparent 48deg,
      var(--accent) 68deg,
      var(--accent-2) 98deg,
      var(--accent-3) 128deg,
      var(--accent-warm) 158deg,
      transparent 178deg,
      transparent 360deg
    ),
    conic-gradient(
      from 0deg,
      rgba(124, 138, 255, 0.22),
      rgba(56, 189, 248, 0.18),
      rgba(192, 132, 252, 0.2),
      rgba(124, 138, 255, 0.22)
    );
  animation: headerBorderSweep 6s linear infinite;
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

@keyframes headerBorderSweep {
  to { --header-border-angle: 360deg; }
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 4px 6px;
  border-radius: 10px;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.brand-logo:hover {
  transform: scale(1.05);
  background: rgba(124, 138, 255, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Nav — couleur par section (01 indigo / 02 cyan / 03 violet) */
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(124, 138, 255, 0.1),
    0 0 20px rgba(56, 189, 248, 0.08),
    0 0 20px rgba(192, 132, 252, 0.08);
}

.site-nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(210, 218, 255, 0.88);
  transition: color 0.2s, background 0.2s, text-shadow 0.2s, box-shadow 0.2s;
}

.site-nav__link--01 { --nav-accent-rgb: var(--theme-01-rgb); --nav-accent: var(--theme-01); }
.site-nav__link--02 { --nav-accent-rgb: var(--theme-02-rgb); --nav-accent: var(--theme-02); }
.site-nav__link--03 { --nav-accent-rgb: var(--theme-03-rgb); --nav-accent: var(--theme-03); }

.site-nav__link--01:hover,
.site-nav__link--01[aria-current="true"] {
  color: #fff;
  background: rgba(var(--nav-accent-rgb), 0.38);
  text-shadow: 0 0 18px rgba(var(--nav-accent-rgb), 0.85);
  box-shadow: 0 0 22px rgba(var(--nav-accent-rgb), 0.45);
}

.site-nav__link--02:hover,
.site-nav__link--02[aria-current="true"] {
  color: #fff;
  background: rgba(var(--nav-accent-rgb), 0.34);
  text-shadow: 0 0 18px rgba(var(--nav-accent-rgb), 0.9);
  box-shadow: 0 0 22px rgba(var(--nav-accent-rgb), 0.48);
}

.site-nav__link--03:hover,
.site-nav__link--03[aria-current="true"] {
  color: #fff;
  background: rgba(var(--nav-accent-rgb), 0.34);
  text-shadow: 0 0 18px rgba(var(--nav-accent-rgb), 0.88);
  box-shadow: 0 0 22px rgba(var(--nav-accent-rgb), 0.46);
}

.btn--nav {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 20, 8, 0.5);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent);
}

/* =============================
   BUTTONS — néon
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 138, 255, 0.5);
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.32), rgba(56, 189, 248, 0.2));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(124, 138, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.7);
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.48), rgba(56, 189, 248, 0.34));
  box-shadow:
    0 0 28px rgba(124, 138, 255, 0.4),
    0 0 42px rgba(56, 189, 248, 0.22);
}

.btn--ghost {
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(10, 12, 18, 0.45);
  color: var(--accent-2);
  font-weight: 500;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.1);
}

.btn--ghost:hover {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.14);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.32);
  color: #fff;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Boutons d'action — CTA marqués */
.btn--action,
.btn--action.btn--nav,
.cta .btn,
.possibilites-cta .btn {
  border-color: rgba(56, 189, 248, 0.75);
  background: linear-gradient(135deg, #7c8aff 0%, #38bdf8 55%, #67e8f9 100%);
  color: #0a0c12;
  font-weight: 700;
  box-shadow:
    0 0 28px rgba(56, 189, 248, 0.45),
    0 0 48px rgba(124, 138, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--action:hover,
.btn--action.btn--nav:hover,
.cta .btn:hover,
.possibilites-cta .btn:hover {
  border-color: #fff;
  background: linear-gradient(135deg, #8b9aff 0%, #4fc3f7 55%, #7df9ff 100%);
  color: #0a0c12;
  box-shadow:
    0 0 36px rgba(56, 189, 248, 0.6),
    0 0 64px rgba(124, 138, 255, 0.35);
}

/* Panneau verre derrière les blocs de texte */
.section__head,
.tiles-copy,
.process-step,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 12, 18, 0.52);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

/* =============================
   HERO
============================= */
main {
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 64px 0 var(--space-section);
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero__content {
  position: relative;
  overflow: hidden;
  max-width: var(--content-max);
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(124, 138, 255, 0.28);
  background:
    radial-gradient(ellipse 95% 75% at 8% 18%, rgba(124, 138, 255, 0.2), transparent 58%),
    radial-gradient(ellipse 70% 55% at 92% 82%, rgba(56, 189, 248, 0.14), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(192, 132, 252, 0.1), transparent 50%),
    rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 0 48px rgba(124, 138, 255, 0.1);
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.45), rgba(56, 189, 248, 0.25), rgba(192, 132, 252, 0.35));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.65;
  pointer-events: none;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 138, 255, 0.3);
  background: rgba(124, 138, 255, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 35%, var(--accent-3) 65%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(124, 138, 255, 0.25));
  animation: heroTitleGlow 6s ease-in-out infinite;
}

@keyframes heroTitleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(124, 138, 255, 0.3)); }
  33% { filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.32)); }
  66% { filter: drop-shadow(0 0 22px rgba(192, 132, 252, 0.28)); }
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__stats li {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.hero__stats li:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero__stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 46vw, 520px);
  overflow: visible;
  padding: 20px 8px;
}

/* Laisse transparaître le PCB derrière le contenu */
.section,
.hero {
  background: transparent;
}

/* =============================
   SECTIONS
============================= */
.section {
  position: relative;
  isolation: isolate;
  padding: 0 0 var(--space-section);
}

.hero + .section,
.section + .section {
  padding-top: var(--space-section);
}

.section > * {
  position: relative;
  z-index: 1;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#solutions::before {
  background:
    radial-gradient(ellipse 72% 58% at 14% 38%, rgba(124, 138, 255, 0.17), transparent 68%),
    radial-gradient(ellipse 48% 42% at 88% 62%, rgba(56, 189, 248, 0.09), transparent 65%);
}

#possibilites::before {
  background:
    radial-gradient(ellipse 78% 62% at 48% 22%, rgba(56, 189, 248, 0.15), transparent 70%),
    radial-gradient(ellipse 52% 44% at 82% 78%, rgba(192, 132, 252, 0.11), transparent 65%);
}

#methode::before {
  background:
    radial-gradient(ellipse 72% 58% at 72% 32%, rgba(192, 132, 252, 0.15), transparent 68%),
    radial-gradient(ellipse 48% 42% at 18% 72%, rgba(251, 191, 36, 0.09), transparent 65%);
}

.section__head {
  margin-bottom: var(--space-head);
  max-width: var(--content-max);
  padding: 20px 24px;
  border-radius: var(--radius);
}

#solutions .section__head {
  background:
    radial-gradient(ellipse 130% 110% at 0% 0%, rgba(124, 138, 255, 0.14), transparent 52%),
    rgba(10, 12, 18, 0.52);
  border-color: rgba(124, 138, 255, 0.2);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18), 0 0 44px rgba(124, 138, 255, 0.07);
}

#possibilites .section__head {
  background:
    radial-gradient(ellipse 130% 110% at 100% 0%, rgba(56, 189, 248, 0.13), transparent 52%),
    rgba(10, 12, 18, 0.52);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18), 0 0 44px rgba(56, 189, 248, 0.07);
}

#methode .section__head {
  background:
    radial-gradient(ellipse 130% 110% at 50% 0%, rgba(192, 132, 252, 0.13), transparent 52%),
    rgba(10, 12, 18, 0.52);
  border-color: rgba(192, 132, 252, 0.2);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18), 0 0 44px rgba(192, 132, 252, 0.07);
}

.section__label {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(124, 138, 255, 0.35);
}

#possibilites .section__label {
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

#methode .section__label {
  color: var(--accent-3);
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.4);
}

.section__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.15;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}

/* =============================
   ROTATING TILES
============================= */
.tiles-scene {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.tiles-carousel {
  position: relative;
  height: 400px;
  perspective: 1200px;
}

.tiles-carousel__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: tileSpin 20s linear infinite reverse;
}

.tiles-carousel:hover .tiles-carousel__track {
  animation-play-state: paused;
}

@keyframes tileSpin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.tile-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 250px;
  height: 310px;
  transform-style: preserve-3d;
}

.tile-card__inner {
  --tile-accent: #7c8aff;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 45%, transparent);
  background:
    radial-gradient(ellipse 95% 75% at 15% 12%, color-mix(in srgb, var(--tile-accent) 28%, transparent), transparent 58%),
    radial-gradient(ellipse 65% 55% at 88% 92%, color-mix(in srgb, var(--tile-accent) 16%, transparent), transparent 52%),
    rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(32px) saturate(1.25);
  -webkit-backdrop-filter: blur(32px) saturate(1.25);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 36px color-mix(in srgb, var(--tile-accent) 24%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  overflow: hidden;
}

.tile-card__inner--blue { --tile-accent: #38bdf8; }
.tile-card__inner--teal { --tile-accent: #7c8aff; }
.tile-card__inner--violet { --tile-accent: #c084fc; }
.tile-card__inner--amber { --tile-accent: #fbbf24; }
.tile-card__inner--rose { --tile-accent: #f472b6; }

.tile-card__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--tile-accent),
    color-mix(in srgb, var(--tile-accent) 55%, transparent) 45%,
    color-mix(in srgb, var(--tile-accent) 25%, transparent) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.78;
  pointer-events: none;
}

.tile-card__inner > * {
  position: relative;
  z-index: 1;
}

.tile-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.tile-card__icon--teal {
  background: rgba(124, 138, 255, 0.22);
  color: #eef0ff;
  text-shadow: 0 0 10px rgba(124, 138, 255, 0.8);
  box-shadow: 0 0 14px rgba(124, 138, 255, 0.35);
}
.tile-card__icon--blue {
  background: rgba(56, 189, 248, 0.22);
  color: #eef0ff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}
.tile-card__icon--violet {
  background: rgba(192, 132, 252, 0.22);
  color: #eef0ff;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.35);
}
.tile-card__icon--amber {
  background: rgba(251, 191, 36, 0.22);
  color: #fffbeb;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
}
.tile-card__icon--rose {
  background: rgba(244, 114, 182, 0.22);
  color: #fff;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.8);
  box-shadow: 0 0 14px rgba(244, 114, 182, 0.35);
}

.tile-card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

.tile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tile-card__tag {
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 35%, transparent);
  font-size: 0.72rem;
  color: rgba(230, 235, 255, 0.85);
  background: color-mix(in srgb, var(--tile-accent) 12%, transparent);
}

#solutions .tiles-copy {
  background:
    radial-gradient(ellipse 130% 110% at 100% 100%, rgba(124, 138, 255, 0.12), transparent 52%),
    rgba(10, 12, 18, 0.52);
  border-color: rgba(124, 138, 255, 0.2);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18), 0 0 44px rgba(124, 138, 255, 0.07);
}

.tiles-copy {
  padding: 22px 24px;
  border-radius: var(--radius);
}

.tiles-copy__intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.02rem;
}

.tiles-copy__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

/* =============================
   PROCESS — accents néon
============================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 138, 255, 0.55),
    rgba(56, 189, 248, 0.75),
    rgba(192, 132, 252, 0.65),
    rgba(251, 191, 36, 0.5),
    transparent
  );
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  pointer-events: none;
}

.process-step,
.tiles-copy__list li {
  --step-accent: var(--accent);
  padding: 22px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--step-accent) 38%, transparent);
  background: rgba(10, 12, 18, 0.52);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.2),
    0 0 28px color-mix(in srgb, var(--step-accent) 24%, transparent);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.process-step:nth-child(1),
.tiles-copy__list li:nth-child(1) { --step-accent: #7c8aff; }
.process-step:nth-child(2),
.tiles-copy__list li:nth-child(2) { --step-accent: #38bdf8; }
.process-step:nth-child(3),
.tiles-copy__list li:nth-child(3) { --step-accent: #c084fc; }
.process-step:nth-child(4) { --step-accent: #fbbf24; }

.process-step::after,
.tiles-copy__list li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--step-accent);
  box-shadow: 0 0 14px var(--step-accent);
  opacity: 0.92;
}

.process-step:hover,
.tiles-copy__list li:hover {
  border-color: color-mix(in srgb, var(--step-accent) 58%, transparent);
  transform: translateY(-4px);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.26),
    0 0 42px color-mix(in srgb, var(--step-accent) 38%, transparent);
}

.process-step::before,
.tiles-copy__list li::before {
  content: attr(data-step);
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--step-accent);
  opacity: 0.14;
  line-height: 1;
  text-shadow: 0 0 24px var(--step-accent);
}

.process-step h3,
.tiles-copy__list li strong {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}

.process-step h3::before,
.tiles-copy__list li strong::before {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--step-accent);
  box-shadow: 0 0 12px var(--step-accent);
}

.process-step p,
.tiles-copy__list li > span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* =============================
   CTA — action lumineuse
============================= */
.cta,
.possibilites-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    radial-gradient(ellipse 85% 130% at 0% 50%, rgba(124, 138, 255, 0.32), transparent 58%),
    radial-gradient(ellipse 75% 110% at 100% 50%, rgba(56, 189, 248, 0.26), transparent 52%),
    radial-gradient(ellipse 55% 90% at 50% 110%, rgba(192, 132, 252, 0.18), transparent 48%),
    rgba(14, 18, 34, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.28),
    0 0 64px rgba(124, 138, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta {
  margin-top: var(--space-section);
  margin-bottom: var(--space-section);
  padding: 36px 40px;
  border-radius: var(--radius-action);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.possibilites-cta {
  margin-top: var(--space-head);
  padding: 36px 40px;
  border-radius: var(--radius-action);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta::before,
.possibilites-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.7), rgba(56, 189, 248, 0.55), rgba(192, 132, 252, 0.5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}

.cta > *,
.possibilites-cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.cta p,
.possibilites-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.55;
}

.possibilites-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  max-width: 42ch;
}

/* =============================
   FOOTER
============================= */
.site-footer {
  margin-top: auto;
  padding: 18px 22px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  transition: color 0.2s;
}

.footer-brand:hover { color: var(--text); }

.footer-copy {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-actions button {
  all: unset;
  cursor: pointer;
  color: var(--muted);
}

.footer-actions button:hover {
  color: var(--text);
  text-decoration: underline;
}

/* =============================
   MODALS
============================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}

.modal.open { display: flex; }

.panel {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 16, 24, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(14, 16, 24, 0.97);
}

.panel-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
}

.content { padding: 16px; }

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 12px;
}

.long {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.field label {
  font-size: 0.85rem;
  color: var(--muted);
}

.field input,
.field textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: rgba(129, 140, 248, 0.5);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ok { color: #86efac; }
.err { color: #fca5a5; }

/* =============================
   REVEAL
============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 980px) {
  .hero,
  .tiles-scene {
    grid-template-columns: 1fr;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    min-height: 380px;
    margin-top: 8px;
  }

  .hero__stats {
    gap: 16px;
  }

  .hero__stats li {
    border-right: 0;
    padding-right: 0;
  }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }

  .tiles-carousel { height: 340px; }
  .tile-card { width: 210px; height: 270px; }
}

@media (max-width: 720px) {
  .wrap { padding: 12px 16px 40px; }

  .wrap > .site-header {
    z-index: 300;
  }

  .site-header {
    flex-wrap: nowrap;
    position: sticky;
    overflow: visible;
    margin: 0 -16px 4px;
    padding: 12px 16px 14px;
  }

  .brand-logo {
    flex: 1;
    min-width: 0;
  }

  .brand-logo:hover {
    transform: none;
    background: transparent;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    z-index: 2;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--mobile-nav-top, 72px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(124, 138, 255, 0.4);
    background: #12151e;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.55),
      0 0 32px rgba(124, 138, 255, 0.12);
    z-index: 500;
    opacity: 1;
    isolation: isolate;
  }

  .site-header > .site-nav {
    position: fixed;
    z-index: 500;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 6px;
    border-radius: 14px;
    background: #0a0c12;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav__link {
    display: block;
    width: 100%;
    text-align: center;
    color: #f0f2f8;
    padding: 12px 14px;
    opacity: 1;
  }

  .btn--nav {
    width: 100%;
    margin-top: 2px;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Assombrir uniquement le contenu — pas le menu */
  body.nav-open .wrap > main::before,
  body.nav-open .wrap > .site-footer::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.45);
    z-index: 5;
    pointer-events: none;
  }

  .hero { padding-top: 32px; }
  .hero h1 span { display: inline; }

  .process-grid { grid-template-columns: 1fr; }
  .cta,
  .possibilites-cta {
    padding: 28px 24px;
    gap: 20px;
  }

  .possibilites-cta p {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tiles-carousel__track,
  .hero__eyebrow::before,
  .hero h1 span,
  .hero-radar__sweep,
  .hero-radar__glow,
  .site-header__edge {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
