/* ==========================================================================
   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;
  cursor: none;
}

/* 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);
}

/* --------------------------------------------------------------------------
   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: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The B Letter - Brush stroke reveal */
.loader__letter {
  font-family: var(--font-display);
  font-size: 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: 180px;
  height: 180px;
}

.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;
  gap: var(--space-sm);
  opacity: 0;
  animation: signatureReveal 0.6s var(--ease-out-expo) 0.4s forwards;
}

.loader__signature-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.loader__signature-text {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@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;
  cursor: 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
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(26, 31, 46, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

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

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

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

.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 0.5em 0;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: translateX(-101%);
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.nav__link:hover::before,
.nav__link.active::before {
  transform: translateX(0);
}

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: none;
  padding: 10px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

/* --------------------------------------------------------------------------
   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: none;
  transition: all var(--duration-fast) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  transform: translateY(100%);
  transition: transform var(--duration-fast) var(--ease-out-expo);
  z-index: -1;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(198, 123, 92, 0.4);
}

.btn--primary:hover::before {
  transform: translateY(0);
}

.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--white {
  background: var(--color-white);
  color: var(--color-black);
}

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

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

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

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

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

/* 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;
  margin-bottom: var(--space-xl);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

.marquee__track {
  display: flex;
  animation: marquee 30s linear infinite;
}

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

.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);
  cursor: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  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;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  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: none;
  transition: color var(--duration-fast);
}

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

.faq__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.faq__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq__icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq__item.active .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-medium) var(--ease-out-expo);
}

.faq__answer-inner {
  padding-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.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: none;
  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: 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 {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--duration-medium) var(--ease-out-expo);
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--fs-h3);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* 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;
  }
}
