/* ============================================================
   Webcro — styles.css
   Site portfolio avec impact visuel et animations
   ============================================================ */

:root {
  --bg: #faf9f6;
  --bg-alt: #f1eee7;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --text: #0f1216;
  --text-2: #2d3239;
  --text-muted: #5d646d;
  --text-light: #8c929a;
  --border: #e8e4dc;
  --border-strong: #d0ccc2;
  --accent: #ff5b3a;
  --accent-2: #ff8260;
  --accent-dark: #d63d1f;
  --accent-soft: #fff1ec;
  --accent-soft-2: #ffe4dc;
  --dark: #0a0d11;
  --dark-2: #14181d;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 18, 22, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 18, 22, 0.08), 0 2px 4px rgba(15, 18, 22, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(15, 18, 22, 0.18), 0 4px 8px rgba(15, 18, 22, 0.04);
  --shadow-accent: 0 24px 60px -20px rgba(255, 91, 58, 0.4);
  --shadow-accent-lg: 0 32px 80px -16px rgba(255, 91, 58, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.5, 1.65, 0.5, 1);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- Common ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 5px 12px;
  background: var(--accent-soft);
  border-radius: 100px;
}
.eyebrow-dark {
  background: rgba(255, 91, 58, 0.18);
}
.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-title .muted {
  color: var(--text-muted);
  font-weight: 600;
}
.section-title-dark { color: var(--bg); }
.section-title-dark .muted { color: rgba(255, 255, 255, 0.55); }
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(255, 91, 58, 0.5);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, padding 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 249, 246, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo {
  display: block;
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links > a:not(.nav-cta) {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-links > a:not(.nav-cta):hover {
  color: var(--text);
  background: rgba(15, 18, 22, 0.06);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--bg) !important;
  padding: 10px 18px 10px 22px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  margin-left: 12px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(255, 91, 58, 0.5);
}
.nav-cta svg { transition: transform 0.3s var(--ease); }
.nav-cta:hover svg { transform: translateX(3px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 18, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 18, 22, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blob 16s ease-in-out infinite;
}
.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: var(--accent);
  top: -10%;
  left: -10%;
  opacity: 0.18;
}
.hero-blob-2 {
  width: 380px;
  height: 380px;
  background: #ffaa70;
  bottom: -15%;
  right: -8%;
  opacity: 0.22;
  animation-delay: -8s;
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #16a34a;
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 980px;
  margin: 0 auto 28px;
}
.hero-accent {
  position: relative;
  color: var(--accent);
  display: inline-block;
}
.hero-underline {
  position: absolute;
  bottom: -8px;
  left: -4%;
  width: 108%;
  height: 14px;
  color: var(--accent);
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 1.4s var(--ease) forwards;
  animation-delay: 0.7s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.hero-sub em { color: var(--text); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.stat strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.stat span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.scroll-hint {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  animation: floatHint 2.4s ease-in-out infinite;
}
@keyframes floatHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-dot {
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--text);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--text), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--text), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}
.marquee-group span {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.marquee-group span:nth-child(2n) {
  color: var(--accent);
  font-size: 0.8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PRICING / SERVICES
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pcard:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.pcard-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 30%);
  box-shadow: var(--shadow-accent);
  transform: translateY(-12px) scale(1.02);
  z-index: 2;
}
.pcard-popular:hover {
  transform: translateY(-18px) scale(1.03);
  box-shadow: var(--shadow-accent-lg);
}
.pcard-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: white;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -6px rgba(255, 91, 58, 0.5);
}
.pcard-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.pcard-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-icon-bright {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px -8px rgba(255, 91, 58, 0.6);
}
.pcard-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.pcard-head p {
  font-size: 13.5px;
  color: var(--text-muted);
}
.pcard-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pcard-price .amount {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pcard-price .amount strong {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  display: inline-block;
  margin: 0 2px;
}
.pcard-price .cycle {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}
.pcard-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  flex: 1;
}
.pcard-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  margin-top: 1px;
}
.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-bottom-left-radius: 1px;
}
.pcard-target {
  font-size: 12.5px;
  color: var(--text-light);
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dashed var(--border);
  font-style: italic;
  text-align: center;
}
.pricing-note {
  margin-top: 56px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 50%;
  transform: translateX(-50%);
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-note > span:first-child {
  width: 26px;
  height: 26px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

/* ============================================================
   PORTFOLIO / PROJECTS
   ============================================================ */
.projects {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.project-reverse .project-visual { order: 2; }

.project-visual {
  perspective: 1200px;
}
.browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateX(2deg) rotateY(-3deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.project:hover .browser {
  transform: rotateX(0deg) rotateY(0deg) scale(1.02);
  box-shadow: 0 40px 80px -20px rgba(15, 18, 22, 0.25);
}
.project-reverse .browser {
  transform: rotateX(2deg) rotateY(3deg);
}
.browser-bar {
  background: var(--bg-alt);
  height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.bdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.bdot-r { background: #ff5f57; }
.bdot-y { background: #febc2e; }
.bdot-g { background: #28c840; }
.browser-url {
  margin-left: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
  max-width: 280px;
  font-family: ui-monospace, monospace;
}
.browser-screen {
  padding: 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mock band site */
.mock-band {
  background: linear-gradient(135deg, #1a1d22 0%, #2a2f36 100%);
}
.mb-nav { display: flex; justify-content: space-between; align-items: center; }
.mb-logo { width: 60px; height: 14px; background: rgba(255, 255, 255, 0.9); border-radius: 3px; }
.mb-links { display: flex; gap: 10px; }
.mb-links span { width: 32px; height: 6px; background: rgba(255, 255, 255, 0.4); border-radius: 2px; }
.mb-hero {
  flex: 1;
  background: rgba(255, 91, 58, 0.15);
  border: 1px solid rgba(255, 91, 58, 0.3);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.mb-title { height: 14px; background: rgba(255, 255, 255, 0.9); border-radius: 3px; width: 80%; }
.mb-title-2 { width: 60%; background: var(--accent); }
.mb-btn { height: 14px; background: var(--accent); border-radius: 100px; width: 90px; margin-top: 8px; }
.mb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mb-gallery div { aspect-ratio: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; }

/* Mock demo site */
.mock-demo {
  background: var(--bg);
}
.md-nav { display: flex; gap: 8px; }
.md-nav div:first-child { width: 70px; height: 12px; background: var(--text); border-radius: 3px; }
.md-nav div:nth-child(2), .md-nav div:nth-child(3) { width: 40px; height: 8px; background: var(--border-strong); border-radius: 2px; margin: 2px 0; }
.md-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.md-headline { height: 16px; background: var(--text); border-radius: 3px; width: 75%; }
.md-headline-2 { width: 55%; background: var(--accent); }
.md-cta { height: 16px; background: var(--text); border-radius: 100px; width: 100px; margin-top: 10px; }
.md-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.md-cards div { aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; }

.project-info h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.project-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.project-info p {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-tech span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: ui-monospace, monospace;
}

.projects-soon {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.projects-soon p {
  font-size: 1.3rem;
  color: var(--text-2);
  font-weight: 500;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05rem;
  padding: 8px 0;
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  width: 0;
  transition: width 0.3s var(--ease);
}
.link-arrow:hover::after { width: calc(100% - 24px); }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--border-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all 0.3s var(--ease);
  z-index: 1;
}
.process li:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pstep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  transition: background 0.3s;
}
.process li:hover .pstep {
  background: var(--accent);
}
.process h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text-col .section-title { margin-bottom: 40px; }
.about-text {
  color: var(--text-muted);
  font-size: 17.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-text strong { color: var(--text); font-weight: 700; }
.about-text em { color: var(--accent); }
.about-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apoint {
  background: var(--surface);
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  gap: 18px;
  transition: all 0.3s var(--ease);
}
.apoint:hover {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.apoint-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apoint h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.apoint p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--dark);
  color: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.18;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  animation: blob 18s ease-in-out infinite reverse;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.65;
  margin: 24px 0 36px;
}
.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.contact-direct a:hover {
  background: rgba(255, 91, 58, 0.12);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(255, 91, 58, 0.3);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
  width: 100%;
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Animations liées au scroll (modern browsers) : rewind quand on remonte */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation-name: scroll-reveal;
    animation-fill-mode: both;
    animation-timing-function: linear;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 {
    transition-delay: 0 !important;
  }
  @keyframes scroll-reveal {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-stagger].is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
[data-stagger].is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
[data-stagger].is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
[data-stagger].is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
[data-stagger].is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
[data-stagger].is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 18px; }
  .pcard-popular { transform: none; }
  .pcard-popular:hover { transform: translateY(-6px) scale(1.01); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .project { grid-template-columns: 1fr; gap: 40px; }
  .project-reverse .project-visual { order: 0; }
  .browser { transform: none !important; }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  .nav-inner { height: 72px; }
  .nav-logo img { height: 32px; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.nav-cta) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-cta { margin: 12px 0 0; justify-content: center; padding: 14px 18px; }
  .nav-toggle { display: flex; }

  .hero { padding: 60px 0 80px; }
  .hero-stats { padding: 24px; gap: 24px; }
  .hero-stats .stat strong { font-size: 1.5rem; }
  .stat-sep { display: none; }

  .marquee-group span { font-size: 1.05rem; }
  .marquee-group { gap: 24px; padding-right: 24px; }

  .process { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }

  .section-head { margin-bottom: 48px; }
  .pricing-note { padding: 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Exception : la bande défilante reste animée (texte purement décoratif, mouvement linéaire doux) */
  .marquee-track {
    animation-duration: 22s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ============================================================
   PAGE HEADERS (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  text-align: center;
}
.page-hero-compact { padding: 80px 0 50px; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dots-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15, 18, 22, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 30%, transparent 75%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.page-title em { color: var(--accent); }
.page-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.page-sub strong { color: var(--text); font-weight: 600; }

/* ============================================================
   SECTION HEAD VARIANTS
   ============================================================ */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head-row > div { max-width: 560px; }
.section-head-row .section-title { margin-bottom: 0; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.section-head-center .section-title { margin-left: auto; margin-right: auto; }
.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 24px auto 0;
  line-height: 1.6;
}

/* ============================================================
   PRICING TWO-CARDS LAYOUT
   ============================================================ */
.pricing-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
}
.pcard-detail { padding: 40px 36px; }
.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 91, 58, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.inline-link:hover { text-decoration-color: var(--accent); }

/* ============================================================
   TEASER PROJECTS (accueil)
   ============================================================ */
.teaser-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.tproject {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: inherit;
  transition: transform 0.3s var(--ease);
}
.tproject:hover { transform: translateY(-4px); }
.tproject-visual { perspective: 1200px; }
.tproject .browser {
  transform: rotateX(2deg) rotateY(-2deg);
  transition: transform 0.5s var(--ease);
}
.tproject:hover .browser {
  transform: rotateX(0) rotateY(0) scale(1.02);
}
.tproject-info { padding: 0 4px; }
.tproject-info h3 {
  font-size: 1.4rem;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

/* ============================================================
   PRICING COMPARISON TABLE
   ============================================================ */
.ptable-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.ptable-corner { width: 38%; background: transparent; border: none; }
.ptable-plan-cell {
  padding: 0 10px;
  vertical-align: bottom;
}
.ptable-plan {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
  transition: all 0.3s var(--ease);
}
.ptable-plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ptable-plan-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%);
  box-shadow: 0 10px 30px -10px rgba(255, 91, 58, 0.4);
}
.ptable-plan-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.ptable-plan-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ptable-plan-icon-bright { background: var(--accent); color: white; }
.ptable-plan-head h3 {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.ptable-plan-badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-muted);
  white-space: nowrap;
}
.ptable-plan-badge-bright {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.ptable-plan-price { margin: 14px 0 16px; }
.ptp-amount { font-size: 13px; color: var(--text-muted); }
.ptp-amount strong {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  display: inline-block;
  margin-left: 4px;
}
.ptable-plan .btn { padding: 10px 16px; font-size: 13.5px; }

.ptable tbody tr {
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.ptable tbody tr:hover { background: var(--bg-alt); }
.ptable th, .ptable td {
  padding: 13px 18px;
  text-align: center;
  vertical-align: middle;
  font-size: 14.5px;
}
.ptable tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-2);
  width: 38%;
}
.ptable tbody td { color: var(--text-2); }
.ptable tbody td strong { color: var(--text); font-weight: 700; }

.ptable-section { background: var(--bg-alt); }
.ptable-section th {
  background: var(--bg-alt) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted) !important;
  padding: 12px 18px !important;
  text-align: left !important;
}

.ptable td.yes::before,
.ptable td.no::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.ptable td.yes::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.ptable td.no::before {
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c929a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* ============================================================
   SUBSCRIPTION CARDS
   ============================================================ */
.subs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.sub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.sub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.sub-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 30%);
  box-shadow: var(--shadow-accent);
  z-index: 1;
}
.sub-popular:hover { box-shadow: var(--shadow-accent-lg); }
.sub-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(255, 91, 58, 0.5);
}
.sub-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.sub-head p {
  font-size: 13.5px;
  color: var(--text-muted);
}
.sub-price {
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sub-price strong {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.sub-price span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.sub-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
  flex: 1;
}
.sub-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}
.sub-features li strong { color: var(--text); font-weight: 600; }
.sub-note {
  font-size: 12.5px;
  color: var(--text-light);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  text-align: center;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent-soft);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
}
.faq-icon::before {
  top: 50%; left: 7px; right: 7px; height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 7px; bottom: 7px; width: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease);
}
.faq details[open] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}
.faq-body {
  padding: 0 26px 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-body p { margin-bottom: 14px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--text); font-weight: 600; }

/* ============================================================
   CTA SECTION (used on multiple pages)
   ============================================================ */
.section-cta {
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(140px);
  opacity: 0.18;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blob 18s ease-in-out infinite;
}
.cta-inner { position: relative; z-index: 2; }
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--bg);
  line-height: 1.1;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost-dark {
  background: rgba(255,255,255,0.04);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost-dark:hover {
  border-color: var(--accent);
  background: rgba(255,91,58,0.12);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   METHOD STEPS (detailed)
   ============================================================ */
.method-steps {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mstep {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
  transition: all 0.3s var(--ease);
}
.mstep:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.mstep-num {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.mstep-body h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.mstep-duration {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mstep-body p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
  font-size: 15.5px;
}
.mstep-body strong { color: var(--text); font-weight: 600; }
.mstep-bonus {
  background: var(--bg-alt);
  border-style: dashed;
}
.mstep-bonus .mstep-num { font-style: normal; font-size: 3.5rem; }

/* ============================================================
   TARGETS (a-propos)
   ============================================================ */
.targets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.target-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
}
.target-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.target-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.target-card:hover .target-icon {
  background: var(--accent);
  color: white;
}
.target-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.target-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CONTACT EXTRA
   ============================================================ */
.contact-direct-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.contact-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.contact-extra-item {
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
.contact-extra-item strong {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-extra-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

/* ============================================================
   PROJECT META + PLACEHOLDER
   ============================================================ */
.project-meta {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.project-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project-meta strong {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}
.project-meta span {
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
}
.project-placeholder .browser-empty {
  background: var(--bg-alt);
}
.empty-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  border: 2px dashed var(--border-strong);
  border-radius: 8px;
  margin: 16px;
  background: var(--surface);
  color: var(--text-light);
}
.empty-plus {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
}
.empty-screen p {
  font-size: 14px;
  font-style: italic;
}

/* ============================================================
   NAV ACTIVE STATE
   ============================================================ */
.nav-links > a.active:not(.nav-cta) {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   RESPONSIVE for new components
   ============================================================ */
@media (max-width: 1024px) {
  .pricing-2 { grid-template-columns: 1fr; max-width: 480px; }
  .teaser-projects { grid-template-columns: 1fr; }
  .subs { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 32px; }
  .targets { grid-template-columns: repeat(2, 1fr); }
  .mstep { grid-template-columns: 1fr; padding: 28px 24px; gap: 12px; }
  .mstep-num { font-size: 2.8rem; }
  .contact-extra { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .ptable-wrap { padding: 14px; }
  .ptable-plan { padding: 12px; }
  .ptable-plan-head h3 { font-size: 0.9rem; }
  .ptp-amount strong { font-size: 1.4rem; }
  .targets { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 40px; }
  .faq summary { padding: 18px 20px; font-size: 14.5px; }
  .faq-body { padding: 0 20px 20px; font-size: 14px; }
  .sub-card { padding: 28px 22px; }
  .sub-price strong { font-size: 2.4rem; }
  .section-cta { padding: 70px 0; }
}

/* ============================================================
   MARQUEE — ensure visibility (overrides reduced-motion for this)
   ============================================================ */
.marquee-track {
  will-change: transform;
  animation: marquee 22s linear infinite;
}

/* ============================================================
   OFFER BUILDER (page offres)
   ============================================================ */
.builder { padding: 80px 0 100px; }
.builder-step {
  margin-bottom: 56px;
}
.builder-step:last-of-type { margin-bottom: 32px; }
.builder-step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.builder-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}
.builder-step h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.builder-step-sub {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 32px;
  max-width: 620px;
}

/* Pack selector (3 radio cards) */
.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pack {
  position: relative;
  cursor: pointer;
  display: block;
}
.pack input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pack-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.pack:hover .pack-card {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pack input:checked + .pack-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 50%);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}
.pack input:focus-visible + .pack-card {
  outline: 3px solid var(--accent-soft-2);
  outline-offset: 2px;
}
.pack-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.pack input:checked + .pack-card .pack-check {
  background: var(--accent);
  border-color: var(--accent);
}
.pack-check svg {
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
}
.pack input:checked + .pack-card .pack-check svg { opacity: 1; }

.pack-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pack input:checked + .pack-card .pack-icon {
  background: var(--accent);
  color: white;
}
.pack-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.pack-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.pack-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pack-price strong {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin: 0 4px;
}
.pack-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.4;
}
.pack-features .check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pack-features .check::after {
  left: 4px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-width: 1.5px;
}

/* Options à cocher */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.option {
  position: relative;
  cursor: pointer;
}
.option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s var(--ease);
}
.option:hover .option-card {
  border-color: var(--border-strong);
}
.option input:checked + .option-card {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.option input:focus-visible + .option-card {
  outline: 3px solid var(--accent-soft-2);
  outline-offset: 2px;
}
.option-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.option input:checked + .option-card .option-box {
  background: var(--accent);
  border-color: var(--accent);
}
.option-box svg {
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
}
.option input:checked + .option-card .option-box svg { opacity: 1; }
.option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.option-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.option-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}
.option-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  white-space: nowrap;
}

/* Hosting choice */
.hosting-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hosting-option {
  position: relative;
  cursor: pointer;
}
.hosting-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hosting-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s var(--ease);
}
.hosting-option:hover .hosting-card { border-color: var(--border-strong); }
.hosting-option input:checked + .hosting-card {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.hosting-radio {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  margin-top: 2px;
  position: relative;
  transition: all 0.25s var(--ease);
}
.hosting-option input:checked + .hosting-card .hosting-radio {
  border-color: var(--accent);
}
.hosting-option input:checked + .hosting-card .hosting-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.hosting-body strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 4px;
  color: var(--text);
}
.hosting-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.training-box {
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s, margin-top 0.3s;
}
.training-box.is-visible {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

/* Summary card (sticky-ish at bottom of section) */
.summary {
  margin-top: 48px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: sticky;
  bottom: 24px;
  z-index: 50;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 91, 58, 0.15), transparent 60%);
  pointer-events: none;
}
.summary-info {
  position: relative;
  z-index: 1;
}
.summary-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 6px;
}
.summary-pack {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.summary-pack strong {
  color: var(--bg);
  font-weight: 600;
}
.summary-options {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.summary-total {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.summary-price {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.summary-price strong {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 4px 0 0;
  font-feature-settings: "tnum" 1;
  transition: color 0.3s;
}
.summary-price.is-changing strong { color: var(--accent); }
.summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.summary-cta:hover {
  background: white;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(255, 255, 255, 0.3);
}
.summary-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
}

/* ============================================================
   CTA NEW VARIANT
   ============================================================ */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}
.cta-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

/* ============================================================
   RESPONSIVE for offer builder
   ============================================================ */
@media (max-width: 1024px) {
  .packs { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .options-grid { grid-template-columns: 1fr; }
  .hosting-options { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; gap: 18px; position: relative; bottom: auto; }
  .summary-total { align-items: flex-start; }
}

@media (max-width: 640px) {
  .builder { padding: 50px 0 60px; }
  .builder-step { margin-bottom: 40px; }
  .summary { padding: 22px; }
  .summary-price strong { font-size: 2.4rem; }
  .pack-card { padding: 22px; }
}
