:root {
  --bg-deep: #07060d;
  --bg-card: rgba(18, 14, 32, 0.65);
  --bg-elevated: rgba(28, 22, 48, 0.85);
  --violet-900: #1e1035;
  --violet-700: #3d2468;
  --violet-500: #7c3aed;
  --violet-400: #a78bfa;
  --violet-300: #c4b5fd;
  --accent: #e879f9;
  --accent-2: #22d3ee;
  --text: #f4f0ff;
  --text-muted: rgba(228, 220, 255, 0.65);
  --border: rgba(167, 139, 250, 0.22);
  --glow: rgba(124, 58, 237, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--violet-300);
  font-weight: 600;
}

.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;
}

/* Background layers */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 18s var(--ease-out-expo) infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.orb-a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  background: radial-gradient(circle, var(--violet-500) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.orb-b {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  bottom: 10%;
  left: -10%;
  animation-delay: -6s;
  opacity: 0.35;
}

.orb-c {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  top: 45%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -12s;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -40px) scale(1.08);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(7, 6, 13, 0.92) 0%, rgba(7, 6, 13, 0.65) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  animation: header-in 0.8s var(--ease-out-expo) both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  color: var(--violet-400);
  font-size: 1.1rem;
  animation: pulse-mark 2.5s ease-in-out infinite;
}

@keyframes pulse-mark {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

.logo-accent {
  background: linear-gradient(135deg, var(--violet-400), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(167, 139, 250, 0.18);
}

.nav a.is-active {
  color: var(--text);
  font-weight: 600;
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.header-actions {
  display: none;
  gap: 0.75rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 72px 1rem auto;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  animation: slide-down 0.4s var(--ease-out-expo) both;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.mobile-nav a:hover {
  background: rgba(124, 58, 237, 0.15);
  color: var(--text);
}

.mobile-nav a.is-active {
  color: var(--text);
  font-weight: 600;
  background: rgba(124, 58, 237, 0.18);
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (min-width: 900px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, background 0.25s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet-500), #9333ea);
  color: white;
  box-shadow: 0 0 0 0 var(--glow), 0 8px 32px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25), 0 12px 40px rgba(147, 51, 234, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--violet-400);
  background: rgba(124, 58, 237, 0.12);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Glass */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  to {
    background-position: 48px 48px;
  }
}

.hero-inner {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--violet-300), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-shift 8s ease infinite alternate;
  background-size: 200% auto;
}

@keyframes hue-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.45);
}

.stat dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat dd {
  margin: 0;
  font-size: 0.95rem;
}

/* Hero card */
.hero-card-wrap {
  perspective: 1200px;
  animation: card-float 6s ease-in-out infinite;
}

.hero-card {
  padding: 1.25rem;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet-400);
}

.ping {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
}

.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.terminal {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-line {
  margin: 0;
}

.terminal-line.dim {
  color: rgba(255, 255, 255, 0.45);
}

.terminal-line.success {
  color: #4ade80;
}

.t-prompt {
  color: var(--violet-400);
}

.t-cmd {
  color: var(--text);
}

.t-blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.mini-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--violet-400), var(--violet-700));
  animation: bar-pulse 1.4s ease-in-out infinite alternate;
}

.mini-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.mini-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.mini-bars span:nth-child(4) {
  animation-delay: 0.15s;
}

.mini-bars span:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes bar-pulse {
  from {
    opacity: 0.5;
    transform: scaleY(0.85);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.footer-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Marquee */
.marquee-section {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--border);
  background: rgba(124, 58, 237, 0.06);
  overflow: hidden;
}

.marquee {
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.marquee-inner span:nth-child(odd) {
  color: var(--violet-400);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specs */
.specs-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  padding: 1.75rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.2);
  border-color: rgba(167, 139, 250, 0.4);
}

.spec-card.highlight {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), var(--bg-card));
  border-color: rgba(232, 121, 249, 0.35);
}

.spec-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.5));
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.spec-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spec-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spec-list li {
  margin-bottom: 0.35rem;
}

/* Bento */
.features-bento {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .bento.large {
    grid-column: span 2;
  }
}

.bento {
  padding: 1.75rem;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.bento:hover {
  transform: scale(1.01);
  border-color: rgba(34, 211, 238, 0.25);
}

.bento h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.bento p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bento.accent {
  background: linear-gradient(135deg, rgba(232, 121, 249, 0.12), var(--bg-card));
  border-color: rgba(232, 121, 249, 0.3);
}

.bento-visual {
  margin-top: 1.25rem;
}

.panel-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-row {
  display: flex;
  gap: 0.5rem;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-row span {
  flex: 1;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--violet-700), var(--violet-500));
  opacity: 0.7;
  animation: shimmer 2.5s ease-in-out infinite;
}

.mock-row span.grow {
  flex: 2;
}

.mock-row.wide {
  height: 48px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

/* Panel démo enrichi (page Plateforme) */
.panel-demo {
  margin-top: 1.35rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(20, 16, 36, 0.95), rgba(0, 0, 0, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.panel-dots span:nth-child(1) {
  background: #fb7185;
}

.panel-dots span:nth-child(2) {
  background: #fbbf24;
}

.panel-dots span:nth-child(3) {
  background: #4ade80;
}

.panel-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 200px;
}

@media (max-width: 640px) {
  .panel-body {
    grid-template-columns: 1fr;
  }

  .panel-side {
    display: none;
  }
}

.panel-side {
  padding: 0.75rem;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.panel-nav-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  animation: shimmer 2.2s ease-in-out infinite;
}

.panel-nav-item:nth-child(1) {
  width: 100%;
  background: linear-gradient(90deg, var(--violet-700), var(--violet-500));
  opacity: 0.85;
}

.panel-nav-item:nth-child(2) {
  width: 78%;
  animation-delay: 0.15s;
}

.panel-nav-item:nth-child(3) {
  width: 65%;
  animation-delay: 0.3s;
}

.panel-main {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-term {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-term .line {
  opacity: 0;
  animation: term-in 0.5s var(--ease-out-expo) forwards;
}

.panel-term .line:nth-child(1) {
  animation-delay: 0.1s;
}

.panel-term .line:nth-child(2) {
  animation-delay: 0.35s;
}

.panel-term .line:nth-child(3) {
  animation-delay: 0.6s;
}

.panel-term .line:nth-child(4) {
  animation-delay: 0.85s;
}

@keyframes term-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.panel-term .g {
  color: #4ade80;
}

.panel-term .m {
  color: var(--violet-400);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.panel-metric {
  padding: 0.55rem 0.5rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  text-align: center;
}

.panel-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

.panel-metric span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.panel-spark {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.15), rgba(34, 211, 238, 0.12));
  position: relative;
  overflow: hidden;
}

.panel-spark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  animation: spark-sweep 2.8s ease-in-out infinite;
}

@keyframes spark-sweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 5 offres : 2 rangées, cartes même largeur max = alignement « carré » */
.pricing-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.25rem;
}

.pricing-row--duo,
.pricing-row--trio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
}

.pricing-stack .price-card {
  flex: 1 1 280px;
  max-width: 360px;
  min-width: 0;
}

@media (min-width: 720px) {
  .pricing-stack .price-card {
    flex: 1 1 300px;
  }
}

@media (min-width: 1040px) {
  .pricing-row--duo .price-card,
  .pricing-row--trio .price-card {
    flex: 0 1 340px;
    width: 340px;
    max-width: 340px;
  }
}

.price-card {
  position: relative;
  padding: 2rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.price-card.featured {
  border-color: rgba(124, 58, 237, 0.55);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.25), var(--bg-card));
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.15);
  animation: price-featured-halo 5s ease-in-out infinite;
}

@keyframes price-featured-halo {
  0%,
  100% {
    box-shadow: 0 0 48px rgba(124, 58, 237, 0.18), 0 0 0 1px rgba(167, 139, 250, 0.2);
  }
  50% {
    box-shadow: 0 0 72px rgba(124, 58, 237, 0.35), 0 0 100px rgba(232, 121, 249, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-card.featured {
    animation: none;
  }
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: -2px;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--accent), var(--violet-500));
  border-radius: 6px 0 0 6px;
  animation: ribbon-glow 3s ease-in-out infinite alternate;
}

@keyframes ribbon-glow {
  from {
    box-shadow: 0 0 12px rgba(232, 121, 249, 0.4);
  }
  to {
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.6);
  }
}

.price-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  font-style: normal;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.pricing-stack .price {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
}

.price-ddos {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  align-self: flex-start;
}

.price-ddos--max {
  color: var(--violet-300);
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(124, 58, 237, 0.15);
}

.price .currency {
  font-size: 1.25rem;
  vertical-align: super;
  color: var(--text-muted);
}

.price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-card li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(167, 139, 250, 0.4);
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--violet-400);
  transition: transform 0.35s var(--ease-out-expo);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: faq-open 0.4s var(--ease-out-expo) both;
}

/* FAQ renforcée */
.faq--boosted .section-head {
  max-width: 720px;
}

.faq-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(0, 0, 0, 0.2));
}

.faq-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq--boosted .faq-list {
  max-width: 920px;
}

@media (min-width: 960px) {
  .faq--boosted .faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    max-width: 960px;
    margin: 0 auto;
  }

  .faq--boosted .faq-columns .faq-list {
    max-width: none;
    display: contents;
  }

  .faq--boosted .faq-columns .faq-item {
    margin: 0;
  }
}

.faq--boosted .faq-item summary {
  position: relative;
  padding-left: 2.85rem;
}

.faq--boosted .faq-item summary::before {
  content: "?";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA */
.cta-final {
  padding-bottom: 5rem;
}

.cta-inner {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.18), var(--bg-card));
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-inner > p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .cta-form {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-form input {
  flex: 1;
  max-width: 320px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cta-form input:focus {
  border-color: var(--violet-400);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.contact-form input,
.contact-form textarea {
  max-width: 100% !important;
}

.contact-form textarea {
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea:focus {
  border-color: var(--violet-400);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.cta-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--violet-400);
}

/* Stagger children in grids */
.specs-grid [data-reveal]:nth-child(1) {
  transition-delay: 0s;
}

.specs-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.specs-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.pricing-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.pricing-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

.pricing-stack .pricing-row--duo [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.pricing-stack .pricing-row--trio [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.pricing-stack .pricing-row--trio [data-reveal]:nth-child(3) {
  transition-delay: 0.18s;
}
