/* ==========================================================================
   BOLDONE V5 — CREATIVE STUDIO EDITION
   Audacieux. Moderne. Distinctif.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTS
   -------------------------------------------------------------------------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Slate + Terracotta */
  --color-black: #1a1f2e;
  --color-white: #fafafa;
  --color-cream: #f7f4f0;
  --color-accent: #C67B5C;
  --color-accent-bright: #d98b6c;
  --color-accent-dark: #a65f42;
  --color-gray: #5a6070;
  --color-gray-light: #dde0e6;
  --color-dark: #141820;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #C67B5C 0%, #d98b6c 50%, #e0a080 100%);
  --gradient-dark: linear-gradient(180deg, #1a1f2e 0%, #252b3d 100%);
  --gradient-blob: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);

  /* Typography - Bolder */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Font sizes - More dramatic */
  --fs-mega: clamp(4rem, 15vw, 12rem);
  --fs-hero: clamp(3.5rem, 10vw, 8rem);
  --fs-h1: clamp(2.5rem, 6vw, 5rem);
  --fs-h2: clamp(2rem, 5vw, 4rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h4: clamp(1.25rem, 2vw, 1.75rem);
  --fs-body: 1.125rem;
  --fs-small: 0.875rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Layout */
  --container-max: 1600px;
  --header-height: 80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.3s;
  --duration-medium: 0.6s;
  --duration-slow: 1s;

  /* Creative elements */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-gray);
  background: var(--color-white);
  overflow-x: hidden;
}

/* Custom cursor: hide default cursor only when JS custom cursor is active */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

/* Grain texture overlay - disabled for performance, uncomment to enable */
/*
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
*/

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY UTILITIES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   PAGE LOADER — CREATIVE STUDIO EDITION
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader.loaded {
  animation: loaderFadeOut 0.8s var(--ease-out-expo) forwards;
}

@keyframes loaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Animated background blobs */
.loader__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: loaderBlobFloat 4s ease-in-out infinite;
}

.loader__blob--1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.loader__blob--2 {
  width: 200px;
  height: 200px;
  background: var(--color-accent-dark);
  bottom: 30%;
  right: 25%;
  animation-delay: -1.5s;
}

.loader__blob--3 {
  width: 150px;
  height: 150px;
  background: var(--color-accent-bright);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -3s;
}

@keyframes loaderBlobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.loader__blob--3 {
  animation-name: loaderBlobCenter;
}

@keyframes loaderBlobCenter {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* Main content container */
.loader__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* Icon wrapper for ring + letter */
.loader__icon {
  position: relative;
  width: clamp(120px, 30vw, 180px);
  height: clamp(120px, 30vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The B Letter - Brush stroke reveal */
.loader__letter {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: letterReveal 1s var(--ease-out-expo) 0.3s forwards;
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Organic progress ring */
.loader__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
}

.loader__ring-progress {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: ringFill 1.5s var(--ease-out-quart) 0.2s forwards;
}

@keyframes ringFill {
  to {
    stroke-dashoffset: 0;
  }
}

/* Studio signature text */
.loader__signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: signatureReveal 0.6s var(--ease-out-expo) 0.4s forwards;
  max-width: 90vw;
}

.loader__signature-line {
  width: clamp(15px, 5vw, 30px);
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.loader__signature-text {
  font-family: var(--font-display);
  font-size: clamp(0.6rem, 2.5vw, var(--fs-small));
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: clamp(0.08em, 1vw, 0.2em);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

@keyframes signatureReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade out animations when loaded */
.loader.loaded .loader__letter {
  animation: letterFadeOut 0.5s var(--ease-out-expo) forwards;
}

.loader.loaded .loader__ring-progress {
  animation: ringFadeOut 0.5s var(--ease-out-expo) forwards;
}

.loader.loaded .loader__signature {
  animation: signatureFadeOut 0.4s var(--ease-out-expo) forwards;
}

.loader.loaded .loader__blob {
  animation: blobFadeOut 0.6s var(--ease-out-expo) forwards;
}

@keyframes letterFadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px) scale(1.1);
  }
}

@keyframes ringFadeOut {
  to {
    stroke-dashoffset: 565;
    opacity: 0;
  }
}

@keyframes signatureFadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes blobFadeOut {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Skip link (accessibilité) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 100000;
  font-size: var(--fs-small);
  transition: top 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   CUSTOM CURSOR
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s var(--ease-out-expo),
              width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              background 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease-out-expo);
}

.cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(198, 123, 92, 0.1);
  border-color: var(--color-accent-bright);
}

.cursor.hover::after {
  transform: translate(-50%, -50%) scale(2);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  color: var(--color-black);
  letter-spacing: -0.03em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin-bottom: 1.5em; }
p:last-child { margin-bottom: 0; }

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

strong {
  font-weight: 600;
  color: var(--color-black);
}

/* Text styles */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-outline {
  -webkit-text-stroke: 2px var(--color-black);
  -webkit-text-fill-color: transparent;
}

.text-mega {
  font-size: var(--fs-mega);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--tight {
  max-width: 900px;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark strong {
  color: var(--color-white);
}

.section--cream {
  background: var(--color-cream);
}

/* --------------------------------------------------------------------------
   HEADER - FLOATING ISLAND
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  pointer-events: none;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  padding: 8px 24px;
}

.header__island {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 46, 0.92) 0%,
    rgba(26, 31, 46, 0.88) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  pointer-events: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .header__island {
  height: 56px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.16),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo */
.header__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo span {
  background: linear-gradient(135deg, var(--color-accent), #e09a7d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__link-text {
  position: relative;
  z-index: 1;
}

.header__link-dot {
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.header__link:hover .header__link-dot {
  opacity: 1;
  transform: scale(1);
}

.header__link.active {
  color: var(--color-white);
}

.header__link.active .header__link-dot {
  opacity: 1;
  transform: scale(1);
}

/* CTA Group */
.header__cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__cta--secondary {
  color: var(--color-accent);
  background: rgba(198, 123, 92, 0.12);
  border: 1px solid rgba(198, 123, 92, 0.2);
}

.header__cta--secondary:hover {
  background: rgba(198, 123, 92, 0.2);
  border-color: rgba(198, 123, 92, 0.3);
  transform: translateY(-1px);
}

.header__cta--secondary svg {
  opacity: 0.8;
}

.header__cta--secondary svg line {
  stroke-dasharray: 8;
  stroke-dashoffset: 0;
}

.header__cta--secondary:hover svg line {
  animation: lineRedraw 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__cta--secondary:hover svg line:nth-of-type(2) {
  animation-delay: 0.08s;
}

.header__cta--secondary:hover svg polyline:first-of-type {
  animation: foldFlash 0.45s ease;
}

@keyframes lineRedraw {
  0% { stroke-dashoffset: 8; }
  100% { stroke-dashoffset: 0; }
}

@keyframes foldFlash {
  0%, 100% { opacity: 1; }
  40% { opacity: 0.3; }
}

.header__cta--primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), #d4896b);
  border: none;
  box-shadow: 0 2px 8px rgba(198, 123, 92, 0.3);
}

.header__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(198, 123, 92, 0.4);
}

.header__cta--primary svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__cta--primary:hover svg {
  animation: arrowSpring 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes arrowSpring {
  0% { transform: translateX(0); }
  60% { transform: translateX(5px); }
  100% { transform: translateX(3px); }
}

.header__cta:active {
  scale: 0.96;
  filter: brightness(0.85);
  transition-duration: 0.08s;
}

/* Mobile Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.header__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header__toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 31, 46, 0.98) 0%, rgba(26, 31, 46, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.header__mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 8px;
  padding: 100px 24px 40px;
}

.header__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.header__mobile-menu.open .header__mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.header__mobile-menu.open .header__mobile-link:nth-child(1) { transition-delay: 0.1s; }
.header__mobile-menu.open .header__mobile-link:nth-child(2) { transition-delay: 0.15s; }
.header__mobile-menu.open .header__mobile-link:nth-child(3) { transition-delay: 0.2s; }
.header__mobile-menu.open .header__mobile-link:nth-child(4) { transition-delay: 0.25s; }

.header__mobile-link:hover,
.header__mobile-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.header__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
  max-width: 280px;
  transform: translateY(20px);
  opacity: 0;
}

.header__mobile-menu.open .header__mobile-cta {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.header__cta--full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

/* PRIMARY — Main conversion action (coral) */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(198, 123, 92, 0.35);
}

/* SECONDARY — Alternative action (outline, adapts to context) */
.btn--secondary {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn--secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Secondary on dark backgrounds */
.section--dark .btn--secondary,
.hero .btn--secondary,
.cta .btn--secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

.section--dark .btn--secondary:hover,
.hero .btn--secondary:hover,
.cta .btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ACCENT — Feature highlight (diagnostic, special offers) */
.btn--accent {
  background: rgba(198, 123, 92, 0.12);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 123, 92, 0.25);
}

/* WHITE — For dark sections (primary alternative) */
.btn--white {
  background: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-3px);
}

/* GHOST — Subtle, link-like */
.btn--ghost {
  background: transparent;
  color: var(--color-gray);
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.btn--ghost:hover {
  color: var(--color-accent);
}

.btn--ghost .btn__arrow {
  opacity: 0;
  transform: translateX(-5px);
}

.btn--ghost:hover .btn__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* LEGACY support — map old classes */
.btn--outline {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn--outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--diagnostic {
  background: rgba(198, 123, 92, 0.12);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--diagnostic:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-small);
}

.btn:active {
  scale: 0.96;
  filter: brightness(0.9);
  transition-duration: 0.08s;
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  animation: arrowBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes arrowBounce {
  0% { transform: translateX(0); }
  50% { transform: translateX(8px); }
  100% { transform: translateX(5px); }
}

.btn:active .btn__arrow {
  transform: translateX(10px);
  transition-duration: 0.15s;
}

/* Magnetic button wrapper */
.magnetic {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   HERO — BOLD & CREATIVE
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Animated gradient blob */
.hero__blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobMove 20s ease-in-out infinite;
}

.hero__blob--1 {
  top: -20%;
  right: -20%;
  background: var(--color-accent);
}

.hero__blob--2 {
  bottom: -30%;
  left: -10%;
  background: var(--color-accent-dark);
  animation-delay: -10s;
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(5%, 5%) scale(1.1); }
  50% { transform: translate(-5%, 10%) scale(0.95); }
  75% { transform: translate(10%, -5%) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 0.95;
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--color-accent);
}

.hero__title .outline {
  -webkit-text-stroke: 2px var(--color-white);
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--fs-h4);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Scroll hint — Minimal chevron */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-hint svg {
  width: 28px;
  height: 14px;
  color: rgba(255, 255, 255, 0.35);
  animation: hintFloat 3s ease-in-out infinite;
}

@keyframes hintFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.55;
  }
}

/* Hide on scroll */
.hero__scroll-hint {
  transition: opacity 0.5s ease;
}

.hero__scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: var(--space-md) 0;
  background: var(--color-accent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-right: var(--space-lg);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
}

.marquee__dot {
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-radius: 50%;
}

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

/* --------------------------------------------------------------------------
   SECTION HEADERS — CREATIVE
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__title .line {
  display: block;
  overflow: hidden;
}

.section-header__subtitle {
  font-size: var(--fs-body);
  color: var(--color-gray);
  max-width: 50ch;
}

.section-header--center .section-header__subtitle {
  margin: 0 auto;
}

.section--dark .section-header__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   GRID — ASYMMETRIC
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

.grid--asymmetric {
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.grid--asymmetric-alt {
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* --------------------------------------------------------------------------
   CARDS — CREATIVE STYLE
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.card--outline {
  background: transparent;
  border: 1px solid var(--color-gray-light);
}

.card--outline:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
}

.card--dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent);
}

.card__number {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0.3;
}

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(198, 123, 92, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.card__title {
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   PALIERS — CREATIVE LAYOUT
   -------------------------------------------------------------------------- */
.paliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  counter-reset: palier;
}

.palier {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--duration-medium) var(--ease-out-expo);
  counter-increment: palier;
  overflow: hidden;
}

.palier::before {
  content: "0" counter(palier);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.08;
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  line-height: 1;
  transition: all var(--duration-medium) var(--ease-out-expo);
}

.palier:hover {
  border-color: var(--color-accent);
  transform: translateY(-10px);
  background: rgba(198, 123, 92, 0.05);
}

.palier:hover::before {
  opacity: 0.15;
  transform: scale(1.1);
}

.palier__tag {
  display: inline-block;
  padding: 0.5em 1em;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: rgba(198, 123, 92, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.palier__title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.palier__desc {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.palier__list {
  list-style: none;
}

.palier__list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

.palier__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Palier list on light backgrounds */
.palier__list--light li {
  color: var(--color-gray);
}

.palier__list--light li strong {
  color: var(--color-black);
}

/* --------------------------------------------------------------------------
   FEATURES — BOLD ICONS
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature {
  text-align: center;
  padding: var(--space-lg);
}

.feature__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 3rem;
  background: var(--gradient-accent);
  border-radius: var(--radius-xl);
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature__title {
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS — CREATIVE
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.testimonial:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.testimonial__quote {
  font-size: var(--fs-body);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: var(--space-md);
}

.testimonial__quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5em;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-weight: 600;
  color: var(--color-white);
}

.testimonial__name {
  font-weight: 600;
  color: var(--color-white);
}

.testimonial__role {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   PROCESS — CREATIVE TIMELINE
   -------------------------------------------------------------------------- */
.process {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: var(--space-lg);
}

.process::before {
  content: '';
  position: absolute;
  top: calc(var(--space-lg) + 40px);
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright), var(--color-accent));
}

.process__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 var(--space-sm);
}

.process__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background: var(--color-black);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.process__step:hover .process__number {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.process__title {
  margin-bottom: var(--space-xs);
}

.process__desc {
  font-size: var(--fs-small);
  color: var(--color-gray);
}

/* --------------------------------------------------------------------------
   CTA — BOLD
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta--accent {
  background: var(--gradient-accent);
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.footer__logo span {
  color: var(--color-accent);
}

.footer__desc {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer__title {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   PAGE HEADER
   -------------------------------------------------------------------------- */
.page-header {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.page-header__blob {
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  background: var(--color-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-header__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
}

.page-header__eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.page-header__title {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header__subtitle {
  font-size: var(--fs-h4);
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.form {
  max-width: 600px;
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-black);
  background: var(--color-white);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(198, 123, 92, 0.1);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__hint {
  font-size: var(--fs-small);
  color: var(--color-gray);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq__item.active {
  background: rgba(198, 123, 92, 0.05);
  border-color: rgba(198, 123, 92, 0.15);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transition: background-color 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__item.active .faq__icon {
  background: rgba(198, 123, 92, 0.15);
  transform: rotate(45deg);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.faq__icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px;
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.42, 0, 0.47, 1.91);
}

.faq__answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  border: 2px solid var(--color-gray-light);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.pricing-card--featured {
  border-color: var(--color-accent);
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(198, 123, 92, 0.2);
}

.pricing-card__badge {
  display: inline-block;
  padding: 0.5em 1.5em;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gradient-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.pricing-card__title {
  margin-bottom: var(--space-xs);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-card__price span {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-gray);
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-card__features li {
  padding: var(--space-sm) 0;
  padding-left: 2em;
  position: relative;
  border-bottom: 1px solid var(--color-gray-light);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

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

/* --------------------------------------------------------------------------
   ANIMATIONS — REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Split text animation */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all var(--duration-medium) var(--ease-out-expo);
}

.split-text.visible .char {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   UTILITIES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-gray); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* --------------------------------------------------------------------------
   FOCUS STATES (Accessibilité)
   -------------------------------------------------------------------------- */
.btn:focus-visible,
.nav__link:focus-visible,
.card:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.form__input:focus-visible,
.form__textarea:focus-visible,
.form__select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(198, 123, 92, 0.2);
}

/* Nav link keyboard focus */
.nav__link:focus-visible::before {
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   ENHANCED CARD HOVER
   -------------------------------------------------------------------------- */
.card--outline {
  transition: all var(--duration-fast) var(--ease-out-expo),
              box-shadow var(--duration-fast) ease;
}

.card--outline:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card--dark:hover {
  box-shadow: 0 20px 40px rgba(198, 123, 92, 0.1);
}

/* --------------------------------------------------------------------------
   PAGE TRANSITIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Page entrance animation */
main {
  animation: fadeIn 0.6s var(--ease-out-expo);
}

.hero__content,
.page-header__content {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__eyebrow,
.page-header__eyebrow {
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.3s both;
}

.hero__title,
.page-header__title {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.hero__subtitle,
.page-header__subtitle {
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.5s both;
}

.hero__actions {
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.6s both;
}

/* --------------------------------------------------------------------------
   FORM ENHANCEMENTS
   -------------------------------------------------------------------------- */
/* Required field indicator */
.form__label[for*="required"]::after,
label[for]:has(+ [required])::after {
  content: " *";
  color: var(--color-accent);
}

/* Better visual for required via aria */
.form__input:required,
.form__textarea:required {
  border-left: 3px solid var(--color-accent);
}

.form__input:required:valid,
.form__textarea:required:valid {
  border-left-color: #4CAF50;
}

/* Form error state */
.form__input:invalid:not(:placeholder-shown),
.form__textarea:invalid:not(:placeholder-shown) {
  border-color: #f44336;
}

/* --------------------------------------------------------------------------
   SCROLL INDICATOR ENHANCEMENT
   -------------------------------------------------------------------------- */
.hero__scroll {
  animation: fadeIn 1s ease 1.5s both;
  transition: opacity 0.5s ease;
}

.hero__scroll.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .header__link {
    padding: 8px 12px;
  }

  .header__cta-group {
    margin-left: 12px;
    padding-left: 12px;
  }

  .header__cta {
    padding: 8px 16px;
  }
}

@media (max-width: 992px) {
  .grid--3,
  .paliers,
  .features,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--asymmetric,
  .grid--asymmetric-alt {
    grid-template-columns: 1fr;
  }

  .process {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .process::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-2xl: 8rem;
  }

  body,
  a,
  .btn,
  .form__input,
  .form__textarea,
  .form__select,
  .faq__question {
    cursor: auto;
  }

  .btn,
  .form__select,
  .faq__question {
    cursor: pointer;
  }

  .cursor {
    display: none;
  }

  /* Pricing card: remove scale on mobile */
  .pricing-card--featured {
    transform: none;
  }

  /* Header responsive */
  .header__nav {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .header__island {
    padding: 0 20px;
  }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--4,
  .paliers,
  .features,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer__top > div {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer__top > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Hero */
  .hero__title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Marquee slower on mobile */
  .marquee__track {
    animation-duration: 20s;
  }

  .marquee__item {
    font-size: var(--fs-h4);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .btn--lg {
    padding: 1rem 2rem;
    font-size: var(--fs-small);
  }

  .palier {
    padding: var(--space-lg) var(--space-md);
  }

  .palier::before {
    font-size: 5rem;
  }

  /* Header mobile small */
  .header {
    padding: 12px 16px;
  }

  .header.scrolled {
    padding: 8px 16px;
  }

  .header__island {
    height: 56px;
    padding: 0 16px;
  }

  .header__logo {
    font-size: 1.375rem;
  }

  /* Spacing: further reduce on small screens */
  :root {
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  /* Loader responsive: blobs only (icon/ring/letter use clamp in base) */
  .loader__blob--1 {
    width: 180px;
    height: 180px;
  }

  .loader__blob--2 {
    width: 120px;
    height: 120px;
  }

  .loader__blob--3 {
    width: 100px;
    height: 100px;
  }

  /* Contact form card padding */
  .contact-form-card {
    padding: var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   SCROLL PADDING (fixed header)
   -------------------------------------------------------------------------- */
html {
  scroll-padding-top: 80px;
}

/* --------------------------------------------------------------------------
   TOUCH DEVICE SUPPORT
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  body,
  a,
  .btn,
  .form__input,
  .form__textarea,
  .form__select,
  .faq__question {
    cursor: auto;
  }

  .btn,
  .form__select,
  .faq__question,
  a {
    cursor: pointer;
  }

  .cursor {
    display: none !important;
  }

  /* Disable hover transforms on touch devices */
  .btn:hover,
  .contact-step:hover,
  .diagnostic__option:hover {
    transform: none;
  }

  /* Footer links: increase touch targets */
  .footer__links a {
    padding: 8px 0;
    display: inline-block;
  }

  .footer__legal a {
    padding: 8px 0;
  }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
/* Reduced motion — via data attribute (user toggle or OS default) */
html[data-reduced-motion="true"] *,
html[data-reduced-motion="true"] *::before,
html[data-reduced-motion="true"] *::after {
  transition-duration: 0.3s !important;
}

html[data-reduced-motion="true"] .hero__blob,
html[data-reduced-motion="true"] .loader__blob {
  animation: none;
}

html[data-reduced-motion="true"] .marquee__track {
  animation-duration: 60s;
}

html[data-reduced-motion="true"] .reveal {
  opacity: 1 !important;
  transform: none !important;
}

html[data-reduced-motion="true"] {
  scroll-behavior: auto;
}

/* Motion toggle button */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.motion-toggle:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}

.motion-toggle svg {
  width: 14px;
  height: 14px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--color-dark);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   DIAGNOSTIC CTA SECTION
   -------------------------------------------------------------------------- */
.diagnostic-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  overflow: hidden;
  position: relative;
}

.diagnostic-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 123, 92, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.diagnostic-cta__content {
  position: relative;
  z-index: 1;
}

.diagnostic-cta__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(198, 123, 92, 0.15);
  color: var(--color-accent-bright);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.diagnostic-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.diagnostic-cta__text {
  color: var(--color-gray-light);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

.diagnostic-cta__visual {
  position: relative;
  z-index: 1;
}

.diagnostic-cta__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.diagnostic-cta__step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: var(--fs-body);
  transition: all 0.3s ease;
}

.diagnostic-cta__step:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.diagnostic-cta__step-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 123, 92, 0.2);
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .diagnostic-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
  }

  .diagnostic-cta__text {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .diagnostic-cta__steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }

  .diagnostic-cta__step {
    flex-direction: column;
    padding: var(--space-md);
    text-align: center;
    flex: 1;
    min-width: 120px;
  }

  .diagnostic-cta__step:hover {
    transform: translateY(-4px);
  }
}

/* --------------------------------------------------------------------------
   HERO TRUST BADGES
   -------------------------------------------------------------------------- */
.hero__trust {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--color-gray);
}

.hero__trust-item svg {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   PROBLEM + SOLUTION SECTION
   -------------------------------------------------------------------------- */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.problem-solution__label {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.problem-solution__label--accent {
  color: var(--color-accent);
}

.problem-solution__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

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

.problem-solution__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.problem-solution__list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-body);
  padding: var(--space-sm) 0;
}

.problem-solution__icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.problem-solution__check {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.problem-solution__divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-solution__arrow {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 8px 32px rgba(198, 123, 92, 0.3);
}

@media (max-width: 900px) {
  .problem-solution {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .problem-solution__divider {
    transform: rotate(90deg);
    margin: var(--space-md) 0;
  }

  .problem-solution__list li {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   STEPS SECTION (Comment ça marche)
   -------------------------------------------------------------------------- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  padding: var(--space-md);
}

.step__number {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-md);
  box-shadow: 0 8px 32px rgba(198, 123, 92, 0.4);
}

.step__content {
  color: var(--color-white);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.step__desc {
  font-size: var(--fs-body);
  color: var(--color-gray-light);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.step__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(198, 123, 92, 0.2);
  color: var(--color-accent-bright);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
}

.step__connector {
  width: 80px;
  color: var(--color-gray);
  padding-top: 32px;
  flex-shrink: 0;
}

.step__connector svg {
  width: 100%;
  height: 20px;
}

@media (max-width: 900px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step__connector {
    transform: rotate(90deg);
    width: 60px;
    padding: var(--space-sm) 0;
  }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS STARS
   -------------------------------------------------------------------------- */
.testimonial__stars {
  color: var(--color-accent);
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   CTA FINAL SECTION
   -------------------------------------------------------------------------- */
.cta-final {
  background: var(--gradient-accent);
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-final__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.cta-final__title .text-gradient {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-final__text {
  font-size: var(--fs-h4);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.cta-final__actions {
  margin-bottom: var(--space-md);
}

.cta-final__alternative {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

.cta-final__alternative a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-final__alternative a:hover {
  text-decoration: none;
}

/* Button white variant */
.btn--white {
  background: white;
  color: var(--color-accent-dark);
  border: none;
}

.btn--white:hover {
  background: var(--color-cream);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Utility */
.mt-md {
  margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   STORYTELLING PARCOURS CARDS
   -------------------------------------------------------------------------- */
.parcours-story {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.story-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(198, 123, 92, 0.15);
}

.story-card__situation {
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.story-card__quote {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
}

.story-card__problem {
  font-size: var(--fs-h4);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  padding-top: var(--space-lg);
}

.story-card__solution {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card__tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.story-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.story-card__solution > p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.story-card__link {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-accent);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.story-card__link:hover {
  color: var(--color-accent-bright);
  transform: translateX(4px);
}

.story-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.story-card__price {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.6);
}

.story-card__price strong {
  color: var(--color-accent);
  font-size: var(--fs-h4);
}

@media (max-width: 768px) {
  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card__situation {
    padding: var(--space-md);
  }

  .story-card__solution {
    padding: var(--space-md);
  }

  .story-card__quote {
    font-size: 4rem;
  }

  .story-card__action {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* --------------------------------------------------------------------------
   PROCESS STEPS — Premium Minimal
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s var(--ease-out-expo);
}

/* Séparateurs verticaux entre les étapes */
.process-step::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(198, 123, 92, 0.3) 50%,
    transparent 100%
  );
}

.process-step:last-child::after {
  display: none;
}

/* Animation visible - chaque step individuellement */
.process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation du numéro qui s'illumine et reste allumé */
.process-step.is-visible .process-step__number {
  animation: numberGlow 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes numberGlow {
  0% {
    opacity: 0.05;
    transform: scale(0.9);
    text-shadow: none;
  }
  40% {
    opacity: 0.5;
    transform: scale(1.02);
    text-shadow: 0 0 50px rgba(198, 123, 92, 0.6);
  }
  100% {
    opacity: 0.35;
    transform: scale(1);
    text-shadow: 0 0 25px rgba(198, 123, 92, 0.3);
  }
}

/* Numéro - grand et élégant */
.process-step__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.05;
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: all 0.4s var(--ease-out-expo);
  display: block;
}

.process-step:hover .process-step__number {
  opacity: 0.35;
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(198, 123, 92, 0.4);
}

/* Titre */
.process-step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

/* Description */
.process-step__desc {
  font-size: var(--fs-small);
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* Hover global */
.process-step {
  cursor: default;
}

.process-step:hover .process-step__title {
  color: var(--color-accent);
}

/* Mobile */
@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .process-step {
    opacity: 1;
    transform: none;
    padding: var(--space-md);
    background: rgba(198, 123, 92, 0.03);
    border-radius: var(--radius-lg);
  }

  .process-step::after {
    display: none;
  }

  .process-step__number {
    font-size: 2.5rem;
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    text-align: left;
    padding: var(--space-md);
  }

  .process-step__number {
    font-size: 2rem;
    margin-bottom: 0;
    align-self: center;
  }

  .process-step__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .process-step__desc {
    max-width: none;
    margin: 0;
  }
}

/* Dark variant for process steps */
.process-steps--dark .process-step__number {
  opacity: 0.5;
}

.process-steps--dark .process-step.is-visible .process-step__number {
  animation: numberGlowDark 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes numberGlowDark {
  0% {
    opacity: 0.3;
    transform: scale(0.9);
    text-shadow: none;
  }
  40% {
    opacity: 0.8;
    transform: scale(1.02);
    text-shadow: 0 0 50px rgba(198, 123, 92, 0.6);
  }
  100% {
    opacity: 0.65;
    transform: scale(1);
    text-shadow: 0 0 25px rgba(198, 123, 92, 0.3);
  }
}

.process-steps--dark .process-step:hover .process-step__number {
  opacity: 0.75;
}

.process-steps--dark .process-step__title {
  color: #fff;
}

.process-steps--dark .process-step__desc {
  color: rgba(255, 255, 255, 0.6);
}

.process-steps--dark .process-step:hover .process-step__title {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .process-steps--dark .process-step {
    background: rgba(255, 255, 255, 0.05);
  }

  .process-steps--dark .process-step__number {
    opacity: 0.55;
  }
}

/* --------------------------------------------------------------------------
   DIAGNOSTIC PREVIEW BOX
   -------------------------------------------------------------------------- */
.diagnostic-preview {
  position: relative;
}

.diagnostic-preview::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(20px);
}

/* --------------------------------------------------------------------------
   FEATURED TESTIMONIAL (Homepage)
   -------------------------------------------------------------------------- */
.testimonial-featured {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-featured__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.testimonial-featured__quote {
  position: relative;
  padding: 0 var(--space-lg);
}

.testimonial-featured__quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 0;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-featured__text {
  font-size: var(--fs-h3);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.testimonial-featured__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-featured__avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-weight: 700;
  color: var(--color-white);
  font-size: var(--fs-body);
  box-shadow: 0 8px 24px rgba(198, 123, 92, 0.3);
}

.testimonial-featured__info {
  text-align: left;
}

.testimonial-featured__name {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.testimonial-featured__role {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-featured__action {
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .testimonial-featured__quote::before {
    font-size: 5rem;
    top: -10px;
  }

  .testimonial-featured__quote {
    padding: 0 var(--space-md);
  }
}

/* Light variant for cream backgrounds */
.testimonial-featured--light .testimonial-featured__label {
  color: var(--color-text-muted);
}

.testimonial-featured--light .testimonial-featured__text {
  color: var(--color-dark);
}

.testimonial-featured--light .testimonial-featured__quote::before {
  opacity: 0.2;
}

.testimonial-featured--light .testimonial-featured__name {
  color: var(--color-dark);
}

.testimonial-featured--light .testimonial-featured__role {
  color: var(--color-text-muted);
}

/* Testimonial Tags */
.testimonial-featured__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.testimonial-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(198, 123, 92, 0.1);
  border: 1px solid rgba(198, 123, 92, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.testimonial-tag:hover {
  background: rgba(198, 123, 92, 0.15);
  border-color: rgba(198, 123, 92, 0.3);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS GRID (Homepage)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  position: relative;
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: rgba(198, 123, 92, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.4;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.testimonial-card__text {
  font-size: var(--fs-body);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-weight: 700;
  color: var(--color-white);
  font-size: var(--fs-small);
  flex-shrink: 0;
}

.testimonial-card__info {
  min-width: 0;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* Light variant for cream backgrounds - Enhanced design */
.testimonials-grid--light .testimonial-card {
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border: none;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonials-grid--light .testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(198, 123, 92, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid--light .testimonial-card:hover {
  border-left-color: var(--color-accent);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(198, 123, 92, 0.08);
  transform: translateY(-4px);
}

.testimonials-grid--light .testimonial-card__text {
  color: var(--color-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
}

.testimonials-grid--light .testimonial-card__name {
  color: var(--color-dark);
}

.testimonials-grid--light .testimonial-card__role {
  color: var(--color-text-muted);
}

.testimonials-grid--light .testimonial-card__avatar {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d89a7d 100%);
}

/* Testimonial card structure */
.testimonial-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.testimonial-card__body {
  flex: 1;
  position: relative;
  padding-left: var(--space-sm);
}

.testimonial-card__body::before {
  content: '"';
  position: absolute;
  left: -8px;
  top: -10px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.15;
  pointer-events: none;
}

.testimonial-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-card__context {
  font-size: var(--fs-small);
  color: var(--color-accent);
  font-weight: 500;
  opacity: 0.9;
}

/* Tags style enhancement */
.testimonials-grid--light .testimonial-tag {
  background: rgba(198, 123, 92, 0.08);
  border-color: rgba(198, 123, 92, 0.15);
  color: var(--color-accent);
  font-weight: 500;
}

/* Responsive footer for testimonials */
@media (max-width: 600px) {
  .testimonial-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .testimonial-card__context {
    align-self: flex-end;
  }

  .testimonial-card__body::before {
    font-size: 3rem;
    left: -5px;
    top: -8px;
  }
}

/* --------------------------------------------------------------------------
   REVIEWS SECTION (New Design)
   -------------------------------------------------------------------------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.04);
  border-left: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review:hover {
  transform: translateY(-6px);
  border-left-color: var(--color-accent);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Services tags */
.review__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.review__service {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(198, 123, 92, 0.08);
  border: 1px solid rgba(198, 123, 92, 0.15);
  border-radius: var(--radius-full);
  color: var(--color-accent);
}

/* Quote */
.review__quote {
  flex: 1;
  position: relative;
  margin: 0;
  padding-left: var(--space-md);
}

.review__mark {
  position: absolute;
  left: -4px;
  top: -12px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.review__quote p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-dark);
  margin: 0;
}

/* Footer */
.review__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Author */
.review__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.review__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, #d89a7d 100%);
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review__name {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.review__role {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Meta / Duration */
.review__meta {
  text-align: right;
}

.review__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
}

.review__duration svg {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .review {
    padding: var(--space-md);
  }

  .review__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .review__meta {
    align-self: flex-end;
  }

  .review__mark {
    font-size: 4rem;
    top: -10px;
  }
}

/* --------------------------------------------------------------------------
   REVEAL VARIATIONS
   -------------------------------------------------------------------------- */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
