:root {
  color-scheme: dark;
  --nexion-bg: #0b0f14;
  --nexion-bg-soft: #111827;
  --nexion-surface: #1a1f2b;
  --nexion-text: #e5e7eb;
  --nexion-text-muted: #9ca3af;
  --nexion-accent: #4ade80;
  --nexion-accent-soft: #22d3ee;
  --nexion-accent-glow: #4ade80aa;
  --nexion-gradient: linear-gradient(135deg, #4ade80, #22d3ee);
  --menu-surface: rgba(22, 28, 38, 0.96);
  --menu-surface-strong: rgba(33, 40, 52, 0.92);
  --page-bg: #0c1015;
  --page-bg-soft: #121822;
  --surface: rgba(17, 22, 30, 0.94);
  --surface-strong: #171e28;
  --surface-muted: rgba(255, 255, 255, 0.028);
  --border-color: rgba(229, 231, 235, 0.08);
  --border-strong: rgba(229, 231, 235, 0.15);
  --text-color: var(--nexion-text);
  --text-muted: var(--nexion-text-muted);
  --accent: var(--nexion-accent);
  --accent-soft: var(--nexion-accent-soft);
  --button-text: #07130b;
  --shadow-color: rgba(0, 0, 0, 0.34);
  --max-width: 1220px;
  --content-width: 1120px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --transition-fast: 160ms ease;
  --transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --orb-color-1: rgba(74, 222, 128, 0.28);
  --orb-color-1-mid: rgba(74, 222, 128, 0.08);
  --orb-color-2: rgba(34, 211, 238, 0.24);
  --orb-color-2-mid: rgba(34, 211, 238, 0.06);

  /* Scrollbars (thème Nexion : couleur entreprise) */
  --scrollbar-thumb: #4ade80;
  --scrollbar-thumb-hover: #22d3ee;

  /* Featured card variables */
  --card-featured-border: #ffffff;
  --card-featured-bg: rgba(22, 28, 38, 0.96);
  --btn-featured-bg: #ffffff;
  --btn-featured-text: #07130b;
  --btn-featured-border: #ffffff;
  --btn-featured-hover-bg: rgba(255, 255, 255, 0.88);
  --btn-featured-hover-text: #000000;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page-bg: #dcd4c7;
  --page-bg-soft: #d3cbbc;
  --surface: rgba(235, 227, 214, 0.95);
  --surface-strong: #e3dbc9;
  --surface-muted: rgba(72, 62, 47, 0.06);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text-color: #1c2326;
  --text-muted: #655f57;
  --accent: #2f7563;
  --accent-soft: #7b876d;
  --nexion-accent-glow: rgba(47, 117, 99, 0.2);
  --menu-surface: rgba(227, 218, 204, 0.98);
  --menu-surface-strong: rgba(214, 204, 188, 0.96);
  --button-text: #ffffff;
  --shadow-color: rgba(48, 41, 32, 0.12);
  --orb-color-1: rgba(47, 117, 99, 0.14);
  --orb-color-1-mid: rgba(47, 117, 99, 0.04);
  --orb-color-2: rgba(123, 135, 109, 0.10);
  --orb-color-2-mid: rgba(123, 135, 109, 0.03);

  /* Scrollbars (thème Clair : noir) */
  --scrollbar-thumb: #16181c;
  --scrollbar-thumb-hover: #2f7563;

  /* Featured card variables (Light Theme) */
  --card-featured-border: var(--accent);
  --card-featured-bg: var(--surface-strong);
  --btn-featured-bg: var(--accent);
  --btn-featured-text: var(--button-text);
  --btn-featured-border: var(--accent);
  --btn-featured-hover-bg: color-mix(in srgb, var(--accent) 88%, black);
  --btn-featured-hover-text: var(--button-text);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #06080b;
  --page-bg-soft: #0d1015;
  --surface: rgba(14, 17, 22, 0.96);
  --surface-strong: #161a22;
  --surface-muted: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text-color: #f1f3f5;
  --text-muted: #949ba6;
  --accent: #8f98a8;
  --accent-soft: #5f6775;
  --nexion-accent-glow: rgba(143, 152, 168, 0.24);
  --nexion-gradient: linear-gradient(135deg, #858d9b, #5f6775);
  --menu-surface: rgba(10, 13, 18, 0.98);
  --menu-surface-strong: rgba(28, 33, 42, 0.94);

  /* Featured card variables (Dark Theme) */
  --card-featured-border: #ffffff;
  --card-featured-bg: rgba(22, 28, 38, 0.96);
  --btn-featured-bg: #ffffff;
  --btn-featured-text: #07130b;
  --btn-featured-border: #ffffff;
  --btn-featured-hover-bg: rgba(255, 255, 255, 0.88);
  --btn-featured-hover-text: #000000;

  --button-text: #f5f7fa;
  --shadow-color: rgba(0, 0, 0, 0.42);
  --orb-color-1: rgba(143, 152, 168, 0.18);
  --orb-color-1-mid: rgba(143, 152, 168, 0.05);
  --orb-color-2: rgba(95, 103, 117, 0.12);
  --orb-color-2-mid: rgba(95, 103, 117, 0.03);

  /* Scrollbars (thème Sombre : blanc) */
  --scrollbar-thumb: #ffffff;
  --scrollbar-thumb-hover: #c7cdd6;
}

/* ─── Scrollbars thématiques (suivent la couleur du thème) ─── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
  transition: background-color 240ms ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* ─── Curseurs thématiques (flèche classique recolorée) ─── */
/* Variables curseur par thème — appliquées via !important pour surcharger tous les cursor:pointer */
:root:not([data-theme]), :root[data-theme="nexion"] {
  --cursor-default: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI0IDMyJz48cGF0aCBkPSdNMiAxTDIgMjdMNy41IDIxLjVMMTIgMzBMMTUgMjguNUwxMC41IDIwTDE4IDIwWicgZmlsbD0nIzRhZGU4MCcgc3Ryb2tlPScjMGIwZjE0JyBzdHJva2Utd2lkdGg9JzEuNScgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 2 1, default;
  --cursor-pointer: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyOCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI4IDMyJz48cGF0aCBkPSdNMTAgOFYzLjVhMiAyIDAgMSAxIDQgMFYxNGwuNS0uNWEyLjUgMi41IDAgMCAxIDMuNSAwbC41LjVhMi41IDIuNSAwIDAgMSAzLjUuNSAyLjUgMi41IDAgMCAxIDMgMS41VjIwYTggOCAwIDAgMS04IDhIMTRhOCA4IDAgMCAxLTYuOTMtNEwyLjQ2IDE1Ljg4YTIgMiAwIDAgMSAuODctMi42OSAyIDIgMCAwIDEgMi40Mi4zNEwxMCAxN1Y4eicgZmlsbD0nIzRhZGU4MCcgc3Ryb2tlPScjMGIwZjE0JyBzdHJva2Utd2lkdGg9JzEuMicgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 7 1, pointer;
  --cursor-pointer-accent: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyOCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI4IDMyJz48cGF0aCBkPSdNMTAgOFYzLjVhMiAyIDAgMSAxIDQgMFYxNGwuNS0uNWEyLjUgMi41IDAgMCAxIDMuNSAwbC41LjVhMi41IDIuNSAwIDAgMSAzLjUuNSAyLjUgMi41IDAgMCAxIDMgMS41VjIwYTggOCAwIDAgMS04IDhIMTRhOCA4IDAgMCAxLTYuOTMtNEwyLjQ2IDE1Ljg4YTIgMiAwIDAgMSAuODctMi42OSAyIDIgMCAwIDEgMi40Mi4zNEwxMCAxN1Y4eicgZmlsbD0nI2ZmZmZmZicgc3Ryb2tlPScjMGIwZjE0JyBzdHJva2Utd2lkdGg9JzEuMicgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 7 1, pointer;
}
:root[data-theme="light"] {
  --cursor-default: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI0IDMyJz48cGF0aCBkPSdNMiAxTDIgMjdMNy41IDIxLjVMMTIgMzBMMTUgMjguNUwxMC41IDIwTDE4IDIwWicgZmlsbD0nIzExMTQxOCcgc3Ryb2tlPScjZmZmZmZmJyBzdHJva2Utd2lkdGg9JzEuNScgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 2 1, default;
  --cursor-pointer: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyOCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI4IDMyJz48cGF0aCBkPSdNMTAgOFYzLjVhMiAyIDAgMSAxIDQgMFYxNGwuNS0uNWEyLjUgMi41IDAgMCAxIDMuNSAwbC41LjVhMi41IDIuNSAwIDAgMSAzLjUuNSAyLjUgMi41IDAgMCAxIDMgMS41VjIwYTggOCAwIDAgMS04IDhIMTRhOCA4IDAgMCAxLTYuOTMtNEwyLjQ2IDE1Ljg4YTIgMiAwIDAgMSAuODctMi42OSAyIDIgMCAwIDEgMi40Mi4zNEwxMCAxN1Y4eicgZmlsbD0nIzExMTQxOCcgc3Ryb2tlPScjZmZmZmZmJyBzdHJva2Utd2lkdGg9JzEuMicgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 7 1, pointer;
  --cursor-pointer-accent: var(--cursor-pointer);
}
:root[data-theme="dark"] {
  --cursor-default: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI0IDMyJz48cGF0aCBkPSdNMiAxTDIgMjdMNy41IDIxLjVMMTIgMzBMMTUgMjguNUwxMC41IDIwTDE4IDIwWicgZmlsbD0nI2ZmZmZmZicgc3Ryb2tlPScjMGIwZjE0JyBzdHJva2Utd2lkdGg9JzEuNScgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 2 1, default;
  --cursor-pointer: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyOCcgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDI4IDMyJz48cGF0aCBkPSdNMTAgOFYzLjVhMiAyIDAgMSAxIDQgMFYxNGwuNS0uNWEyLjUgMi41IDAgMCAxIDMuNSAwbC41LjVhMi41IDIuNSAwIDAgMSAzLjUuNSAyLjUgMi41IDAgMCAxIDMgMS41VjIwYTggOCAwIDAgMS04IDhIMTRhOCA4IDAgMCAxLTYuOTMtNEwyLjQ2IDE1Ljg4YTIgMiAwIDAgMSAuODctMi42OSAyIDIgMCAwIDEgMi40Mi4zNEwxMCAxN1Y4eicgZmlsbD0nI2ZmZmZmZicgc3Ryb2tlPScjMGIwZjE0JyBzdHJva2Utd2lkdGg9JzEuMicgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") 7 1, pointer;
  --cursor-pointer-accent: var(--cursor-pointer);
}
/* Application globale du curseur */
html { cursor: var(--cursor-default); }
a, button, [role="button"], label, summary, .btn, .offer-shortcut-card { cursor: var(--cursor-pointer) !important; }
.btn-primary, .btn-glow, .footer-review-btn, .nexion-modal-btn.primary { cursor: var(--cursor-pointer-accent) !important; }
input, textarea, [contenteditable] { cursor: text !important; }


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  transition: background-color 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bodyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text-color);
  background: transparent !important;
  animation: bodyFadeIn 550ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-fade-out {
  opacity: 0 !important;
  animation: none !important;
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: var(--cursor-pointer);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

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

.page-hero {
  padding-top: 9rem;
  padding-bottom: 2.5rem;
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.panel-kicker {
  color: var(--text-muted);
}

.eyebrow::before,
.panel-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4,
strong {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1.02;
}

h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.lead {
  max-width: 34rem;
  font-size: 0.95rem;
}

.lead.narrow {
  max-width: 31rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 54rem;
  margin-bottom: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-strong);
}

.section-lead-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
  gap: 1.2rem 1.8rem;
  align-items: end;
}

.section-side-note,
.page-hero-note {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.section-side-note strong,
.page-hero-note strong {
  font-size: 1rem;
}

.section-side-note p,
.page-hero-note p {
  max-width: 28ch;
}

.section-lead-grid .section-heading {
  margin-bottom: 0;
}

.section-lead-grid > :only-child {
  grid-column: 1 / -1;
}

.section-actions {
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.86rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
    color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--nexion-gradient);
  color: var(--button-text);
  box-shadow: 0 8px 24px -16px var(--nexion-accent-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 
    0 12px 28px -12px var(--nexion-accent-glow),
    0 0 18px -2px var(--nexion-accent-glow);
  filter: brightness(1.06);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-secondary {
  background: var(--surface-muted);
}

.btn-ghost {
  background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: color-mix(in srgb, var(--surface-strong) 92%, var(--accent) 8%);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border-color));
}

.btn-full {
  width: 100%;
}

.is-disabled {
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--page-bg) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}



.site-header.is-scrolled {
  border-color: var(--border-color);
  box-shadow: 0 12px 32px -24px var(--shadow-color);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--surface-muted);
  overflow: hidden;
}

.brand-mark-plain {
  width: 3.8rem;
  height: 3.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.brand-mark-plain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.15);
  image-rendering: -webkit-optimize-contrast;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.brand-mark.brand-mark-plain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.15);
  image-rendering: -webkit-optimize-contrast;
}

.brand-mark img.is-refreshing {
  opacity: 0.68;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: 1.02rem;
  line-height: 1;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.nav-panel {
  display: contents;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text-color);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-dropdown {
  position: relative;
  perspective: 1000px;
}

.theme-trigger,
.contact-form select,
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border-color);
  outline: 0;
  color: var(--text-color);
  background: var(--surface-strong);
  transition:
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 2.28rem;
  min-width: 8.1rem;
  padding: 0.45rem 0.66rem 0.45rem 0.78rem;
  border-radius: 999px;
  width: auto;
  cursor: var(--cursor-pointer);
}

.theme-trigger:hover,
.theme-trigger:focus-visible,
.theme-dropdown.is-open .theme-trigger {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--surface-strong) 90%, var(--accent) 10%);
}

.theme-trigger span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.theme-trigger strong {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.theme-trigger::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-dropdown.is-open .theme-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  gap: 0.2rem;
  min-width: 8.3rem;
  padding: 0.35rem;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: var(--menu-surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px -24px var(--shadow-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) rotateX(-16deg) scale(0.91);
  transform-origin: top right;
  transition:
    opacity 240ms cubic-bezier(0.25, 1, 0.5, 1),
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1);
}

.theme-dropdown.is-open .theme-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotateX(0deg) scale(1);
  transition:
    opacity 450ms cubic-bezier(0.34, 1.75, 0.64, 1),
    transform 450ms cubic-bezier(0.34, 1.75, 0.64, 1);
}

.theme-menu button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.72rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-align: left;
  transition:
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-menu button::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-menu button:hover,
.theme-menu button:focus-visible,
.theme-menu button.is-active {
  background: var(--menu-surface-strong);
  color: var(--text-color);
}

.theme-menu button:hover::before,
.theme-menu button:focus-visible::before,
.theme-menu button.is-active::before {
  background: var(--accent);
}

.contact-form select {
  width: 100%;
  color-scheme: inherit;
  padding-right: 2.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-color) 50%),
    linear-gradient(135deg, var(--text-color) 50%, transparent 50%);
  background-position:
    calc(100% - 1.1rem) calc(50% - 0.14rem),
    calc(100% - 0.82rem) calc(50% - 0.14rem);
  background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
  background-repeat: no-repeat;
}

.theme-trigger:focus-visible,
.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.contact-form select option,
.contact-form select optgroup {
  background: var(--surface-strong);
  color: var(--text-color);
}

:root[data-theme="light"] .theme-menu,
:root[data-theme="light"] .contact-form select option,
:root[data-theme="light"] .contact-form select optgroup {
  background: #e4dbc9;
  color: #1c2326;
}

:root[data-theme="dark"] .theme-menu,
:root[data-theme="dark"] .contact-form select option,
:root[data-theme="dark"] .contact-form select optgroup {
  background: #0f1218;
  color: #f1f3f5;
}

.menu-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.hero {
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
}

.hero-grid,
.split-layout,
.contact-layout,
.values-layout,
.about-hero-grid,
.contact-hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-copy,
.split-copy,
.about-hero-copy,
.contact-hero-note,
.about-intro-panel,
.contact-panel,
.form-panel,
.contact-panel-block,
.editing-note,
.portfolio-card-copy,
.service-head {
  display: grid;
  gap: 1.1rem;
}

.hero-copy {
  max-width: 31rem;
  padding-top: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-strong);
  gap: 0.9rem;
}

.hero-actions,
.social-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 0.3rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.proof-card {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.proof-card strong {
  font-size: 1rem;
}

.proof-card p {
  max-width: none;
  font-size: 0.86rem;
  line-height: 1.52;
}

.hero-points,
.check-list,
.contact-points,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li,
.contact-points li,
.tag-list li,
.chip,
.service-tag,
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.82rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-color);
  font-size: 0.84rem;
}

.social-link {
  font-weight: 600;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-muted));
}

.social-link.is-placeholder {
  opacity: 0.86;
}

.social-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-strong);
}

.hero-visual {
  position: relative;
  min-height: 30.5rem;
}

.hero-card {
  position: absolute;
  border: 1px solid var(--border-color);
  background: var(--surface);
}

.hero-card-main {
  inset: 0 0 1.6rem 1.45rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px -36px var(--shadow-color);
}

.hero-card-main img {
  transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual:hover .hero-card-main img {
  transform: scale(1.02);
}

.hero-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.7);
  color: #e5e7eb;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-image,
.panel-image,
.embed-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-floating {
  left: 0;
  bottom: 3.2rem;
  display: grid;
  gap: 0.28rem;
  min-width: 12rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
}

.hero-card-floating.second {
  left: auto;
  right: 0;
  top: 1.1rem;
  bottom: auto;
}

.hero-card-floating span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.hero-card-floating strong {
  font-size: 0.98rem;
}

.hero-card-summary {
  max-width: 15rem;
}

.hero-card-summary p {
  font-size: 0.83rem;
  line-height: 1.5;
}

.card-grid,
.portfolio-preview-grid,
.process-grid,
.values-grid,
.about-grid,
.timeline,
.service-stack,
.stat-list,
.portfolio-stack {
  display: grid;
  gap: 1rem;
}

.card-grid-three,
.portfolio-preview-grid,
.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.portfolio-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── Raccourcis Offres (page d'accueil) ─── */
.offers-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.offer-shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 1.8rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-color);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.offer-shortcut-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px -12px var(--shadow-color);
}
.offer-shortcut-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.offer-shortcut-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color);
}
.offer-shortcut-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .offers-shortcuts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .offers-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .offer-shortcut-card { padding: 1.2rem 0.8rem; }
}

.feature-card,
.stat-card,
.portfolio-mini-card,
.process-card,
.value-card,
.about-card,
.support-panel,
.editing-note,
.contact-panel,
.form-panel,
.service-card,
.timeline-item,
.split-panel,
.portfolio-card,
.cta-panel,
.about-intro-panel,
.contact-hero-note {
  position: relative;
  padding: 1.3rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 8px 24px -20px var(--shadow-color);
}

.feature-card::before,
.portfolio-mini-card::before,
.process-card::before,
.value-card::before,
.about-card::before,
.service-card::before,
.timeline-item::before,
.stat-card::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2px;
  margin-bottom: 0.9rem;
  background: var(--accent);
}

.feature-card,
.portfolio-mini-card,
.service-card,
.process-card,
.value-card,
.timeline-item,
.stat-card,
.contact-panel,
.form-panel,
.editing-note,
.about-card,
.support-panel,
.contact-hero-note,
.about-intro-panel {
  display: grid;
  gap: 0.65rem;
}

.feature-card h3,
.portfolio-mini-card h3,
.process-card strong,
.value-card h3,
.timeline-item strong,
.service-card h2,
.service-card h3,
.about-card h2,
.support-panel h3,
.contact-panel h2,
.cta-panel h2,
.portfolio-card h2 {
  max-width: none;
}

.feature-card p,
.portfolio-mini-card p,
.process-card p,
.value-card p,
.timeline-item p,
.about-card p,
.service-card p,
.support-panel p,
.contact-panel p,
.editing-note p,
.portfolio-card p {
  max-width: 40ch;
}

.contact-note-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-note-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  line-height: 1.56;
}

.contact-note-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
}

.feature-card,
.portfolio-mini-card,
.process-card,
.value-card,
.timeline-item,
.stat-card {
  min-height: 100%;
}

.feature-card,
.portfolio-mini-card,
.service-card,
.process-card,
.value-card,
.timeline-item,
.portfolio-card,
.interactive-surface,
.dash-card,
.offer-card,
.tier-card,
.legal-card {
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover,
.portfolio-mini-card:hover,
.service-card:hover,
.process-card:hover,
.value-card:hover,
.timeline-item:hover,
.portfolio-card:hover,
.interactive-surface:hover,
.interactive-surface:focus-within,
.dash-card:hover,
.offer-card:hover,
.tier-card:hover,
.legal-card:hover {
  transform: translateY(-4px) scale(1.004);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border-color));
  box-shadow:
    0 16px 36px -16px var(--shadow-color),
    0 0 24px -4px var(--nexion-accent-glow);
  background-color: color-mix(in srgb, var(--surface) 97%, var(--accent) 3%);
}

.split-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
  gap: 1.7rem;
  align-items: center;
}

.split-layout-balanced {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.split-copy-wide {
  max-width: 42rem;
}

.stat-list {
  margin-top: 0.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-panel {
  min-height: 24.5rem;
  overflow: hidden;
}

.panel-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.72rem 0.86rem;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.7);
  color: #e5e7eb;
  font-weight: 700;
}

.cta-section {
  padding-top: 1.5rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  border-top: 3px solid var(--accent);
}

.service-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.service-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
}

.service-card-featured .service-head,
.service-card-featured > p {
  grid-column: auto;
}

.service-card-featured .check-list {
  grid-column: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.process-grid,
.timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.portfolio-stack {
  gap: 1.1rem;
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 1rem;
  align-items: stretch;
}

.portfolio-card-copy {
  justify-content: flex-start;
  align-content: start;
  gap: 0.72rem;
  padding-right: 0.2rem;
}

.portfolio-embed {
  min-height: 23rem;
}

.embed-stage {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.portfolio-card:hover .embed-stage {
  border-color: var(--border-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.embed-stage img {
  transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .embed-stage img {
  transform: scale(1.018);
}

.embed-loader {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.68);
  color: #e5e7eb;
  font-size: 0.76rem;
  font-weight: 700;
}

.embed-frame,
.embed-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-frame {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.portfolio-embed.is-ready .embed-frame {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-embed.is-ready .embed-fallback,
.portfolio-embed.is-ready .embed-loader,
.portfolio-embed.is-fallback .embed-loader {
  display: none;
}

.portfolio-embed.is-fallback .embed-fallback {
  display: block;
}

.editing-note {
  max-width: 52rem;
}

.about-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
}

.values-layout-tight {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.15rem;
}

.about-intro-panel,
.contact-hero-note {
  align-self: stretch;
}

.about-intro-panel .contact-note-list {
  margin-top: 0.2rem;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
}

.contact-hero-note strong {
  font-size: clamp(1.36rem, 2vw, 1.76rem);
  line-height: 1.1;
}

.contact-hero-note .contact-note-list {
  margin-top: 0.2rem;
}

.contact-layout {
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-panel {
  position: static;
  align-content: start;
  grid-auto-rows: min-content;
  min-height: 100%;
  padding: 1.6rem;
}

.contact-panel-block strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.contact-panel-promises {
  gap: 0.85rem;
}

.contact-panel-steps,
.contact-panel-direct {
  padding-top: 0.2rem;
  border-top: 1px solid var(--border-color);
}

.contact-panel .contact-panel-block:last-child {
  margin-top: auto;
}

.form-panel {
  gap: 1.2rem;
  padding: 1.6rem;
  min-height: 100%;
}

.contact-form {
  display: grid;
  gap: 1.05rem;
}

.form-intro {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.form-intro strong {
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--text-color);
  font-weight: 600;
}

.field.field-full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.88rem 0.95rem;
  border-radius: 8px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-actions {
  align-items: center;
  margin-top: 0.05rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

.generated-message {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--surface-muted);
}

.generated-message strong {
  display: block;
  margin-bottom: 0.7rem;
}

.generated-message pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.65;
}

.form-note {
  font-size: 0.95rem;
}

.contact-hero-note,
.about-intro-panel {
  justify-content: center;
}

.contact-hero-note p,
.about-intro-panel p {
  max-width: 32ch;
}

.support-panel-offset {
  align-self: start;
  margin-top: 5.8rem;
}

.support-panel-tall {
  min-height: 23.4rem;
  align-content: start;
}

.support-panel-tall .btn {
  margin-top: auto;
}

.site-footer {
  padding: 5rem 0 3rem;
  background: var(--page-bg-soft);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr;
  gap: 4rem 2rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand {
  gap: 1.5rem;
  max-width: 20rem;
}

.footer-col-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-col-brand .brand-mark {
  width: 2.8rem;
  height: 2.8rem;
}

.footer-col-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong));
  color: var(--accent);
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1.5rem 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-color);
  padding-left: 3px;
}


/* Payments Row */
.footer-row-payments {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.payments-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.payments-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-badge {
  background: white;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 58px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform var(--transition-fast);
}

.payment-badge:hover {
  transform: translateY(-2px);
}

.payment-badge svg {
  max-width: 100%;
  max-height: 100%;
}

/* Bottom Footer */
.footer-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-bottom-center {
  text-align: center;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}


/* Responsive Grid columns for Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.5rem;
  }
  .footer-col-brand {
    grid-column: span 2;
    max-width: none;
  }
  .footer-row-payments,
  .footer-row-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .payments-logos {
    justify-content: center;
  }
  .footer-bottom-center {
    order: 3;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-col-brand {
    grid-column: auto;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Page & Tab Transitions */
.site-shell {
  animation: shellFadeIn 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.main-content {
  animation: contentFadeIn 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes shellFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 1rem;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--menu-surface) 94%, transparent);
    box-shadow: 0 20px 44px -32px var(--shadow-color);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--transition),
      transform var(--transition);
  }

  body.menu-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav,
  .header-controls {
    justify-self: stretch;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .site-nav a {
    padding: 0.15rem 0;
  }

  .header-controls {
    justify-content: stretch;
  }

  .theme-dropdown,
  .theme-trigger {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split-layout,
  .portfolio-card,
  .cta-panel,
  .footer-panel,
  .section-lead-grid,
  .page-hero-grid,
  .values-layout-tight,
  .about-hero-grid,
  .contact-hero-grid,
  .contact-layout,
  .social-strip {
    grid-template-columns: 1fr;
  }

  .card-grid-three,
  .service-overview-grid,
  .portfolio-preview-grid,
  .about-grid,
  .values-grid,
  .hero-proof-grid,
  .stat-list,
  .service-stack,
  .process-grid,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured,
  .field.field-full {
    grid-column: auto;
  }

  .service-card-featured .check-list,
  .service-card-featured .service-head,
  .service-card-featured > p {
    grid-column: auto;
  }

  .contact-panel {
    position: static;
  }

  .support-panel-offset {
    margin-top: 0;
  }

  .support-panel-tall {
    min-height: auto;
  }

  .footer-links {
    padding-top: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .page-hero {
    padding-top: 7.5rem;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-copy {
    padding-left: 0;
    border-left: 0;
  }

  .hero-visual {
    min-height: 26.5rem;
  }

  .hero-card-main {
    inset: 0 0 3rem 0;
  }

  .hero-card-floating {
    left: 0.8rem;
    bottom: 1rem;
  }

  .hero-card-floating.second {
    right: 0.8rem;
    top: 1rem;
    left: auto;
  }

  .service-card-featured .check-list {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .contact-panel,
  .about-intro-panel,
  .contact-hero-note,
  .cta-panel {
    padding: 1.15rem;
  }

  .brand-mark-plain {
    width: 3.2rem;
    height: 3.2rem;
  }

  .brand-copy span {
    display: none;
  }

  .btn,
  .form-actions .btn,
  .form-actions a.btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.dev-warning-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  animation: fadeIn 0.3s ease;
}

.dev-warning-content {
  width: 90%;
  max-width: 480px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.dev-warning-content h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #ffffff;
}

.dev-warning-content p {
  color: #b8b8b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.dev-warning-btn {
  border: none;
  outline: none;
  cursor: var(--cursor-pointer);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  background: #ffffff;
  color: #000000;
  transition: 0.2s ease;
}

.dev-warning-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.dev-warning-modal.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Carousel 16:9 Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border-color);
  margin: 0 auto;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-pointer);
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  background: rgba(10, 10, 10, 0.9);
  transform: scale(1.05);
}
.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: var(--cursor-pointer);
  transition: background 0.2s, transform 0.2s;
}
.carousel-indicator.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Minimalist UI Enhancements */
.hero-minimalist {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.hero-grid-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-copy-centered {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title-large {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  text-align: center;
}

.lead-centered {
  text-align: center;
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero-actions-centered {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.btn-glow {
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
}

.spacer-10vh {
  height: 10vh;
}

.cta-section-minimal {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--page-bg-soft);
}

.cta-heading-minimal {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.eyebrow-minimal {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Auth Dropdown UI */
.auth-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── Premium Login Button ── */
.auth-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  min-height: 2.28rem;
  background: var(--nexion-gradient);
  color: var(--button-text);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 0 transparent,
    0 2px 8px -2px rgba(74, 222, 128, 0.25);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-login-btn:hover,
.auth-login-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 0 16px -2px rgba(74, 222, 128, 0.35),
    0 6px 20px -4px rgba(34, 211, 238, 0.2);
  filter: brightness(1.08);
}

.auth-login-btn:hover::before {
  opacity: 1;
}

.auth-login-btn svg {
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-login-btn:hover svg {
  transform: translateX(2px);
}

.auth-dropdown {
  position: relative;
  perspective: 1000px;
}

.auth-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 2.28rem;
  padding: 0.45rem 0.66rem 0.45rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--surface-strong);
  color: var(--text-color);
  cursor: var(--cursor-pointer);
  outline: none;
  font-family: inherit;
  transition:
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-trigger:hover,
.auth-trigger:focus-visible,
.auth-dropdown.is-open .auth-trigger {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--surface-strong) 90%, var(--accent) 10%);
}

.auth-trigger strong {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-trigger svg {
  transition: transform var(--transition-fast);
}

.auth-dropdown.is-open .auth-trigger svg {
  transform: rotate(180deg);
}

.auth-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 10rem;
  padding: 0.35rem;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: var(--menu-surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px -24px var(--shadow-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) rotateX(-16deg) scale(0.91);
  transform-origin: top right;
  transition:
    opacity 240ms cubic-bezier(0.25, 1, 0.5, 1),
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1);
}

.auth-dropdown.is-open .auth-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotateX(0deg) scale(1);
  transition:
    opacity 450ms cubic-bezier(0.34, 1.75, 0.64, 1),
    transform 450ms cubic-bezier(0.34, 1.75, 0.64, 1);
}

.auth-menu a,
.auth-menu button {
  padding: 0.62rem 0.72rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-menu a:hover,
.auth-menu a:focus-visible,
.auth-menu button:hover,
.auth-menu button:focus-visible {
  background: var(--menu-surface-strong);
  color: var(--text-color);
}

/* ── Premium 3D Interactive Background ── */
.interactive-bg {
  position: fixed;
  inset: -10%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.bg-dots {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bg-dots-back {
  background-image: radial-gradient(var(--text-muted) 1.8px, transparent 1.8px);
  background-size: 50px 50px;
  opacity: 0.08;
  transform: translate3d(0, 0, -120px) scale(1.12);
}

.bg-dots-front {
  background-image: radial-gradient(var(--text-muted) 1.2px, transparent 1.2px);
  background-size: 25px 25px;
  opacity: 0.12;
  transform: translate3d(0, 0, 80px) scale(0.92);
}

.bg-orb {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bg-orb-1 {
  background: radial-gradient(circle, var(--orb-color-1) 0%, var(--orb-color-1-mid) 40%, transparent 80%);
  left: 20%;
  top: 25%;
  transform: translate(-50%, -50%) translate3d(0, 0, -80px);
}

.bg-orb-2 {
  background: radial-gradient(circle, var(--orb-color-2) 0%, var(--orb-color-2-mid) 40%, transparent 80%);
  right: 15%;
  bottom: 20%;
  transform: translate(50%, 50%) translate3d(0, 0, -200px);
}

/* ==========================================
   DROPDOWN MENU STYLES (NAVBAR)
   ========================================== */

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: var(--cursor-pointer);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown-trigger.is-active {
  color: var(--text-color);
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger:focus-visible::after,
.nav-dropdown-trigger.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-chevron {
  transition: transform 220ms ease;
  opacity: 0.7;
}

.nav-dropdown.is-open .dropdown-chevron {
  transform: rotate(-180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px) rotateX(-5deg);
  background: var(--menu-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: 
    opacity 240ms cubic-bezier(0.25, 1, 0.5, 1),
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1000;
  box-shadow: 0 16px 36px -20px var(--shadow-color);
  transform-origin: top center;
}

/* Hover bridge pseudo-element to prevent dropdown from closing immediately on hover gap */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -1.2rem;
  left: 0;
  right: 0;
  height: 1.2rem;
  background: transparent;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) rotateX(0deg);
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem !important;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  text-decoration: none;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease !important;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-strong);
  color: var(--text-color) !important;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

@media (max-width: 1100px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .nav-dropdown-trigger::after {
    display: none !important;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 0;
    pointer-events: none;
    display: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border-color);
    margin: 0.2rem 0 0.5rem 0.5rem;
    padding: 0 0 0 0.8rem;
    width: auto;
    min-width: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    display: grid;
    gap: 0.25rem;
  }

  .nav-dropdown-menu a {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================
   OFFERS CARD STYLES (Mockup Adapted)
   ========================================== */

.offers-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  max-width: 1120px;
  margin: 3rem auto 5rem auto;
  padding: 0 1rem;
}

.offer-card-premium {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 320ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 30px -10px var(--shadow-color);
  text-align: left;
}

.offer-card-premium:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

/* Featured / PRO card in the center */
.offer-card-premium.featured {
  border-color: var(--card-featured-border);
  box-shadow: 0 20px 48px -15px var(--nexion-accent-glow), 0 8px 30px -10px var(--shadow-color);
  background: var(--card-featured-bg);
}

@media (min-width: 1101px) {
  .offer-card-premium.featured {
    transform: scale(1.03);
    z-index: 2;
  }
  .offer-card-premium.featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #07130b;
  padding: 0.32rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.offer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.offer-card-header h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
}

.stock-badge {
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stock-badge::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.price-box {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-amount {
  font-family: "Instrument Sans", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.offer-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.offer-description-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
  min-height: 4.8rem;
}

.offer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.8rem 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-color);
}

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-item.muted-feature {
  color: var(--text-muted);
  opacity: 0.65;
}

.feature-item.muted-feature .feature-icon-wrapper {
  color: var(--text-muted);
}

.btn-premium-action {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
}

/* Featured card action button */
.btn-featured-action {
  background: var(--btn-featured-bg);
  color: var(--btn-featured-text);
  border: 1px solid var(--btn-featured-border);
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
}

.btn-featured-action:hover,
.btn-featured-action:focus-visible {
  background: var(--btn-featured-hover-bg);
  border-color: var(--btn-featured-hover-bg);
  color: var(--btn-featured-hover-text);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

@media (max-width: 1100px) {
  .offers-grid-three {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 480px;
  }
}

/* ==========================================
   BOT TYPE SWITCH / TOGGLE
   ========================================== */

.switch-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 3rem 0;
}

.tech-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.3rem;
  position: relative;
}

.switch-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: var(--cursor-pointer);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.6rem;
  transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.switch-btn:hover {
  color: var(--text-color);
}

.switch-btn.active {
  background: var(--accent);
  color: var(--button-text);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.offers-grid-container {
  position: relative;
}

.offers-grid-tab {
  animation: tabFadeIn 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.offers-grid-tab.hidden {
  display: none !important;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   SIDEBAR COLLAPSIBLE DROPDOWN (DASHBOARD)
   ========================================== */

.sidebar-dropdown {
  display: flex;
  flex-direction: column;
}

.sidebar-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: var(--cursor-pointer);
  text-align: left;
  transition: background 280ms cubic-bezier(0.22, 1, 0.36, 1),
              color 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-dropdown-trigger:hover {
  background: var(--surface-strong);
  color: var(--text-color);
}

.sidebar-dropdown-trigger.active {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-strong));
  color: var(--accent);
  font-weight: 550;
}

.sidebar-chevron {
  margin-left: auto;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.7;
}

.sidebar-dropdown.is-open .sidebar-chevron {
  transform: rotate(-180deg);
}

.sidebar-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 2.2rem;
  margin-top: 0.25rem;
}

.sidebar-dropdown.is-open .sidebar-dropdown-menu {
  display: flex;
}

.sidebar-dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 220ms ease, background-color 220ms ease;
}

.sidebar-dropdown-link:hover {
  color: var(--text-color);
  background: var(--surface-muted);
}

.sidebar-dropdown-link.active {
  color: var(--accent);
  font-weight: 550;
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE LAYER
   ========================================== */

/* ── Tablet (≤ 1100px) Enhancements ── */
@media (max-width: 1100px) {
  .hero-minimalist {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  .hero-title-large {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }

  .lead-centered {
    font-size: 1rem;
  }

  .hero-actions-centered {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

  .portfolio-embed {
    min-height: 18rem;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-panel .btn {
    justify-self: center;
  }
}

/* ── Mobile (≤ 780px) Enhancements ── */
@media (max-width: 780px) {
  .hero-minimalist {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-title-large {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .lead-centered {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero-copy-centered {
    padding: 0 0.5rem;
    gap: 1rem;
  }

  .carousel-container {
    border-radius: var(--radius-sm);
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .portfolio-embed {
    min-height: 14rem;
  }

  .portfolio-card-copy {
    padding-right: 0;
  }

  .eyebrow-minimal {
    font-size: 0.75rem;
  }

  .spacer-10vh {
    height: 5vh;
  }

  .cta-section-minimal {
    padding: 3.5rem 0;
  }

  .cta-heading-minimal {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Offer cards responsive */
  .offers-grid-three {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
    padding: 0 0.75rem;
    margin: 2rem auto 3rem auto;
  }

  .offer-card-premium {
    padding: 1.8rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .offer-description-text {
    min-height: auto;
  }

  .switch-wrapper {
    margin: 1rem 0 2rem 0;
  }

  .switch-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
  }

  /* Tables overflow */
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .data-table th,
  .data-table td {
    padding: 0.9rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding-top: 6rem;
    padding-bottom: 1.5rem;
  }

  h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .hero-visual {
    min-height: 20rem;
  }

  .hero-card-floating {
    min-width: 9rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }

  .hero-card-floating strong {
    font-size: 0.88rem;
  }

  .hero-card-floating span {
    font-size: 0.7rem;
  }

  .offer-card-premium {
    padding: 1.4rem;
  }

  .price-amount {
    font-size: 1.9rem;
  }

  .popular-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.8rem;
  }

  .feature-item {
    font-size: 0.85rem;
  }

  .features-list {
    margin: 0 0 1.5rem 0;
  }

  .footer-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-desc {
    max-width: none;
  }

  .carousel-controls {
    padding: 0 0.4rem;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
  }

  .carousel-indicators {
    bottom: 0.5rem;
  }

  .carousel-indicator {
    width: 6px;
    height: 6px;
  }

  /* Auth dropdown full-width on mobile */
  .auth-trigger strong {
    max-width: 10ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── Dashboard & Panel Pages Responsive ── */
@media (max-width: 900px) {
  /* Sidebar overlay when open */
  .sidebar.open {
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
  }

  /* Body overlay when sidebar is open */
  body.sidebar-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 90;
    animation: fadeIn 0.2s ease;
  }

  /* Dashboard specific responsive */
  .main-content {
    margin-left: 0 !important;
    padding: 4.5rem 1.5rem 1.5rem 1.5rem !important;
  }

  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .dash-card .value {
    font-size: 2.2rem;
  }

  /* Service cards inline grids and general inline layouts */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Flex wrapping for inline button groups */
  [style*="display: flex"][style*="gap"] {
    flex-wrap: wrap;
  }

  /* Staff toolbar filters */
  .staff-toolbar .filter-row {
    flex-wrap: wrap;
  }

  .staff-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  /* Mobile toggle improvements */
  .mobile-toggle {
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 200 !important;
    padding: 0.55rem 0.8rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px);
    background: var(--surface) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

/* ── Small Mobile Panel Pages (≤ 600px) ── */
@media (max-width: 600px) {
  .main-content {
    padding: 4.5rem 0.75rem 1rem 0.75rem !important;
  }

  .header-top {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }

  .welcome-text h1 {
    font-size: 1.6rem;
  }

  .welcome-text p {
    font-size: 0.95rem;
  }

  /* Account page cards */
  .account-grid {
    grid-template-columns: 1fr !important;
  }

  .account-card {
    padding: 1.2rem !important;
  }

  /* Form grids inside panels */
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-grid.single-col {
    grid-template-columns: 1fr !important;
  }

  /* Ticket chat bubbles */
  .chat-bubble {
    max-width: 95% !important;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }

  /* Table scroll hint */
  .data-table {
    font-size: 0.82rem;
  }

  /* Badge alignment */
  .status-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
  }

  /* Inline service detail grids */
  .service-detail-grid {
    grid-template-columns: 1fr !important;
  }

  /* Staff panel kanban columns */
  .kanban-board {
    flex-direction: column !important;
  }

  .kanban-column {
    min-width: auto !important;
    width: 100% !important;
  }
}

/* ── Status Page Responsive ── */
@media (max-width: 780px) {
  .status-container {
    padding: 0 0.75rem;
  }

  .overall-status-card {
    padding: 1.5rem !important;
  }

  .status-grid {
    gap: 0.75rem;
  }

  .status-card {
    padding: 1rem !important;
  }
}

/* ── Print / Large Screen Optimizations ── */
@media (min-width: 1400px) {
  .container {
    width: min(calc(100% - 4rem), 1280px);
  }
}

@media print {
  .sidebar,
  .mobile-toggle,
  .site-header,
  .interactive-bg,
  .menu-toggle {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* ── Desktop Navbar Optimizations ── */
@media (min-width: 1101px) {
  .site-header .container {
    max-width: 100% !important;
    width: calc(100% - 2rem) !important;
  }

  .site-nav {
    gap: 2.5rem !important;
  }

  .site-nav a,
  .nav-dropdown-trigger {
    white-space: nowrap !important;
  }
}

/* ── Checkout Page Mobile Adaptations ── */
@media (max-width: 600px) {
  .checkout-card {
    padding: 1.5rem !important;
  }

  .admin-test-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
  }

  .admin-test-flex a {
    width: 100% !important;
    text-align: center;
  }

  .promo-form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .promo-form input {
    flex: 1 1 200px !important;
    min-width: 150px !important;
  }

  .promo-form button {
    flex: 1 0 auto !important;
    min-width: 100px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION "NOUS FAIRE CONFIANCE" (page accueil)
   ═══════════════════════════════════════════════════════════════════ */

.trust-section .trust-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px -30px var(--shadow-color);
}
.trust-section .trust-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.trust-section .trust-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.25;
  max-width: none;
}
.trust-section .trust-lead {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.98rem;
}
.trust-section .trust-cta {
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .trust-section .trust-card {
    padding: 1.5rem 1.4rem;
    gap: 1.4rem;
    text-align: center;
    justify-content: center;
  }
  .trust-section .trust-copy { flex: 1 1 100%; text-align: center; align-items: center; }
  .trust-section .trust-cta { width: 100%; }
  .trust-section .trust-cta .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   AJUSTEMENTS RESPONSIVE MOBILE COMPLÉMENTAIRES
   ═══════════════════════════════════════════════════════════════════ */

/* Global : empêche tout débordement horizontal accidentel sur mobile. */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  /* Titres XXL réduits sur mobile pour éviter les wraps moches. */
  h1 { font-size: clamp(1.9rem, 7.5vw, 3rem) !important; line-height: 1.15; max-width: 100%; }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem) !important; line-height: 1.2; max-width: 100%; }

  /* Container : padding cohérent sur toute la largeur. */
  .container { padding-left: 1rem !important; padding-right: 1rem !important; }
  .section { padding-top: 3rem; padding-bottom: 3rem; }

  /* Hero + CTA : boutons pleine largeur, plus lisibles au pouce. */
  .hero-actions-centered,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions-centered .btn,
  .hero-actions .btn { width: 100%; }

  /* Grilles automatiques : minimum 1 colonne. */
  .offers-shortcuts,
  .values-grid,
  .split-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Cartes offres : padding réduit, images/svg contenues. */
  .offer-shortcut-card { padding: 1.25rem 1.1rem !important; }
  .offer-shortcut-card h3 { font-size: 1.05rem; }
  .offer-shortcut-card p { font-size: 0.88rem; }

  /* Formulaires génériques : inputs plus grands (44px min = touch-friendly). */
  input, select, textarea, button {
    font-size: 16px !important; /* iOS n'auto-zoom pas au focus si >= 16px */
    min-height: 44px;
  }
  textarea { min-height: 100px; }

  /* Toolbars staff : wrap propre. */
  .staff-toolbar { flex-direction: column !important; align-items: stretch !important; }
  .staff-toolbar .search-bar { width: 100% !important; }
  .staff-toolbar select,
  .staff-toolbar input { width: 100% !important; }

  /* Tableaux qui débordent (users, invoices, tickets…) : scroll horizontal contenu. */
  .staff-table-wrap, .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Sidebar : évite qu'elle prenne toute la largeur écran. */
  .site-sidebar { width: 100%; max-width: 320px; }

  /* Footer : colonnes empilées. */
  .site-footer .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Modals inline (staff.php / ticket.php / client.php) auto-adapté. */
  [style*="position:fixed"][style*="inset:0"] > div,
  [style*="position: fixed"][style*="inset: 0"] > div {
    max-width: 100% !important;
    width: 100% !important;
    max-height: calc(100vh - 1rem) !important;
    border-radius: 14px !important;
    padding: 1.3rem 1.1rem !important;
  }
}

/* Très petits écrans (≤ 380px) : compaction supplémentaire. */
@media (max-width: 380px) {
  .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .section { padding-top: 2rem; padding-bottom: 2rem; }
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.4rem !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOND "AURORA + CONSTELLATION" — accueil, paiement, client, avis, contact
   ═══════════════════════════════════════════════════════════════════
   Base : 3 blobs radiaux qui dérivent en boucle infinie (mesh-gradient
   animé style aurore boréale). Overlay : particules canvas reliées entre
   elles + interaction souris (voir main.js → initInteractiveBackground).
   Couleurs pilotées par 3 variables --aurora-blob-N-color + --aurora-particle
   redéfinies par thème plus bas (Nexion / Clair / Sombre).
   ═══════════════════════════════════════════════════════════════════ */

/* Palette par défaut (thème Nexion) : accents verts/cyan + touche warm subtile.
   Les valeurs sont sous forme "R, G, B" pour être composées avec rgba() dans les blobs. */
:root {
  --aurora-blob-1: 74, 222, 128;   /* vert #4ade80 — accent principal Nexion */
  --aurora-blob-2: 34, 211, 238;   /* cyan #22d3ee — accent-soft */
  --aurora-blob-3: 251, 146, 60;   /* orange discret pour contraste chaud */
  --aurora-particle: 74, 222, 128; /* particules canvas — vert Nexion */
  --aurora-blob-opacity: 0.55;
  --aurora-grain-opacity: 0.32;
  --aurora-blend: screen;          /* sur fond sombre, screen éclaircit */
}

:root[data-theme="light"] {
  --aurora-blob-1: 47, 117, 99;    /* vert-sapin #2f7563 */
  --aurora-blob-2: 123, 135, 109;  /* olive #7b876d */
  --aurora-blob-3: 156, 100, 60;   /* terre-cuite chaude, contraste chaud */
  --aurora-particle: 47, 117, 99;  /* particules vert-sapin (contraste fort sur crème) */
  --aurora-blob-opacity: 0.42;     /* opacité plus haute sur fond clair pour être visible */
  --aurora-grain-opacity: 0.22;
  --aurora-blend: multiply;        /* sur fond clair, multiply assombrit */
}

:root[data-theme="dark"] {
  --aurora-blob-1: 143, 152, 168;  /* gris bleuté #8f98a8 */
  --aurora-blob-2: 95, 103, 117;   /* gris foncé #5f6775 */
  --aurora-blob-3: 200, 210, 225;  /* highlight froid subtil */
  --aurora-particle: 200, 210, 225;
  --aurora-blob-opacity: 0.35;
  --aurora-grain-opacity: 0.28;
  --aurora-blend: screen;
}

.nexion-aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.nexion-aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--aurora-blob-opacity);
  will-change: transform;
  mix-blend-mode: var(--aurora-blend);
}

.nexion-aurora-blob-1 {
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  left: -12vw;
  top: -18vh;
  background: radial-gradient(circle at 30% 30%,
    rgba(var(--aurora-blob-1), 1) 0%,
    rgba(var(--aurora-blob-1), 0.35) 40%,
    transparent 70%);
  animation: nexionAuroraFloat1 22s ease-in-out infinite;
}

.nexion-aurora-blob-2 {
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  right: -15vw;
  bottom: -20vh;
  background: radial-gradient(circle at 60% 60%,
    rgba(var(--aurora-blob-2), 1) 0%,
    rgba(var(--aurora-blob-2), 0.3) 40%,
    transparent 70%);
  animation: nexionAuroraFloat2 28s ease-in-out infinite;
}

.nexion-aurora-blob-3 {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  left: 45%;
  top: 25%;
  background: radial-gradient(circle at 50% 50%,
    rgba(var(--aurora-blob-3), 1) 0%,
    rgba(var(--aurora-blob-3), 0.28) 40%,
    transparent 70%);
  animation: nexionAuroraFloat3 26s ease-in-out infinite;
  opacity: calc(var(--aurora-blob-opacity) * 0.7);
}

@keyframes nexionAuroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%      { transform: translate(8vw, 12vh) scale(1.15) rotate(30deg); }
  66%      { transform: translate(-4vw, 20vh) scale(0.9) rotate(-25deg); }
}
@keyframes nexionAuroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40%      { transform: translate(-12vw, -18vh) scale(1.1) rotate(-40deg); }
  75%      { transform: translate(6vw, -8vh) scale(0.95) rotate(20deg); }
}
@keyframes nexionAuroraFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-40%, -60%) scale(1.25); }
}

/* Grain fin pour éviter les blobs "trop lisses". Blend adapté au thème. */
.nexion-aurora-grain {
  position: absolute;
  inset: 0;
  opacity: var(--aurora-grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  pointer-events: none;
}
[data-theme="light"] .nexion-aurora-grain { mix-blend-mode: multiply; }

.nexion-aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Motion accessibility : blobs statiques. Le canvas n'est pas injecté (JS). */
@media (prefers-reduced-motion: reduce) {
  .nexion-aurora-blob { animation: none !important; }
}

/* Mobile : blobs plus petits + moins de blur (perf). Pas de canvas (skipé JS). */
@media (max-width: 767px) {
  .nexion-aurora-blob { filter: blur(60px); }
  .nexion-aurora-blob-1 { width: 90vw; height: 90vw; max-width: 500px; max-height: 500px; }
  .nexion-aurora-blob-2 { width: 100vw; height: 100vw; max-width: 550px; max-height: 550px; }
  .nexion-aurora-blob-3 { width: 80vw; height: 80vw; max-width: 400px; max-height: 400px; }
}
}