/* ============================================================
   PULSE — Design system
   Source de vérité visuelle : référence hero fournie
   (fond navy-violet profond, glow radial, typographie
   sans bold × serif élégant, pills, arc d'horizon)
   ============================================================ */

/* ---------- Polices ----------
   Officielles : Neue Montreal (Bold) + Migra.
   Les @font-face sont déclarés dans assets/fonts/fonts.css :
   déposer les .woff2 dans assets/fonts/ et ils prennent le
   dessus automatiquement. En attendant : Inter Tight + Instrument Serif. */

:root {
  /* Couleurs */
  --bg: #08070f;
  --bg-2: #0d0b1e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --violet: #6c5ce8;
  --violet-bright: #8b7cff;
  --violet-deep: #2a2159;
  --violet-glow: #5b54d9;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.55);
  color-scheme: dark;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(167, 153, 255, 0.45);
  --rubia-red: #ff2e4d;
  --rubia-glow: rgba(255, 46, 77, 0.14);

  /* Typo */
  --font-sans: "Neue Montreal", "PP Neue Montreal", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Migra", "Instrument Serif", Georgia, serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(72px, 10vw, 130px);
  --radius: 22px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }

.display {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.h3 { font-size: clamp(22px, 2.6vw, 30px); }

/* Mots en serif élégant au sein d'un titre (Migra) */
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: 1.06em;
  letter-spacing: -0.01em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--violet-bright);
}
.label::before { content: "✦"; font-size: 10px; }

.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 640px; }

.br-md { display: none; }
@media (min-width: 720px) { .br-md { display: inline; } }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .label { margin-bottom: 18px; }
.section-head .h2 { max-width: 820px; }
.section-head .lead { margin-top: 20px; }

section { padding: var(--section-pad) 0; position: relative; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(140deg, #453385, #241b47 60%);
  border-color: var(--border-strong);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(108, 92, 232, 0), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 92, 232, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(190, 178, 255, 0.65);
}

.btn-white {
  background: #fff;
  color: #0d0b1e;
  font-weight: 600;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 255, 255, 0.18); }

.btn-ghost {
  border-color: var(--border);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); }

.btn .arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.nav-logo img { width: 36px; height: auto; display: block; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15.5px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { padding: 12px 24px; font-size: 15px; }

.burger {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 102;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(8, 7, 15, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 40px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  animation: menuIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-menu a:nth-child(2) { animation-delay: 0.05s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.1s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.15s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.2s; }
.mobile-menu .btn { margin-top: 32px; animation-delay: 0.25s; font-size: 17px; border-bottom: none; }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 42% at 50% 78%, rgba(91, 84, 217, 0.4), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, rgba(62, 53, 160, 0.5), transparent 75%),
    linear-gradient(180deg, #08070f 0%, #0c0a1c 55%, #14114e 100%);
}

/* Arc d'horizon (grand cercle) */
.hero-arc {
  position: absolute;
  left: 50%;
  bottom: -68vw;
  transform: translateX(-50%);
  width: 160vw;
  height: 160vw;
  min-width: 1400px;
  min-height: 1400px;
  border-radius: 50%;
  border: 1px solid rgba(190, 180, 255, 0.22);
  background: radial-gradient(closest-side, rgba(38, 30, 105, 0.85), rgba(20, 16, 60, 0.4) 70%, transparent);
  pointer-events: none;
}
.hero-flare {
  position: absolute;
  left: 50%; bottom: 18%;
  transform: translateX(-50%);
  width: 560px; height: 300px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(190, 180, 255, 0.5), rgba(108, 92, 232, 0.18) 45%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright); box-shadow: 0 0 10px var(--violet-bright); }

.hero h1 { max-width: 1120px; margin: 0 auto; }

.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 2.2vw, 22px);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

/* Toggle (référence : Communication / Ads) */
.mode-toggle {
  margin: 36px auto 0;
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 9, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}
.mode-toggle button {
  position: relative;
  z-index: 2;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15.5px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 999px;
  transition: color 0.3s;
}
.mode-toggle button[aria-pressed="true"] { color: #14121f; }
.mode-pill {
  position: absolute;
  top: 6px; bottom: 6px;
  border-radius: 999px;
  background: #eceaf5;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.mode-desc {
  margin: 18px auto 0;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 480px;
  min-height: 75px;
  transition: opacity 0.25s;
}
.mode-desc.switching { opacity: 0; }

.hero-ctas {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Téléphones inclinés (référence : deux phones en V) */
.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: clamp(30px, 5vh, 60px);
  height: clamp(300px, 42vh, 480px);
  pointer-events: none;
}
.phone {
  --bezel: clamp(5px, 0.55vw, 8px);
  --phone-r: clamp(32px, 3.4vw, 48px);
  position: absolute;
  bottom: -60px;
  left: 50%;
  width: clamp(200px, 24vw, 280px);
  aspect-ratio: 9 / 19.4;
  border-radius: var(--phone-r);
  padding: var(--bezel);
  background: linear-gradient(145deg, #4d4c58, #1a1822 32%, #201d2b 70%, #383644);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 -10px 80px rgba(91, 84, 217, 0.35),
    0 45px 90px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.28);
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--phone-r) - var(--bezel));
  overflow: hidden;
  background: #000;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 18%, rgba(255, 255, 255, 0) 34%);
  pointer-events: none;
}
/* Dynamic Island + lentille */
.phone::after {
  content: "";
  position: absolute;
  top: calc(var(--bezel) + clamp(8px, 1vw, 13px));
  left: 50%;
  transform: translateX(-50%);
  width: 27%; height: clamp(13px, 1.5vw, 20px);
  border-radius: 999px;
  background: radial-gradient(circle at 76% 50%, #24384e 0 14%, #05050a 20%);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.12);
}
.phone-left { transform: translateX(-102%) rotate(-10deg); transform-origin: bottom right; }
.phone-right { transform: translateX(2%) rotate(8deg); transform-origin: bottom left; }

/* Badges flottants glass */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip svg { width: 36px; height: 36px; }
.chip-1 { right: 16%; top: 8%; animation-delay: 0.8s; }
.chip-2 { left: 15%; top: 30%; animation-delay: 2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.hero-scroll-dot {
  position: absolute;
  right: 4%;
  bottom: 5%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #cfc8e8;
  box-shadow: 0 0 18px rgba(207, 200, 232, 0.8);
  z-index: 3;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--violet-bright); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problème / Solution ---------- */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ps-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--bg-card);
}
.ps-card.lack { border-color: rgba(167, 153, 255, 0.3); background: linear-gradient(160deg, rgba(108, 92, 232, 0.1), rgba(255, 255, 255, 0.02)); }
.ps-card h3 { margin-bottom: 22px; font-size: 20px; letter-spacing: -0.01em; }
.ps-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ps-card li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 16.5px; }
.ps-card .ok::before { content: "✓"; color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.ps-card .ko::before { content: "✕"; color: var(--violet-bright); font-weight: 600; }
.ps-punch {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ps-punch .serif { color: var(--violet-bright); }

/* ---------- Écosystème (orbite) ---------- */
.eco { overflow: hidden; padding-top: clamp(40px, 5.5vw, 72px); }
.eco-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(167, 153, 255, 0.3);
  animation: spin 60s linear infinite;
}
.orbit-center {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: radial-gradient(circle, rgba(108, 92, 232, 0.35), rgba(13, 11, 30, 0.9) 75%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 60px rgba(108, 92, 232, 0.3);
  padding: 10px;
}
.orbit-center strong { font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.02em; }
.orbit-center small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.orbit-node {
  position: absolute;
  width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(13, 11, 30, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  line-height: 1.25;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, background 0.3s;
}
.orbit-node.active {
  border-color: var(--violet-bright);
  color: #fff;
  background: rgba(108, 92, 232, 0.22);
  box-shadow: 0 0 30px rgba(108, 92, 232, 0.45);
  transform: translate(-50%, -50%) scale(1.1);
}
@keyframes spin { to { transform: rotate(360deg); } }

.eco-detail h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; letter-spacing: -0.02em; min-height: 1.1em; }
.eco-detail p { color: var(--muted); font-size: 17px; max-width: 440px; min-height: 84px; }
.eco-steps { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.eco-steps button {
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.25s;
}
.eco-steps button.active { background: #fff; color: #0d0b1e; border-color: #fff; font-weight: 600; }

/* ---------- Offre partenariat ---------- */
.partner {
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(91, 84, 217, 0.18), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partner-quote {
  font-size: clamp(19px, 2.2vw, 24px);
  color: rgba(255, 255, 255, 0.85);
  border-left: 2px solid var(--violet-bright);
  padding-left: 24px;
  max-width: 720px;
  margin: 0 0 clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.5;
}
.flow { position: relative; max-width: 760px; }
.flow::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--violet-bright), rgba(167, 153, 255, 0.1));
}
.flow-step {
  position: relative;
  padding: 0 0 36px 84px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-num {
  position: absolute;
  left: 0; top: -4px;
  width: 55px; height: 55px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--violet-bright);
}
.flow-step h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 6px; letter-spacing: -0.015em; }
.flow-step p { color: var(--muted); font-size: 16px; max-width: 560px; }
.flow-step.final .flow-num { background: #fff; color: #0d0b1e; border-color: #fff; }
.flow-step.final h3 { font-size: clamp(21px, 2.3vw, 28px); }
.flow-step.final h3 .serif { color: var(--violet-bright); font-size: 1.35em; }
/* ---------- Diagramme du modèle performance ---------- */
.perf-diagram {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 760px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(108, 92, 232, 0.12), rgba(13, 11, 30, 0.6) 70%);
  padding: clamp(24px, 3vw, 36px);
}
.perf-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet-bright);
  margin-bottom: 18px;
}
.perf-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.perf-steps span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}
.perf-steps i { font-style: normal; color: var(--violet-bright); }
.perf-bar {
  position: relative;
  display: flex;
  height: 54px;
  border-radius: 14px;
  overflow: visible;
  font-size: 13.5px;
  font-weight: 600;
}
.perf-venue {
  flex: 0 0 63%;
  display: flex;
  align-items: center;
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  border: 1px solid var(--border);
  border-right: 1px dashed rgba(190, 178, 255, 0.7);
  border-radius: 14px 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
}
.perf-pulse {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  background: linear-gradient(90deg, rgba(108, 92, 232, 0.45), rgba(108, 92, 232, 0.75));
  border: 1px solid var(--border-strong);
  border-left: none;
  border-radius: 0 14px 14px 0;
  color: #fff;
}
.perf-badge {
  position: absolute;
  left: 63%;
  top: -13px;
  transform: translateX(-50%);
  background: #0d0b1e;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-bright);
  white-space: nowrap;
}
.perf-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
}

/* ---------- Flèches du carrousel La Rubia ---------- */
.rubia-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.strip-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, opacity 0.25s, transform 0.25s;
}
.strip-btn:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.strip-btn:disabled { opacity: 0.25; cursor: default; }

.partner-note {
  margin-top: 40px;
  padding: 20px 26px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font-size: 15px;
  max-width: 760px;
}
.partner-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- La Rubia ---------- */
.rubia {
  background:
    radial-gradient(65% 50% at 50% 12%, var(--rubia-glow), transparent 70%),
    #0a0508;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.rubia .label { color: var(--rubia-red); }
.rubia-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: clamp(40px, 6vw, 64px) 0;
}
.rubia-stat {
  border: 1px solid rgba(255, 46, 77, 0.22);
  border-radius: 18px;
  padding: 24px 18px;
  background: rgba(255, 46, 77, 0.05);
  text-align: center;
}
.rubia-stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.rubia-stat > span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.rubia-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rubia-strip::-webkit-scrollbar { display: none; }
.rubia-card {
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 260px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rubia-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rubia-card:hover img { transform: scale(1.05); }
.rubia-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.rubia-card.wide { width: clamp(300px, 38vw, 420px); aspect-ratio: 3 / 2; }
.rubia-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.rubia-foot p { color: var(--muted); font-size: 16px; max-width: 560px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 38px);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); background: var(--bg-card-hover); }
.service-card .num { font-size: 13px; color: var(--muted-2); font-weight: 600; letter-spacing: 0.1em; }
.service-card h3 { font-size: 22px; letter-spacing: -0.015em; }
.service-card .price {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.service-card .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.service-card p { color: var(--muted); font-size: 15.5px; flex-grow: 1; }
.service-card .fine {
  font-size: 13px;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  flex-grow: 0;
}

.pack-card {
  margin-top: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(108, 92, 232, 0.2), rgba(13, 11, 30, 0.9) 65%);
  box-shadow: 0 0 80px rgba(108, 92, 232, 0.15);
  padding: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.pack-card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: #fff;
  color: #0d0b1e;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.pack-card h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
.pack-card .pack-includes { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; }
.pack-card .pack-includes li { display: flex; gap: 10px; align-items: baseline; }
.pack-card .pack-includes li::before { content: "✓"; color: var(--violet-bright); font-weight: 700; }
.pack-price { text-align: right; }
.pack-price b { display: block; font-size: clamp(38px, 4vw, 54px); font-weight: 700; letter-spacing: -0.03em; }
.pack-price span { color: var(--muted); font-size: 15px; }
.pack-price .fine { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted-2); max-width: 200px; }

.ads-example {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(167, 153, 255, 0.35);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ads-example b { color: #fff; font-weight: 600; }
.ads-example .row { display: flex; justify-content: space-between; gap: 12px; }
.ads-example .row.total { border-top: 1px solid var(--border); padding-top: 6px; margin-top: 4px; color: #fff; }

/* ---------- Comparaison (l'offre partenariat domine légèrement) ---------- */
.compare-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 20px; align-items: start; }
.compare-card {
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare-card.featured {
  border-color: var(--border-strong);
  background: linear-gradient(150deg, rgba(108, 92, 232, 0.18), rgba(13, 11, 30, 0.6) 70%);
  box-shadow: 0 0 60px rgba(108, 92, 232, 0.12);
}
.compare-card .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; color: var(--violet-bright); }
.compare-card h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
.compare-card blockquote {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; }
.compare-card ul li { display: flex; gap: 10px; align-items: baseline; }
.compare-card ul li::before { content: "→"; color: var(--violet-bright); }
.compare-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Pour vous si ---------- */
.foryou-list { list-style: none; display: flex; flex-direction: column; max-width: 860px; }
.foryou-list li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.85);
}
.foryou-list li::before {
  content: "✦";
  color: var(--violet-bright);
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-bright); }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: #fff; color: #0d0b1e; border-color: #fff; }
.faq-item .faq-body { padding: 0 44px 24px 4px; color: var(--muted); font-size: 16px; max-width: 720px; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(91, 84, 217, 0.3), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-intro .h2 { margin-bottom: 20px; }
.contact-intro p { color: var(--muted); font-size: 17px; max-width: 440px; }
.contact-channels { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-channels a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
  transition: color 0.2s;
  width: fit-content;
}
.contact-channels a:hover { color: #fff; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.form .field { display: flex; flex-direction: column; gap: 7px; }
.form .field.full { grid-column: 1 / -1; }
.form label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.form input, .form textarea, .form select {
  background: rgba(8, 7, 15, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form select { cursor: pointer; }
.form select:invalid { color: var(--muted-2); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--violet-bright);
  box-shadow: 0 0 0 3px rgba(108, 92, 232, 0.25);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-reassure { grid-column: 1 / -1; font-size: 13px; color: var(--muted-2); }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--violet-bright); display: none; }
.form-status.show { display: block; }
.form-status.error { color: #ff7b8f; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 700; }
.footer-logo img { width: 28px; height: auto; display: block; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-meta { color: var(--muted-2); font-size: 13.5px; width: 100%; margin-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Bandeau preuve compacte (page services) ---------- */
.proof-band {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 20px 28px;
}
.proof-thumbs { display: flex; }
.proof-thumbs img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-left: -14px;
}
.proof-thumbs img:first-child { margin-left: 0; }
.proof-band p { flex: 1; min-width: 240px; color: var(--muted); font-size: 15.5px; }
.proof-band p b { color: #fff; font-weight: 700; }
.proof-band > a { color: var(--violet-bright); font-size: 15px; font-weight: 500; white-space: nowrap; }
.proof-band > a:hover { text-decoration: underline; }

/* ---------- Page Services & Tarifs ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 110px)) 0 clamp(48px, 7vw, 90px);
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(91, 84, 217, 0.28), transparent 70%),
    var(--bg);
  text-align: center;
}
.page-hero .lead { margin: 22px auto 0; }

.partner-panel {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(108, 92, 232, 0.25), transparent 70%),
    rgba(13, 11, 30, 0.85);
  box-shadow: 0 0 100px rgba(108, 92, 232, 0.15);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.partner-panel .h2 { margin: 14px 0 18px; font-size: clamp(30px, 3.6vw, 48px); }
.partner-panel .lead { font-size: 17px; }
.handles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.handles-grid span {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Animations reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 900px) {
  .eco-layout { grid-template-columns: 1fr; }
  .orbit { max-width: 420px; }
  .orbit-node { width: 74px; height: 74px; font-size: 10px; letter-spacing: 0.04em; }
  .eco-detail { text-align: center; }
  .eco-detail p { margin: 0 auto; }
  .eco-steps { justify-content: center; }
  .pack-card { grid-template-columns: 1fr; }
  .pack-price { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-panel { grid-template-columns: 1fr; }
  .rubia-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .ps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .rubia-stats { grid-template-columns: repeat(2, 1fr); }
  .rubia-stat:nth-child(5) { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .mode-desc { min-height: 100px; }
  .strip-btn { width: 40px; height: 40px; font-size: 16px; }
  .perf-badge { font-size: 10px; padding: 3px 9px; }
  .perf-venue { padding-left: 12px; }
  .perf-pulse { padding-right: 12px; }
  .hero-visual { height: clamp(260px, 38vh, 360px); }
  .phone { width: clamp(170px, 42vw, 210px); }
  .float-chip { width: 56px; height: 56px; border-radius: 16px; }
  .float-chip svg { width: 28px; height: 28px; }
  .chip-1 { right: 6%; }
  .chip-2 { left: 5%; }
  .flow::before { left: 21px; }
  .flow-step { padding-left: 64px; }
  .flow-num { width: 43px; height: 43px; }
  .mode-toggle button { padding: 11px 18px; font-size: 14px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .partner-cta .btn { width: 100%; }
}

/* ---------- Mode audit (captures QA, ?audit=1) ---------- */
.no-anim *, .no-anim *::before, .no-anim *::after {
  transition: none !important;
  animation: none !important;
}
.no-anim .reveal { opacity: 1 !important; transform: none !important; }
.no-anim .hero { min-height: 0; }
.no-anim .page-hero { min-height: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .orbit-ring { animation: none; }
  .float-chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
