/* ==========================================================
   REKSO DIGITAL — Vitrine Studio Dark Mode Premium (v3)
   Audit P0 appliqué · Configurateur 2D + PDF · Mobile-First
   ========================================================== */

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --bg: #07080D;
  --bg-alt: rgba(14, 16, 26, 0.72);
  --surface: rgba(18, 21, 34, 0.78);
  --surface-elevated: rgba(26, 31, 49, 0.85);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.18);

  --text: #F8FAFC;
  --text-muted: #9AA5BC;
  --text-soft: #6C7790;

  --accent: #FF3B5C;
  --accent-2: #7C5CFF;
  --accent-hover: #FF5270;
  --accent-glow: rgba(255, 59, 92, 0.28);
  --green: #22C55E;

  --studio-accent: #F59E0B;
  --studio-soft: rgba(245, 158, 11, 0.16);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --max-width: 1180px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ---------- SCROLL PROGRESS BAR ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- ANIMATED BACKGROUND STAGE ---------- */

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
  will-change: transform;
}

.bg-orb-1 {
  top: -140px;
  left: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.bg-orb-2 {
  top: 30%;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

.bg-orb-3 {
  bottom: -180px;
  left: 30%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.7) 0%, transparent 70%);
  opacity: 0.2;
  animation: orbFloat1 25s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, 50px) scale(1.12); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -60px) scale(1.15); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 40%, transparent 100%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 8, 13, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--text-muted);
  font-weight: 600;
}

.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  flex-shrink: 0;
  animation: recPulse 2s ease-in-out infinite;
}

.rec-dot-sm {
  width: 7px;
  height: 7px;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.82); }
}

.main-nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.header-mobile-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- BUTTONS ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.82rem 1.4rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
  text-align: center;
}

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

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.btn-primary {
  background: linear-gradient(135deg, #FF3B5C 0%, #E62452 100%);
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF4F6E 0%, #F42B5B 100%);
  box-shadow: 0 14px 36px rgba(255, 59, 92, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}

.btn-shine:hover::after {
  transform: translateX(130%);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border-color: var(--border-bright);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(36, 42, 66, 0.92);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  color: #C7D0E2;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.text-glow {
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.22);
}

.text-gradient {
  background: linear-gradient(95deg, #FFFFFF 0%, #FF7C94 45%, #FF3B5C 75%, #9B84FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 7s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  margin: 0 auto 2rem;
  max-width: 560px;
  font-size: 1.04rem;
  color: var(--text-muted);
}

.hero-subtitle strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2.1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  max-width: 500px;
  margin-inline: auto;
}

.metric-pill {
  padding: 0.75rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.metric-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.15;
}

.metric-pill span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ---------- HERO VISUAL MOCKUP ---------- */

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1100px;
}

.studio-mockup {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
}

.phone-shell {
  position: relative;
  width: 244px;
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 59, 92, 0.28) 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.68), 0 0 60px rgba(255, 59, 92, 0.16);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  border-radius: 999px;
  background: #05060A;
  z-index: 4;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 3.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 59, 92, 0.28), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124, 92, 255, 0.24), transparent 55%),
    linear-gradient(175deg, #121524 0%, #090B12 100%);
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid rgba(255, 59, 92, 0.38);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.format-pill {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

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

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin-bottom: 1rem;
}

.waveform span {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF7A90, #FF3B5C);
  animation: waveBar 1.15s ease-in-out infinite alternate;
}

.waveform span:nth-child(1) { height: 14px; animation-delay: 0.05s; }
.waveform span:nth-child(2) { height: 28px; animation-delay: 0.2s; }
.waveform span:nth-child(3) { height: 40px; animation-delay: 0.35s; }
.waveform span:nth-child(4) { height: 22px; animation-delay: 0.1s; }
.waveform span:nth-child(5) { height: 44px; animation-delay: 0.45s; }
.waveform span:nth-child(6) { height: 32px; animation-delay: 0.25s; }
.waveform span:nth-child(7) { height: 18px; animation-delay: 0.55s; }
.waveform span:nth-child(8) { height: 36px; animation-delay: 0.15s; }
.waveform span:nth-child(9) { height: 24px; animation-delay: 0.4s; }
.waveform span:nth-child(10) { height: 14px; animation-delay: 0.3s; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); opacity: 0.65; }
  100% { transform: scaleY(1); opacity: 1; }
}

.phone-caption-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: #fff;
}

.phone-caption-accent {
  display: inline-block;
  margin: 0.3rem 0 0;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.phone-cta-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 600;
}

.phone-cta-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #07080D;
  font-weight: 700;
}

.float-cards-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  z-index: 6;
}

.float-card {
  cursor: pointer;
  will-change: transform;
  transition: transform 0.38s cubic-bezier(0.22, 1.5, 0.36, 1);
}

.float-card-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.68rem 0.95rem;
  border-radius: 14px;
  background: rgba(15, 18, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.float-card-top .float-card-inner {
  animation: floatBob 4.2s ease-in-out infinite;
}

.float-card-bottom .float-card-inner {
  animation: floatBob 4.8s ease-in-out infinite reverse;
}

.float-card.is-active .float-card-inner,
.float-card:hover .float-card-inner {
  border-color: rgba(255, 59, 92, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 59, 92, 0.28);
}

.float-card:hover .float-icon {
  transform: scale(1.16) rotate(-8deg);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1.5, 0.36, 1);
}

.float-icon-green {
  background: rgba(34, 197, 94, 0.16);
  color: var(--green);
}

.float-icon-accent {
  background: rgba(255, 59, 92, 0.18);
  color: var(--accent);
}

.float-label {
  margin: 0;
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.float-value {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* ---------- MARQUEE ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 14, 22, 0.72);
  backdrop-filter: blur(12px);
  padding: 0.88rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

.m-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */

.section {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2.75rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- SPOTLIGHT CARDS ---------- */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 59, 92, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* ---------- DEMO SHELL (MOBILE-SAFE 4 TABS + CONFIGURATEUR 2D) ---------- */

.demo-shell {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(14, 17, 28, 0.9);
  border: 1px solid var(--border-bright);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.demo-window-bar,
.demo-panel {
  position: relative;
  z-index: 2;
}

.demo-window-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: none;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #FF5F56; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #27C93F; }

/* Mobile-safe 2x2 tabs grid -> zero overflow on 360px screens */
.demo-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  padding: 4px;
  border-radius: 12px;
  background: rgba(7, 8, 13, 0.78);
  border: 1px solid var(--border);
  gap: 4px;
}

.demo-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
  text-align: center;
}

.demo-tab.is-active {
  background: var(--accent);
  color: #fff;
}

.demo-live-tag {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.demo-panel {
  padding: 1.35rem 1rem 1.5rem;
}

/* ---------- APP COMMANDE CLICK & COLLECT + VIP (TAB 1 HORS BTP) ---------- */

.orderapp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.order-top-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

#order-cat-chips .chip.is-active,
#order-time-chips .chip.is-active {
  background: var(--studio-soft);
  border-color: var(--studio-accent);
  color: #fff;
}

.mode-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid var(--border);
  gap: 3px;
}

.mode-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.72rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.mode-btn.is-active {
  background: var(--studio-accent);
  color: #090A0F;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  transition: border-color 0.18s ease, transform 0.16s ease;
}

.menu-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.menu-item.in-cart {
  border-color: var(--studio-accent);
  background: linear-gradient(120deg, var(--studio-soft) 0%, rgba(255, 255, 255, 0.03) 65%);
}

.menu-item-info {
  min-width: 0;
}

.menu-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.menu-item-top strong {
  font-size: 0.95rem;
}

.menu-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: var(--studio-soft);
  color: var(--studio-accent);
}

.menu-item-desc {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.12s ease;
}

.qty-btn:hover {
  border-color: var(--studio-accent);
  background: var(--studio-soft);
  transform: scale(1.06);
}

.qty-btn-add {
  background: var(--studio-accent);
  border-color: var(--studio-accent);
  color: #090A0F;
}

.qty-val {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.order-cart-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, var(--studio-soft) 0%, rgba(10, 12, 20, 0.95) 50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vip-box {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(7, 8, 13, 0.65);
  border: 1px solid var(--border);
}

.vip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.vip-label {
  font-size: 0.78rem;
  color: #E2E8F0;
}

.vip-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--studio-soft);
  color: var(--studio-accent);
  white-space: nowrap;
}

.vip-badge.is-unlocked {
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
}

.vip-bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.vip-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--studio-accent), #4ADE80);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-items-list {
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: #DCE3F0;
}

.cart-line-gift {
  color: #4ADE80;
  font-weight: 600;
}

.cart-empty {
  color: var(--text-soft);
  font-size: 0.84rem;
  text-align: center;
  padding: 0.5rem 0;
}

.promo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.promo-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.promo-pill {
  border: 1px dashed var(--studio-accent);
  background: var(--studio-soft);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.promo-pill.is-applied {
  border-style: solid;
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
}

.cart-totals {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
}

.text-green {
  color: #4ADE80;
}

.cart-total-main {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}

/* Ticket QR Live Modal */
.ticket-live-body {
  padding: 1.15rem 0;
}

.ticket-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.t-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.t-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
}

.t-step.is-done {
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ADE80;
}

.t-step.is-done span {
  background: #22C55E;
  color: #090A0F;
}

.t-step.is-active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 59, 92, 0.14);
}

.t-step.is-active span {
  background: var(--accent);
  color: #fff;
}

.ticket-qr-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.ticket-qr-svg {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.ticket-code-label {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ticket-code-big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.ticket-sub-info {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #4ADE80;
}

/* ---------- STUDIO 2D CLIENT CUSTOMIZER (TAB 2) ---------- */

[data-brand-theme="amber"] { --studio-accent: #F59E0B; --studio-soft: rgba(245, 158, 11, 0.16); }
[data-brand-theme="emerald"] { --studio-accent: #10B981; --studio-soft: rgba(16, 185, 129, 0.16); }
[data-brand-theme="cyan"] { --studio-accent: #38BDF8; --studio-soft: rgba(56, 189, 248, 0.16); }
[data-brand-theme="crimson"] { --studio-accent: #FF3B5C; --studio-soft: rgba(255, 59, 92, 0.16); }

.client-brand-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-left: 3px solid var(--studio-accent);
}

.client-brand-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--studio-soft);
  color: var(--studio-accent);
  border: 1px solid var(--studio-accent);
  flex-shrink: 0;
}

.client-brand-id strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
}

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

.brand-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.theme-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.theme-dot[data-theme-pick="amber"] { background: #F59E0B; }
.theme-dot[data-theme-pick="emerald"] { background: #10B981; }
.theme-dot[data-theme-pick="cyan"] { background: #38BDF8; }
.theme-dot[data-theme-pick="crimson"] { background: #FF3B5C; }

.theme-dot.is-active {
  border-color: #fff;
  transform: scale(1.16);
}

.studio2d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.plan-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(7, 8, 13, 0.55);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.plan-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.plan-pill {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--studio-accent);
  background: var(--studio-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.plan-dims-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-svg-wrap {
  width: 100%;
  margin-bottom: 0.9rem;
}

#room-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.plan-sliders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.mini-slider label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mini-slider strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.studio-range {
  accent-color: var(--studio-accent);
}

.studio-options-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.swatch-group {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.swatch.is-active {
  border-color: var(--studio-accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.studio-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.check-pill input {
  accent-color: var(--studio-accent);
  width: 15px;
  height: 15px;
}

.studio2d-summary {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, var(--studio-soft) 0%, rgba(10, 12, 20, 0.95) 55%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.summary-eta {
  color: #E2E8F0;
  font-weight: 600;
}

.summary-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--studio-accent);
  margin-bottom: 0.2rem;
}

.summary-deposit {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cost-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.6rem;
}

.cost-seg {
  transition: width 0.25s ease;
}

.cost-seg-mat { background: var(--studio-accent); }
.cost-seg-lab { background: #7C5CFF; }
.cost-seg-opt { background: #22C55E; }

.cost-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.cost-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
}

.dot-mat { background: var(--studio-accent); }
.dot-lab { background: #7C5CFF; }
.dot-opt { background: #22C55E; }

.cost-legend strong {
  color: var(--text);
}

.summary-lines {
  list-style: none;
  padding: 0.85rem 0;
  margin: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.48rem;
  font-size: 0.84rem;
}

.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #CBD5E1;
}

.summary-lines li strong {
  color: #fff;
  white-space: nowrap;
}

.summary-actions {
  display: grid;
  gap: 0.65rem;
}

/* ---------- OTHER DEMO TABS (DEVIS / RDV / CRM) ---------- */

.demo-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
}

.demo-badge-sector {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #B4A2FF;
  background: rgba(124, 92, 255, 0.14);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.demo-controls h3 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.control-group {
  margin-bottom: 1.3rem;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.control-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.control-row .control-label {
  margin-bottom: 0;
}

.range-readout {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip,
.slot-btn {
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.04);
  color: #D7DFEE;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.56rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, transform 0.14s ease;
}

.chip:hover,
.slot-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.chip.is-active,
.slot-btn.is-active {
  background: rgba(255, 59, 92, 0.18);
  border-color: var(--accent);
  color: #fff;
}

#studio-floor-chips .chip.is-active {
  background: var(--studio-soft);
  border-color: var(--studio-accent);
}

/* Mobile-safe 2x2 slot grid -> comfortable thumb targets */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.styled-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
  height: 6px;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #D7DFEE;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle-row input:checked + .toggle-track {
  background: var(--accent);
}

.toggle-row input:checked + .toggle-track::after {
  transform: translateX(18px);
}

.demo-result-card {
  padding: 1.55rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 59, 92, 0.1) 0%, rgba(10, 12, 20, 0.92) 70%);
  border: 1px solid rgba(255, 59, 92, 0.32);
}

.result-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF8CA0;
}

.result-price {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: transform 0.18s ease;
}

.result-price.is-pop {
  transform: scale(1.05);
}

.result-price-sm {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.result-sub {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-divider {
  height: 1px;
  background: var(--border);
  margin: 1.15rem 0;
}

.result-explain {
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: #CBD4E5;
}

.result-explain-spaced {
  margin: 0.95rem 0 0;
}

/* ---------- PRISE DE RDV PRO (TAB 3) & MINI-CRM PRO (TAB 4) ---------- */

.rdvpro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.service-cards {
  display: grid;
  gap: 0.65rem;
}

.service-pick {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease;
}

.service-pick:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.service-pick.is-active {
  border-color: var(--studio-accent);
  background: linear-gradient(120deg, var(--studio-soft) 0%, rgba(255, 255, 255, 0.03) 70%);
}

.service-pick strong {
  display: block;
  font-size: 0.93rem;
}

.service-pick span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.service-pick b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--studio-accent);
  white-space: nowrap;
}

.rdv-two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

#rdvpro-root .chip.is-active,
#rdvpro-root .slot-btn.is-active,
#crmpro-root .chip.is-active {
  background: var(--studio-soft);
  border-color: var(--studio-accent);
  color: #fff;
}

.slot-btn.is-full {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
  font-size: 0.76rem;
}

.crm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.crm-kpi-card {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.crm-kpi-signed {
  background: var(--studio-soft);
  border-color: var(--studio-accent);
}

.crm-kpi-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.crm-kpi-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  color: #fff;
  margin-top: 0.15rem;
}

.crm-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.crm-add-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.crm-input {
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 9px;
  border: 1px solid var(--border-bright);
  background: rgba(7, 8, 13, 0.72);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  width: 175px;
}

.crm-input-sm {
  width: 82px;
}

.crm-footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.crm-footer-bar .crm-hint {
  margin: 0;
  max-width: 540px;
}

/* ---------- MINI-CRM ---------- */

.crm-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.crm-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.crm-kpi {
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  text-align: right;
}

.crm-kpi span {
  display: block;
  font-size: 0.72rem;
  color: #86EFAC;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.crm-kpi strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
}

.crm-list {
  display: grid;
  gap: 0.75rem;
}

.crm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.crm-row strong {
  display: block;
  font-size: 0.96rem;
}

.crm-row span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.crm-status-btn {
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.crm-status-btn:hover { transform: scale(1.05); }
.crm-status-btn.status-todo { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #E2E8F0; }
.crm-status-btn.status-sent { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.45); color: #FCD34D; }
.crm-status-btn.status-signed { background: rgba(34, 197, 94, 0.18); border-color: rgba(34, 197, 94, 0.5); color: #4ADE80; }

.crm-hint {
  margin: 1rem 0 0;
  font-size: 0.83rem;
  color: var(--text-soft);
}

/* ---------- PRICING ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 59, 92, 0.13) 0%, rgba(18, 21, 34, 0.92) 48%);
  border-color: rgba(255, 59, 92, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 42px rgba(255, 59, 92, 0.16);
}

.featured-border {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--border-angle), transparent 20%, rgba(255, 59, 92, 0.9) 45%, rgba(124, 92, 255, 0.85) 60%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rotateBorder 6s linear infinite;
}

@keyframes rotateBorder {
  to { --border-angle: 360deg; }
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF3B5C, #FF5C77);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 59, 92, 0.4);
  z-index: 4;
}

.offer-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
}

.offer-tag-accent {
  color: #FF94A7;
  background: rgba(255, 59, 92, 0.16);
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.2;
}

.offer-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.price-block {
  margin: 1.5rem 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-main {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-main span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-strike {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-right: 0.3rem;
  font-weight: 500;
}

.price-alt {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.price-alt strong {
  color: var(--text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.76rem;
  flex-grow: 1;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.93rem;
  color: #DCE3F0;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.tax-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-soft);
}

/* ---------- 4e OFFRE : BANDEAU LARGE ACCOMPAGNEMENT & ASSISTANTS IA ---------- */

.ai-banner-card {
  margin-top: 1.85rem;
  padding: 1.85rem 1.5rem;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.14) 0%, rgba(18, 21, 34, 0.92) 52%, rgba(255, 59, 92, 0.1) 100%);
  border-color: rgba(124, 92, 255, 0.42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48), 0 0 36px rgba(124, 92, 255, 0.12);
}

.ai-banner-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
}

.ai-banner-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.ai-banner-tags .offer-tag {
  margin-bottom: 0;
}

.offer-tag-violet {
  color: #C4B5FD;
  background: rgba(124, 92, 255, 0.2);
}

.ai-mode-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-bright);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.ai-banner-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.ai-banner-copy .offer-desc {
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.ai-banner-copy .offer-desc strong {
  color: var(--text);
}

.feature-list-2col {
  margin-bottom: 0;
  gap: 0.65rem 1.2rem;
}

.ai-banner-pricing {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(7, 8, 13, 0.68);
  border: 1px solid var(--border-bright);
  display: grid;
  gap: 0.8rem;
}

.ai-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.ai-tier-pro {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.1);
}

.ai-tier strong {
  display: block;
  font-size: 0.92rem;
}

.ai-tier span {
  display: block;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.ai-tier-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.ai-tier-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- OPTIONS À LA CARTE REPLIABLES ---------- */

.addons-accordion {
  margin-top: 1.8rem;
  border-radius: var(--radius-md);
  background: rgba(18, 21, 34, 0.72);
  border: 1px solid var(--border-bright);
  overflow: hidden;
}

.addons-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
}

.addons-summary::-webkit-details-marker {
  display: none;
}

.addons-summary strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.addons-summary small {
  display: block;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.addons-chevron {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FF8CA0;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 59, 92, 0.14);
  border: 1px solid rgba(255, 59, 92, 0.3);
  white-space: nowrap;
}

.addons-accordion[open] .addons-chevron {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  color: var(--text-muted);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 1.25rem 1.35rem;
}

.addon-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(9, 11, 18, 0.65);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.addon-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 59, 92, 0.4);
}

.addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.addon-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 59, 92, 0.14);
  color: var(--accent);
}

.addon-price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FF94A7;
  background: rgba(255, 59, 92, 0.14);
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
}

.addon-card h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.addon-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- VIDEOS 9:16 (CARROUSEL HORIZONTAL MOBILE -> ZÉRO MUR DE SCROLL) ---------- */

.swipe-hint {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.videos-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.videos-grid::-webkit-scrollbar {
  height: 6px;
}

.videos-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.video-card {
  flex: 0 0 245px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 59, 92, 0.18), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(124, 92, 255, 0.14), transparent 55%),
    linear-gradient(160deg, #161B2E 0%, #0A0C14 100%);
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-frame:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 92, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 32px rgba(255, 59, 92, 0.16);
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card.has-video .demo-video { opacity: 1; }
.video-card.has-video .video-placeholder { opacity: 0; pointer-events: none; }

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.35rem;
  gap: 0.85rem;
}

.video-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  background: rgba(7, 8, 13, 0.78);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.play-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 59, 92, 0.16);
  border: 1px solid rgba(255, 59, 92, 0.5);
  color: var(--accent);
  box-shadow: 0 0 28px rgba(255, 59, 92, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.video-frame:hover .play-ring {
  transform: scale(1.08);
  background: var(--accent);
  color: #fff;
}

.placeholder-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.placeholder-cta {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.77rem;
  font-weight: 600;
  color: #E2E8F0;
}

.video-audio-btn {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 5;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 8, 13, 0.8);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.video-meta h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.04rem;
}

.video-meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- MÉTHODE & FAQ ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step-card {
  padding: 1.65rem 1.5rem;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 59, 92, 0.14);
  padding: 0.22rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.step-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(18, 21, 34, 0.75);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(255, 59, 92, 0.35);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- CONTACT & FOUNDER TRUST ---------- */

.contact-box {
  position: relative;
  text-align: center;
  padding: 2.8rem 1.4rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 59, 92, 0.2), transparent 60%),
    rgba(16, 19, 31, 0.88);
  border: 1px solid var(--border-bright);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.contact-box > * {
  position: relative;
  z-index: 2;
}

.founder-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.95rem 0.42rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-bright);
  font-size: 0.84rem;
  color: #D7DFEE;
  margin-bottom: 1.35rem;
}

.founder-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.contact-box h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  line-height: 1.14;
}

.contact-lead {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.contact-lead strong { color: var(--text); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.contact-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* ---------- FOOTER ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: rgba(7, 8, 13, 0.88);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-legal-btn:hover {
  color: var(--text);
}

.footer-legal-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* ---------- MODALES NATIVES (DEVIS PDF + MENTIONS LÉGALES) ---------- */

.rekso-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  width: min(94vw, 660px);
  max-height: 90vh;
  overflow: visible;
}

.rekso-dialog::backdrop {
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.quote-sheet {
  border-radius: var(--radius-lg);
  background: #101320;
  border: 1px solid var(--border-bright);
  padding: 1.5rem;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.quote-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.quote-doc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.quote-sheet-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.quote-sheet-top p {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.dialog-close {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.quote-doc-body {
  padding: 1.15rem 0;
}

.quote-doc-specs {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.quote-table th,
.quote-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.quote-table th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.quote-table tfoot td {
  border-bottom: 0;
  padding-top: 0.9rem;
  font-size: 1rem;
}

.quote-doc-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1rem;
}

.legal-tab {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
}

.legal-tab.is-active {
  background: rgba(255, 59, 92, 0.16);
  border-color: var(--accent);
  color: #fff;
}

.legal-body {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.legal-body p {
  margin: 0 0 0.75rem;
}

.quote-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ---------- SCROLL REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- RESPONSIVE ---------- */

@media (min-width: 520px) {
  .slot-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-sliders {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 680px) {
  .hero-actions,
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .demo-window-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
  }

  .window-dots,
  .demo-live-tag {
    display: inline-flex;
  }

  .demo-tabs {
    display: inline-flex;
    width: auto;
  }

  .demo-tab {
    font-size: 0.84rem;
    padding: 0.45rem 0.85rem;
  }

  .demo-panel {
    padding: 1.75rem 1.85rem;
  }

  .swipe-hint {
    display: none;
  }

  .videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    overflow: visible;
    max-width: 960px;
    margin-inline: auto;
    padding: 0;
  }

  .video-card {
    flex: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

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

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }

  .header-mobile-link {
    display: none;
  }

  .hero {
    padding: 5.2rem 0 4.8rem;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.5rem;
  }

  .hero-copy { text-align: left; }
  .hero-subtitle { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-metrics { margin-inline: 0; }

  .studio-mockup {
    display: block;
    width: 460px;
    max-width: 100%;
    padding: 4.6rem 0;
  }

  .phone-shell { margin-inline: auto; }
  .float-cards-wrap { display: block; position: static; }
  .float-card { position: absolute; }
  .float-card-top { top: 0; right: 0; }
  .float-card-bottom { bottom: 0; left: 0; }

  .section {
    padding: 5.25rem 0;
  }

  .studio2d-grid,
  .orderapp-grid,
  .rdvpro-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.8rem;
    align-items: start;
  }

  .rdv-two-cols {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .studio-options-row {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }

  .pricing-card {
    padding: 2.2rem 1.8rem;
  }

  .ai-banner-card {
    padding: 2.25rem 2.2rem;
  }

  .ai-banner-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.2rem;
  }

  .feature-list-2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .addons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }

  .demo-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.4rem;
  }

  .contact-box {
    padding: 3.8rem 2.5rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-orb, .rec-dot, .text-gradient, .waveform span, .float-card-inner, .marquee-track, .featured-border {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Impression propre du Devis Pro PDF */
@media print {
  body * { visibility: hidden; }
  #quote-modal,
  #quote-modal * { visibility: visible; }
  #quote-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    max-height: none;
    background: #fff;
    color: #111;
  }
  .quote-sheet {
    background: #fff;
    color: #111;
    border: 0;
    box-shadow: none;
    max-height: none;
  }
  .quote-sheet-actions,
  .dialog-close { display: none !important; }
  .quote-doc-specs,
  .quote-table th,
  .quote-table td,
  .quote-doc-note { color: #222 !important; border-color: #ddd !important; }
}
