/* ===================================================
   HABIBMEHMOOD.COM — Design System v3.0
   Inspiration: Audemars Piguet · Patek Philippe · The New York Times
   Palette: Noir profond (#0A0A0A) · Bordeaux #7A1221 (accent) · Crème (#FAF7F2)
   Typo: Instrument Serif (display) · Inter (body) · JetBrains Mono (label)
   =================================================== */

:root {
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --red: #A6192E;            /* CTA primary, used sparingly */
  --red-dark: #7A1221;       /* Editorial accent, italic emphasis */
  --red-glow: rgba(166, 25, 46, 0.18);
  --white: #F5F1EA;
  --white-pure: #FFFFFF;
  --cream: #FAF7F2;
  --cream-deep: #F2EDE4;     /* Subtle layer for cards on cream */
  --gray: #8A8A8A;
  --gray-light: #6B6B6B;
  --gray-border-dark: rgba(245, 241, 234, 0.08);
  --gray-border-light: rgba(10, 10, 10, 0.08);
  --hairline-dark: rgba(245, 241, 234, 0.14);
  --hairline-light: rgba(10, 10, 10, 0.12);

  /* Typography stack — body sans + display serif */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* legacy alias */
  --font-serif-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max-width: 1320px;
  --content-width: 720px;

  --radius: 2px;
  --radius-lg: 6px;

  /* Slower, more deliberate easings — luxury watch sites use long durations */
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 1.1s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-red: 0 20px 50px rgba(166, 25, 46, 0.22);
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { display: block; }

/* ============= TYPOGRAPHY ============= */
/* Display headings — serif, regular weight, generous size (Patek/AP signature) */
h1, h2 {
  font-family: var(--font-serif-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.018em;
}
h3 {
  font-family: var(--font-serif-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
h4 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
h1 { font-size: clamp(3rem, 8.2vw, 7rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); }
h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
/* Italic emphasis inside display headings — bordeaux instead of bright red */
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-dark);
}

p { margin-bottom: 1.2em; }

/* Eyebrow — wider tracking, more restrained color (Patek-style hairline label) */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--red-dark);
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--red-dark);
}
.lead { font-size: 1.2rem; line-height: 1.6; opacity: 0.82; font-weight: 300; }
strong { color: var(--white-pure); font-weight: 500; }
.italic { font-style: italic; }
.accent-red { color: var(--red-dark); }

/* ============= LAYOUT ============= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }
.content { max-width: var(--content-width); margin: 0 auto; }
.section { padding: 9rem 0; position: relative; }
.section-sm { padding: 5rem 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-light {
  background: var(--cream);
  color: var(--black);
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--black); }
.section-light strong { color: var(--black); }
.section-light .eyebrow { color: var(--red-dark); }
.section-light .eyebrow::before { background: var(--red-dark); }
/* Hairline divider (Patek-style) */
.divider { width: 48px; height: 1px; background: var(--red-dark); margin: 2.4rem 0; }
.divider-center { margin: 2.4rem auto; }
.center { text-align: center; }

/* ============= HEADER ============= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.6rem 2.5rem;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline-dark);
  transition: padding var(--transition-fast), background var(--transition-fast);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-serif-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: var(--white);
}
.logo-img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 1px solid var(--hairline-dark);
}
.logo-svg { width: 24px; height: 24px; flex-shrink: 0; }
.logo-text-main { display: block; line-height: 1; }
.logo-text-sub {
  display: block; font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.32em;
  text-transform: uppercase; font-weight: 500;
  color: var(--red-dark); margin-top: 5px;
}
.nav { display: flex; gap: 2.6rem; align-items: center; }
.nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  position: relative;
  transition: opacity var(--transition-fast);
}
.nav a::after {
  content: ""; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: var(--red-dark);
  transition: width var(--transition);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--red-dark);
  opacity: 1 !important;
  color: var(--red-dark);
  background: transparent;
  letter-spacing: 0.18em;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--red-dark); color: var(--white-pure); }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--black); padding: 2rem;
    border-bottom: 1px solid var(--gray-border-dark); gap: 1.5rem;
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
}

/* ============= HERO SPLIT (Tony Robbins x Dan Martell) ============= */
.hero {
  min-height: 100vh;
  padding: 9rem 2rem 6rem;
  display: flex; align-items: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-content h1 {
  margin-bottom: 2.4rem;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-family: var(--font-serif-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.hero-content h1 .accent {
  color: var(--red-dark);
  font-style: italic;
  display: block;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 520px; margin-bottom: 2.8rem;
  opacity: 0.78; line-height: 1.65;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta {
  margin-top: 3rem;
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.6;
}
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
}

/* ===== Hero Portrait — cinematic B&W + ken-burns + grain ===== */
.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin-left: auto;
  border-radius: 0;            /* squared corners — luxury watch feel */
  overflow: hidden;
  background: var(--black-soft);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  /* Editorial B&W default · transitions to color on scroll via --gray-amount (driven by main.js) */
  --gray-amount: 1;
  filter:
    grayscale(var(--gray-amount))
    contrast(calc(1.02 + var(--gray-amount) * 0.06))
    brightness(calc(1 - var(--gray-amount) * 0.08));
  transition: filter 0.18s linear,
              transform 14s ease-in-out;
  /* Cinematic ken-burns: very slow scale, alternates */
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  transform-origin: center 30%;
  will-change: transform, filter;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.0)  translateY(0); }
  100% { transform: scale(1.07) translateY(-8px); }
}
/* Hover/focus accelerates to full color regardless of scroll position */
.hero-portrait:hover img,
.hero-portrait:focus-within img {
  --gray-amount: 0 !important;
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Once color is fully revealed via scroll, freeze the ken-burns animation
   at its current frame (no jump back to initial scale). Class is added by main.js. */
.hero-portrait img.color-revealed {
  animation-play-state: paused;
}

/* Vignette gradient on top */
.hero-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Subtle grain overlay (SVG fractalNoise data-uri) */
.hero-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-6%, 4%); }
  50%  { transform: translate(4%, -3%); }
  75%  { transform: translate(-3%, -5%); }
  100% { transform: translate(2%, 3%); }
}

.hero-portrait-frame {
  position: absolute;
  top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 1px solid var(--red-dark);
  z-index: -1;
  border-radius: 0;
}
.hero-portrait .portrait-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, var(--black-card) 0%, var(--black-soft) 100%),
    radial-gradient(circle at 30% 40%, var(--red-glow), transparent 50%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: rgba(245, 241, 234, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
}
.hero-portrait .portrait-placeholder svg {
  width: 80px; height: 80px;
  margin-bottom: 1rem; opacity: 0.4;
}

.hero-portrait-badge {
  position: absolute; bottom: 1.8rem; left: 1.8rem; right: 1.8rem;
  z-index: 3;
  color: var(--white);
}
.hero-portrait-badge .name {
  font-family: var(--font-serif-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero-portrait-badge .role {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0.75; margin-top: 0.5rem;
  font-weight: 500;
}

/* Reduced motion — kill ken-burns + grain animations */
@media (prefers-reduced-motion: reduce) {
  .hero-portrait img { animation: none !important; }
  .hero-portrait::after { animation: none !important; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-portrait { margin: 0 auto; max-width: 380px; }
}

/* ============= BUTTONS — refined editorial CTAs ============= */
.btn {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 1.15rem 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--red-dark); color: var(--white-pure);
  border-color: var(--red-dark);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--black); border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.18);
}
.btn-ghost { border-color: var(--hairline-dark); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.section-light .btn-ghost { border-color: var(--hairline-light); color: var(--black); }
.section-light .btn-ghost:hover { background: var(--black); color: var(--white-pure); border-color: var(--black); }
.btn-arrow::after { content: "→"; transition: transform var(--transition-fast); display: inline-block; }
.btn:hover .btn-arrow::after { transform: translateX(6px); }

/* ============= TRUST STRIP — editorial, restrained ============= */
.trust-strip {
  padding: 3.5rem 2rem;
  background: var(--black);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.trust-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: 3.5rem; flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0.5;
  font-weight: 500;
}
.trust-names {
  display: flex; gap: 2.8rem; flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  opacity: 0.78;
  font-weight: 400;
}
.trust-names span { white-space: nowrap; font-style: italic; }

/* ============= STATS / NUMBERS BAND ============= */
.stats {
  padding: 7rem 0;
  background: var(--cream);
  color: var(--black);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--hairline-light);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-serif-display);
  font-size: clamp(3rem, 5.4vw, 4.6rem);
  color: var(--red-dark);
  line-height: 0.95;
  margin-bottom: 1rem;
  font-weight: 400;
  font-style: italic;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
}

/* ============= BIG QUOTE (Tony Robbins style) ============= */
.big-quote {
  padding: 11rem 2rem;
  text-align: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.big-quote::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(166,25,46,0.08), transparent 70%);
}
.big-quote-inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
.big-quote blockquote {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.big-quote blockquote .accent {
  color: var(--red-dark);
  display: block;
  font-style: italic;
}
.big-quote-mark {
  font-family: var(--font-serif-display);
  font-size: 7rem;
  color: var(--red-dark);
  line-height: 0.4;
  margin-bottom: 1.4rem;
  opacity: 0.55;
  font-weight: 400;
}
.big-quote-attr {
  margin-top: 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============= BENTO GRID — editorial cards ============= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
}
.bento-card {
  background: var(--black);
  border: 0;
  border-radius: 0;
  padding: 3rem 2.4rem;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  background: var(--black-soft);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.bento-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red-dark);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.bento-card h3,
.bento-card h4 {
  font-family: var(--font-serif-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1.2rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.bento-card p { font-size: 0.95rem; opacity: 0.78; line-height: 1.6; margin-bottom: 0; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.tall { min-height: 320px; }
.bento-card.featured {
  background:
    linear-gradient(135deg, rgba(122,18,33,0.18), transparent 60%),
    var(--black-soft);
}
.bento-card.featured .bento-card-num { color: var(--red-dark); }

.section-light .bento {
  background: var(--hairline-light);
  border-color: var(--hairline-light);
}
.section-light .bento-card {
  background: var(--cream);
  border: 0;
  box-shadow: none;
}
.section-light .bento-card:hover {
  background: var(--white-pure);
  box-shadow: 0 24px 60px rgba(10,10,10,0.08);
}
.section-light .bento-card p { color: var(--black); opacity: 0.72; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 1; }
}

/* ============= FRAMEWORK TIMELINE (Dan Martell Growth Track style) ============= */
.framework {
  margin-top: 4rem;
  position: relative;
}
.framework-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.framework-track::before {
  content: "";
  position: absolute;
  top: 36px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--red) 100%);
  opacity: 0.3;
}
.framework-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}
.framework-node {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  background: var(--red);
  color: var(--white-pure);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  position: relative; z-index: 2;
  box-shadow: 0 10px 30px rgba(166, 25, 46, 0.35);
}
.framework-days {
  font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.framework-step h4 {
  font-family: var(--font-serif-display);
  font-size: 1.85rem; font-weight: 400;
  margin-bottom: 0.85rem;
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.framework-step p { font-size: 0.95rem; opacity: 0.78; line-height: 1.6; }

@media (max-width: 800px) {
  .framework-track { grid-template-columns: 1fr; gap: 2.5rem; }
  .framework-track::before { display: none; }
}

/* ============= PRINCIPLES LIST ============= */
.principles {
  counter-reset: principle;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto; margin-right: auto;
}
.principle {
  display: flex; gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-border-dark);
  align-items: flex-start;
}
.section-light .principle { border-bottom-color: var(--gray-border-light); }
.principle:last-child { border-bottom: none; }
.principle::before {
  counter-increment: principle;
  content: counter(principle, upper-roman) ".";
  font-family: var(--font-serif-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--red-dark);
  min-width: 100px;
  line-height: 0.95;
  font-weight: 400;
}
.principle-body h4 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
  font-family: var(--font-serif-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.principle-body p { margin-bottom: 0; opacity: 0.8; line-height: 1.65; }

@media (max-width: 640px) {
  .principle { flex-direction: column; gap: 1rem; }
  .principle::before { font-size: 2.4rem; min-width: auto; }
}

/* ============= CASE CARD ============= */
.case {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 3rem;
  background: var(--black-card);
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
}
.section-light .case {
  background: var(--white-pure);
  border-color: var(--gray-border-light);
  box-shadow: var(--shadow-soft);
}
.case-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-soft);
  position: relative;
}
.case-photo .portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background:
    linear-gradient(135deg, var(--black-soft), var(--black-card)),
    radial-gradient(circle at 30% 30%, var(--red-glow), transparent 50%);
  color: rgba(245, 241, 234, 0.35);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.case-photo .portrait-placeholder svg { width: 60px; height: 60px; margin-bottom: 0.75rem; opacity: 0.4; }
.case-body .case-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.case-meta {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border-dark);
}
.section-light .case-meta { border-top-color: var(--gray-border-light); }
.case-meta strong { color: var(--red); }

@media (max-width: 700px) {
  .case { grid-template-columns: 1fr; padding: 2rem; }
  .case-photo { max-width: 240px; margin: 0 auto; }
}

/* ============= PRICING ============= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--black-card);
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(166, 25, 46, 0.1), var(--black-card));
  transform: scale(1.02);
}
.pricing-card.featured::before {
  content: "Le plus choisi";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white-pure);
  padding: 0.4rem 1.1rem; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.pricing-range {
  font-size: 0.85rem; color: var(--gray);
  margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.pricing-amount {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--red);
  margin-bottom: 0.25rem;
  line-height: 1;
  font-weight: 700;
}
.pricing-amount sup { font-size: 1.3rem; vertical-align: super; opacity: 0.7; }
.pricing-target {
  font-size: 0.78rem; opacity: 0.5; margin-bottom: 1.5rem;
}
.pricing-list {
  list-style: none; flex-grow: 1; margin-bottom: 2rem;
}
.pricing-list li {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-border-dark);
  position: relative; padding-left: 1.8rem;
}
.pricing-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 12px; height: 2px;
  background: var(--red);
}
.pricing-list li:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

/* === Pricing cards on section-light (cream bg) — force dark card + white text === */
.section-light .pricing-card {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.section-light .pricing-card.featured {
  background: linear-gradient(180deg, rgba(166, 25, 46, 0.22), var(--black));
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.section-light .pricing-card .pricing-name,
.section-light .pricing-card .pricing-list li,
.section-light .pricing-card .pricing-list strong,
.section-light .pricing-card strong {
  color: var(--white);
}
.section-light .pricing-card .pricing-range {
  color: rgba(245, 241, 234, 0.85);
}
.section-light .pricing-card .pricing-target {
  color: var(--white);
  opacity: 0.55;
}
.section-light .pricing-card .pricing-list li {
  border-bottom-color: rgba(245, 241, 234, 0.12);
}
.section-light .pricing-card .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}
.section-light .pricing-card .btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}

/* ============= DUAL LIST (promesse / pas promesse) ============= */
.dual-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}
.dual-list h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--red);
  font-family: var(--font-sans);
}
.dual-list.inverted h4:nth-of-type(2),
.dual-list h4.muted { color: var(--gray); }
.dual-list ul { list-style: none; }
.dual-list ul li {
  padding: 0.8rem 0 0.8rem 1.8rem;
  border-bottom: 1px solid var(--gray-border-dark);
  position: relative;
}
.section-light .dual-list ul li { border-bottom-color: var(--gray-border-light); }
.dual-list ul li:last-child { border-bottom: none; }
.dual-list .yes li::before {
  content: "◆"; position: absolute; left: 0;
  color: var(--red); font-size: 0.7rem; top: 1.2rem;
}
.dual-list .no li { opacity: 0.85; }
.dual-list .no li::before {
  content: "✕"; position: absolute; left: 0;
  color: var(--gray); font-weight: 700; top: 0.85rem;
}

@media (max-width: 700px) {
  .dual-list { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============= FAQ ============= */
.faq {
  max-width: 820px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-border-dark);
}
.section-light .faq-item { border-bottom-color: var(--gray-border-light); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.7rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.section-light .faq-question { color: var(--black); }
.faq-question:hover { color: var(--red); }
.faq-toggle {
  font-size: 1.6rem; color: var(--red); flex-shrink: 0;
  transition: transform var(--transition);
  font-family: var(--font-sans); font-weight: 300;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  opacity: 0.85;
}
.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 0 0 1.7rem;
}

/* ============= MIROIR ============= */
.miroir {
  padding: 4.5rem 3.5rem;
  background:
    linear-gradient(135deg, rgba(166,25,46,0.06), transparent 60%),
    var(--black-card);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 3rem 0;
  box-shadow: var(--shadow-card);
}
.miroir-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.miroir-sub {
  color: var(--red); letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 2rem; display: block;
}
.miroir-list { list-style: none; margin-top: 2rem; }
.miroir-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-border-dark);
  padding-left: 2rem; position: relative;
}
.miroir-list li::before {
  content: "→";
  position: absolute; left: 0; color: var(--red); font-weight: 700;
}
.miroir-list li:last-child { border-bottom: none; }

@media (max-width: 600px) {
  .miroir { padding: 2.5rem 2rem; }
}

/* ============= BIG CTA ============= */
.cta-block {
  padding: 7rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(166, 25, 46, 0.18), transparent 70%),
    var(--black);
  border-top: 1px solid var(--gray-border-dark);
  border-bottom: 1px solid var(--gray-border-dark);
}
.cta-block h2 { max-width: 800px; margin: 0 auto 1.5rem; }
.cta-block p { max-width: 600px; margin: 0 auto 2.5rem; opacity: 0.85; }
.cta-note {
  margin-top: 2rem; font-size: 0.88rem; opacity: 0.55;
  letter-spacing: 0.05em;
}

/* ============= ABOUT ============= */
.about-hero {
  padding: 12rem 2rem 4rem;
  text-align: center;
  background: var(--black);
}
.about-hero h1 {
  max-width: 900px; margin: 0 auto 1.5rem;
  font-style: italic;
}
.about-hero p { max-width: 680px; margin: 0 auto; opacity: 0.85; }
.about-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
}
.about-body h2 { margin-top: 4rem; margin-bottom: 1.5rem; }
.about-body h3 {
  margin-top: 2.5rem; margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
}
.about-body ul { list-style: none; margin-bottom: 2rem; }
.about-body ul li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
}
.about-body ul li::before {
  content: "◆"; color: var(--red);
  position: absolute; left: 0; font-size: 0.7rem; top: 0.9rem;
}
/* ===== Custom cursor — editorial dot + ring (desktop, fine pointer only) =====
   Centering strategy: position at (0,0), translate to mouse via CSS vars,
   then translate(-50%, -50%) to center around that point. Size-agnostic. */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  border-radius: 50%;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--red-dark);
  transform: translate3d(var(--cursor-dot-x, -100px), var(--cursor-dot-y, -100px), 0)
             translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s, opacity 0.25s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(122, 18, 33, 0.45);
  transform: translate3d(var(--cursor-ring-x, -100px), var(--cursor-ring-y, -100px), 0)
             translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, opacity 0.25s;
}
/* Hide the OS cursor only on supporting devices */
.has-custom-cursor,
.has-custom-cursor body { cursor: none; }
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [role="button"],
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select,
.has-custom-cursor label[for],
.has-custom-cursor summary { cursor: none; }
/* Hover state — ring expands, dot shrinks (Apple-store-style) */
.has-custom-cursor.cursor-hovering .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--red-dark);
}
.has-custom-cursor.cursor-hovering .cursor-dot {
  width: 4px; height: 4px;
}
/* Hide cursor when mouse leaves the window */
.has-custom-cursor.cursor-out .cursor-dot,
.has-custom-cursor.cursor-out .cursor-ring { opacity: 0; }

/* ===== Pull quote — editorial italic break, Patek/NYT-style ===== */
.pull-quote {
  font-family: var(--font-serif-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  padding: 1rem 0 1rem 2rem;
  border-left: 1px solid var(--red-dark);
  margin: 3.5rem 0 3.5rem -2rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--black);
  position: relative;
  max-width: 28ch;
  text-wrap: balance;
}
.section-dark .pull-quote { color: var(--white); border-left-color: var(--red-dark); }
.pull-quote::before {
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 24%;
  background: var(--red-dark);
  filter: brightness(1.8);
}
/* Float right variant for asymmetric editorial layout */
.pull-quote.right {
  float: right;
  margin: 0.5rem -3rem 1.5rem 2.5rem;
  width: 38%;
}
@media (max-width: 800px) {
  .pull-quote { margin-left: 0; max-width: 100%; }
  .pull-quote.right { float: none; width: auto; margin: 2.5rem 0; }
}

/* About portrait — same B&W treatment as hero */
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  isolation: isolate;
}
.about-portrait img {
  filter: grayscale(1) contrast(1.06) brightness(0.95);
  transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-portrait:hover img,
.about-portrait:focus-within img {
  filter: grayscale(0) contrast(1.02) brightness(1);
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .about-portrait img { transition: none; }
}

/* About split: portrait + story */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.about-portrait .portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background:
    linear-gradient(135deg, var(--black-soft), var(--black-card)),
    radial-gradient(circle at 30% 30%, var(--red-glow), transparent 50%);
  color: rgba(245, 241, 234, 0.35);
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.about-portrait .portrait-placeholder svg { width: 80px; height: 80px; margin-bottom: 1rem; opacity: 0.4; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { max-width: 420px; margin: 0 auto; }
}

/* ============= CONTACT ============= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h1 { margin-bottom: 1.5rem; }
.contact-meta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-border-dark);
  font-size: 0.95rem; opacity: 0.85;
}
.contact-meta p { margin-bottom: 0.7rem; }
.contact-meta strong { color: var(--red); }
.calendly-embed {
  min-height: 720px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.calendly-placeholder {
  min-height: 720px;
  background: var(--black-card);
  border: 1px dashed var(--gray-border-dark);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  color: var(--gray);
  padding: 3rem;
  text-align: center;
}
.calendly-placeholder h3 {
  font-family: var(--font-sans); font-size: 1rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--red); margin-bottom: 1rem;
}
.calendly-placeholder p { font-size: 0.95rem; opacity: 0.75; max-width: 400px; }
.calendly-placeholder code {
  display: inline-block;
  margin-top: 1rem; padding: 0.4rem 0.8rem;
  background: var(--black); font-size: 0.85rem;
  color: var(--red); font-family: monospace;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============= MERCI ============= */
.merci-hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(166, 25, 46, 0.12), transparent 70%),
    var(--black);
}
.merci-check {
  width: 80px; height: 80px;
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2.5rem;
  transform: rotate(45deg);
  position: relative;
}
.merci-check::after {
  content: "✓"; color: var(--red); font-size: 2.2rem; transform: rotate(-45deg);
  font-weight: 700;
}
.merci-questions {
  max-width: 640px; margin: 3rem auto 0;
  text-align: left;
}
.merci-q {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--gray-border-dark);
  display: flex; gap: 1.5rem;
}
.merci-q:last-child { border-bottom: none; }
.merci-q-num {
  font-family: var(--font-serif);
  font-size: 2rem; color: var(--red);
  line-height: 1; font-weight: 700;
  flex-shrink: 0;
}
.merci-signature {
  margin-top: 4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  opacity: 0.85;
  font-weight: 700;
}

/* ============= FOOTER ============= */
.footer {
  padding: 6rem 2.5rem 2.5rem;
  background: var(--black);
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand p { opacity: 0.65; max-width: 340px; margin-top: 1.2rem; line-height: 1.65; }
.footer-brand .tagline {
  font-family: var(--font-serif-display); font-style: italic;
  color: var(--red-dark); font-size: 1.15rem; margin-top: 1.4rem;
  margin-bottom: 0; font-weight: 400;
}
.footer h5 {
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 0.7rem; color: var(--red-dark); font-weight: 500;
  margin-bottom: 1.6rem;
}
.footer a {
  display: block; padding: 0.35rem 0; opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.footer a:hover { opacity: 1; color: var(--red-dark); }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding-top: 2.5rem; border-top: 1px solid var(--hairline-dark);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.55;
  align-items: center;
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: inherit;
  opacity: 1;
  display: inline;
  padding: 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.footer-legal a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-up-delay-1 { animation-delay: 0.12s; }
.fade-up-delay-2 { animation-delay: 0.24s; }
.fade-up-delay-3 { animation-delay: 0.36s; }
.fade-up-delay-4 { animation-delay: 0.48s; }

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= ACCESSIBILITY ============= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red);
  color: var(--white-pure);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white-pure);
  outline-offset: -4px;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============= UTILS ============= */
.mt-3 { margin-top: 3rem; }
.mt-5 { margin-top: 5rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ============= FORMULAIRE CANDIDATURE ============= */
.candidature-wrap {
  max-width: 760px;
  margin: 6rem auto 0;
}
.candidature-form {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.95;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.95rem 1.15rem;
  background: #1F1F1F;
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: var(--radius-lg);
  color: var(--white-pure);
  transition: all var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: rgba(245, 241, 234, 0.35);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245, 241, 234, 0.4);
}
.section-light .form-field input,
.section-light .form-field textarea,
.section-light .form-field select {
  background: var(--white-pure);
  border-color: var(--gray-border-light);
  color: var(--black);
}
.section-light .form-field input::placeholder,
.section-light .form-field textarea::placeholder {
  color: rgba(10, 10, 10, 0.4);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(166, 25, 46, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.candidature-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.form-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0.25rem 0 0;
  font-style: italic;
}

/* ===== Form async states (spinner + status messages) ===== */
.candidature-form button[type="submit"].is-loading {
  opacity: 0.85;
  cursor: wait;
}
.candidature-form button[type="submit"] .btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white-pure, #fff);
  border-radius: 50%;
  vertical-align: -2px;
  animation: formSpin 0.7s linear infinite;
}
@keyframes formSpin {
  to { transform: rotate(360deg); }
}
.form-status {
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  margin: 0 0 0.75rem;
  border-radius: 4px;
  border-left: 3px solid currentColor;
  outline: none;
}
.form-status--success {
  color: #1a7a4c;
  background: rgba(26, 122, 76, 0.08);
}
.form-status--error {
  color: var(--red);
  background: rgba(166, 25, 46, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .candidature-form button[type="submit"] .btn-spinner { animation: none; }
}

/* ============= SOCIAL ICONS (Footer) — hairline editorial ============= */
.social-icons {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.social-icons a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-dark);
  border-radius: 50%;
  color: var(--white);
  opacity: 0.65;
  transition: opacity var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              background var(--transition-fast),
              transform var(--transition-fast);
}
.section-light .social-icons a {
  border-color: var(--hairline-light);
  color: var(--black);
}
.social-icons a:hover,
.social-icons a:focus-visible {
  opacity: 1;
  color: var(--red-dark);
  border-color: var(--red-dark);
  background: rgba(122, 18, 33, 0.06);
  transform: translateY(-2px);
  outline: none;
}
.social-icons svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============= SLOTS WIDGET (Contact) ============= */
.slots-widget {
  background: var(--black-card);
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
}
.section-light .slots-widget {
  background: var(--white);
  border: 1px solid var(--gray-border-light);
  color: var(--black);
  box-shadow: var(--shadow-soft);
}
.slots-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-border-dark);
  margin-bottom: 1.5rem;
}
.section-light .slots-header {
  border-bottom-color: var(--gray-border-light);
}
.slots-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.slot {
  position: relative;
}
.slot a {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  transition: all var(--transition);
  color: inherit;
  text-decoration: none;
}
.section-light .slot a {
  border-color: var(--gray-border-light);
  background: var(--cream);
}
.slot a:hover {
  border-color: var(--red);
  background: var(--red-glow);
  transform: translateX(4px);
}
.section-light .slot a:hover {
  background: rgba(166, 25, 46, 0.05);
}
.slot-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  padding: 0.5rem 0;
  border-right: 1px solid var(--gray-border-dark);
  padding-right: 1.25rem;
  margin-right: 0.25rem;
}
.section-light .slot-date {
  border-right-color: var(--gray-border-light);
}
.slot-day {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 600;
}
.slot-num {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.2rem 0;
}
.slot-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-weight: 500;
}
.slot-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.slot-time {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.slot-meta {
  font-size: 0.82rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}
.slot-arrow {
  font-size: 1.2rem;
  color: var(--red);
  opacity: 0.7;
  transition: all var(--transition);
}
.slot a:hover .slot-arrow {
  opacity: 1;
  transform: translateX(2px);
}
.slot-booked {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.01);
  opacity: 0.4;
  cursor: not-allowed;
}
.section-light .slot-booked {
  border-color: var(--gray-border-light);
  background: rgba(0,0,0,0.02);
}
.slot-booked .slot-time,
.slot-booked .slot-meta {
  text-decoration: line-through;
}
.slots-footer {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border-dark);
  font-size: 0.9rem;
  opacity: 0.75;
  text-align: center;
}
.section-light .slots-footer {
  border-top-color: var(--gray-border-light);
}

/* ============= AUDIT MODAL (Pop-up 97€) ============= */
.audit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.25rem;
}
.audit-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.audit-modal-card {
  background: var(--black-card);
  border: 1px solid var(--gray-border-dark);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.75rem 2rem 2rem;
  position: relative;
  color: var(--white);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(166, 25, 46, 0.18);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  animation: auditModalGlow 4s ease-in-out infinite alternate;
}
.audit-modal-overlay.open .audit-modal-card {
  transform: translateY(0) scale(1);
}
@keyframes auditModalGlow {
  from { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(166, 25, 46, 0.18); }
  to   { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 100px rgba(166, 25, 46, 0.28); }
}
.audit-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gray-border-dark);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all var(--transition);
}
.audit-modal-close:hover {
  background: rgba(166, 25, 46, 0.15);
  border-color: var(--red);
  color: var(--red);
  transform: rotate(90deg);
}
.audit-modal-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.audit-modal-title {
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.audit-modal-price {
  color: var(--red);
  white-space: nowrap;
}
.audit-modal-lead {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.85;
  margin: 0 0 1.5rem;
}
.audit-modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--gray-border-dark);
}
.audit-modal-bullets li {
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-bottom: 1px solid var(--gray-border-dark);
  font-size: 0.95rem;
  position: relative;
  line-height: 1.45;
}
.audit-modal-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.audit-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.audit-modal-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.audit-modal-later {
  background: transparent;
  border: none;
  color: rgba(245, 241, 234, 0.55);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}
.audit-modal-later:hover {
  color: var(--white);
}
.audit-modal-foot {
  font-size: 0.8rem;
  opacity: 0.5;
  margin: 0;
  text-align: center;
  font-style: italic;
}
@media (max-width: 600px) {
  .audit-modal-card {
    padding: 2.25rem 1.25rem 1.5rem;
  }
  .audit-modal-bullets li {
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .audit-modal-overlay,
  .audit-modal-card,
  .audit-modal-close { transition: none; animation: none; }

  /* Disable global scroll-reveal + fade animations */
  .fade-up,
  [data-animate] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Disable methode card icon breathing */
  .methode-card[data-animate].visible .methode-icon {
    animation: none !important;
  }
}

/* ===== Méthode · 4 piliers ===== */
.methode-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 4rem;
}
.methode-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-dark);
  display: inline-block;
  margin-bottom: 0;
  padding-top: 0.8rem;
}
.methode-title {
  margin-bottom: 1.8rem;
  font-family: var(--font-serif-display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.02;
}
.methode-title em {
  font-family: var(--font-serif-display);
  font-style: italic;
  font-weight: 400;
  color: var(--red-dark);
}
.methode-lead {
  max-width: 56ch;
  color: var(--gray-light);
  margin-bottom: 0;
  opacity: 1;
  font-size: 1.1rem;
  line-height: 1.65;
  font-weight: 300;
}
.methode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-border-light);
  border: 1px solid var(--gray-border-light);
  border-radius: 0;
  isolation: isolate; /* contain the lifted-card shadow within the grid */
}

/* ----- CARD (works for <article> or <a class="methode-card">) ----- */
.methode-card {
  background: var(--cream);
  padding: 44px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  /* link reset (cards are wrapped as <a>) */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  /* premium easing */
  transition:
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 1. STAGGERED REVEAL — uses existing [data-animate] → .visible system,
   we just add a per-card delay so cards cascade in.
   The 4th delay value applies to the opacity transition. */
.methode-grid > .methode-card[data-animate]:nth-child(1) { transition-delay: 0ms,   0ms,   0ms,   0ms;   }
.methode-grid > .methode-card[data-animate]:nth-child(2) { transition-delay: 100ms, 100ms, 100ms, 100ms; }
.methode-grid > .methode-card[data-animate]:nth-child(3) { transition-delay: 200ms, 200ms, 200ms, 200ms; }
.methode-grid > .methode-card[data-animate]:nth-child(4) { transition-delay: 300ms, 300ms, 300ms, 300ms; }

/* 2. TOP ACCENT LINE — scales in from the left on hover */
.methode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
}

/* 5. HOVER ARROW — appears bottom-right, slides in */
.methode-card::after {
  content: "→";
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--red);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* 4. HOVER STATE — lift, soft shadow, white background */
.methode-card:hover,
.methode-card:focus-visible {
  background: var(--white-pure);
  transform: translateY(-4px);
  box-shadow:
    0 22px 44px -28px rgba(10, 10, 10, 0.22),
    0 4px 14px -10px rgba(166, 25, 46, 0.10);
  z-index: 3; /* lifted card sits above its neighbors */
  outline: none;
}
.methode-card:hover::before,
.methode-card:focus-visible::before { transform: scaleX(1); }
.methode-card:hover::after,
.methode-card:focus-visible::after  { opacity: 1; transform: translateX(0); }

/* 3. ICON — subtle continuous breathing while visible, deliberate gesture on hover */
.methode-icon {
  width: 28px;
  height: 28px;
  color: var(--black);
  flex-shrink: 0;
  transition:
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.methode-card[data-animate].visible .methode-icon {
  animation: methodeIconBreathe 4.2s ease-in-out infinite;
}
.methode-card:hover .methode-icon,
.methode-card:focus-visible .methode-icon {
  animation: none;
  color: var(--red);
  transform: rotate(-6deg) scale(1.08);
}
@keyframes methodeIconBreathe {
  0%, 100% { transform: scale(1);    opacity: 0.92; }
  50%      { transform: scale(1.04); opacity: 1;    }
}

/* TITLE — slides slightly right on hover */
.methode-card-title {
  font-family: var(--font-serif-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-top: 18px;
  margin-bottom: 12px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.methode-card:hover .methode-card-title,
.methode-card:focus-visible .methode-card-title { transform: translateX(4px); }

/* DESCRIPTION — text deepens on hover */
.methode-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-light);
  margin-bottom: 0;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.methode-card:hover .methode-card-desc,
.methode-card:focus-visible .methode-card-desc { color: var(--black); }

/* TAG — letter-spacing widens, slight slide */
.methode-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 24px;
  display: inline-block;
  transition:
    letter-spacing 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.methode-card:hover .methode-tag,
.methode-card:focus-visible .methode-tag {
  letter-spacing: 0.2em;
  transform: translateX(2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .methode-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 2.5rem;
  }
  .methode-grid { grid-template-columns: repeat(2, 1fr); }
  /* keep the cascade tight on 2-col layout */
  .methode-grid > .methode-card[data-animate]:nth-child(1) { transition-delay: 0ms; }
  .methode-grid > .methode-card[data-animate]:nth-child(2) { transition-delay: 100ms; }
  .methode-grid > .methode-card[data-animate]:nth-child(3) { transition-delay: 200ms; }
  .methode-grid > .methode-card[data-animate]:nth-child(4) { transition-delay: 300ms; }
}
@media (max-width: 480px) {
  .methode-grid { grid-template-columns: 1fr; }
  .methode-card { padding: 36px 24px; min-height: 240px; }
  /* lighter lift on mobile (feels closer to a tap state) */
  .methode-card:hover,
  .methode-card:focus-visible { transform: translateY(-2px); }
  .methode-card::after { right: 24px; bottom: 20px; }
}

/* 6. REDUCED MOTION — kill all motion, keep static hover state */
@media (prefers-reduced-motion: reduce) {
  .methode-card,
  .methode-card::before,
  .methode-card::after,
  .methode-icon,
  .methode-card-title,
  .methode-card-desc,
  .methode-tag {
    transition: none !important;
    animation: none !important;
  }
  .methode-card[data-animate].visible .methode-icon { animation: none !important; }
  .methode-card:hover,
  .methode-card:focus-visible { transform: none; box-shadow: none; }
  .methode-card:hover .methode-icon,
  .methode-card:focus-visible .methode-icon { transform: none; }
  .methode-card:hover .methode-card-title,
  .methode-card:focus-visible .methode-card-title,
  .methode-card:hover .methode-tag,
  .methode-card:focus-visible .methode-tag { transform: none; }
  .methode-card::before { transform: scaleX(0); }
  .methode-card:hover::before,
  .methode-card:focus-visible::before { transform: scaleX(1); }
}

/* ===== Calendly lazy-load placeholder ===== */
.calendly-inline-widget .calendly-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
  gap: 1rem;
  color: var(--gray-light);
}
.calendly-loading-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(166, 25, 46, 0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: calendlySpin 0.85s linear infinite;
}
@keyframes calendlySpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .calendly-loading-spinner { animation: none; }
}

/* ============================================================
   V3 — Luxury watch-site patterns
   Mega-menu · Header shrink · Scroll progress
   Page loader · Hairlines · Tabular figures · Marquee
   ============================================================ */

/* ===== Page loader (intro overlay) ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.4rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.page-loader.hidden { opacity: 0; }
.page-loader.removed { display: none; }
.page-loader-mark {
  font-family: var(--font-serif-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  letter-spacing: -0.005em;
  font-weight: 400;
  font-style: italic;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.page-loader-mark em {
  color: var(--red-dark);
  font-style: italic;
}
.page-loader-line {
  width: 0;
  height: 1px;
  background: var(--red-dark);
  animation: loaderLine 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
}
.page-loader-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gray-light);
  opacity: 0;
  animation: loaderFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
@keyframes loaderFade { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderLine { to { width: 220px; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader-mark, .page-loader-line, .page-loader-tag {
    animation: none; opacity: 1; transform: none;
  }
  .page-loader-line { width: 220px; }
}

/* ===== Scroll progress bar (top hairline) ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--red-dark);
  z-index: 101;
  transition: width 0.06s linear;
  pointer-events: none;
}

/* ===== Header shrink at scroll ===== */
.header.scrolled {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  background: rgba(10, 10, 10, 0.92);
}
.header.scrolled .logo {
  font-size: 1.18rem;
}
.header.scrolled .logo-img {
  width: 34px;
  height: 34px;
}
.header.scrolled .logo-text-sub {
  font-size: 0.56rem;
  margin-top: 3px;
}

/* ===== Hairlines 0.5px (sub-pixel via transform) ===== */
.hairline {
  position: relative;
}
.hairline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
  transform: scaleY(0.5);
  transform-origin: bottom;
}

/* ===== Tabular figures for prices and numbers ===== */
.pricing-amount,
.stat-num,
.bento-card-num,
.methode-tag,
.slot-num,
.merci-q-num {
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}

/* ===== Marquee discret (under hero) ===== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  background: var(--black);
  padding: 1.1rem 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 70s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 500;
}
.marquee-item {
  padding: 0 3rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}
.marquee-item::before {
  content: "◆";
  font-size: 0.5rem;
  color: var(--red-dark);
  display: inline-block;
}
.marquee-item em {
  font-family: var(--font-serif-display);
  font-style: italic;
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--white);
  font-weight: 400;
  margin-left: 0.4rem;
  opacity: 0.9;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: translateX(0); }
}

/* ============================================================
   MOBILE OVERRIDES — catch-all pour sections au style inline
   (rends le site responsive sous 720px et 480px)
   ============================================================ */
@media (max-width: 720px) {
  /* Container padding réduit */
  .container { padding: 0 1.25rem !important; }

  /* Hero paddings — annule les inline 11-12rem */
  .hero,
  .audit-hero,
  section.hero { padding-top: 7rem !important; padding-bottom: 3rem !important; }
  .hero-grid { padding: 0 !important; }

  /* Section paddings réduits */
  .section { padding: 4rem 0 !important; }

  /* H1 plus petit en mobile (override clamp sur inline) */
  h1[style*="clamp"] { font-size: clamp(2rem, 8vw, 2.8rem) !important; }

  /* Méthode-grid : 1 colonne — override inline repeat(3,1fr) */
  .methode-grid { grid-template-columns: 1fr !important; }
  .methode-card { padding: 2.2rem 1.8rem !important; min-height: auto !important; }

  /* Bento cards : padding réduit */
  .bento-card { padding: 2rem 1.5rem !important; }

  /* Pricing card : full width */
  .pricing-card { padding: 2rem 1.5rem !important; }

  /* CTA block padding */
  .cta-block { padding: 4rem 1.25rem !important; }

  /* Boutons plus serrés */
  .btn-primary, .btn-ghost { font-size: 0.98rem !important; padding: 0.95rem 1.6rem !important; }
  .hero-ctas { flex-direction: column !important; align-items: stretch !important; }
  .hero-ctas .btn { width: 100% !important; justify-content: center !important; }

  /* ===== TABLEAU COMPARATIF (le-pacte.html) — stack vertical ===== */
  .compare-row {
    grid-template-columns: 1fr !important;
    padding: 1.2rem 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .compare-row > div { padding-left: 0 !important; }
  .compare-row.compare-head { display: none !important; }
  .compare-row > div:nth-child(1) {
    font-weight: 700 !important;
    margin-bottom: 0.4rem !important;
    opacity: 1 !important;
  }
  .compare-row > div:nth-child(2) {
    opacity: 0.6 !important;
    margin-bottom: 0.35rem !important;
    padding-left: 1rem !important;
    position: relative;
  }
  .compare-row > div:nth-child(2)::before {
    content: "Coaching standard";
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.55;
    display: block;
    margin-bottom: 0.25rem;
    padding-left: 0;
    color: inherit;
    font-weight: 500;
  }
  .compare-row > div:nth-child(3) {
    color: var(--red) !important;
    font-weight: 600 !important;
    padding-left: 1rem !important;
    border-left: 2px solid var(--red);
  }
  .compare-row > div:nth-child(3)::before {
    content: "Le Pacte";
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--red);
    font-weight: 600;
  }

  /* Slot booking widget contact.html (legacy) */
  .slots-list .slot { flex-direction: row !important; }

  /* Footer : déjà 1fr 1fr sous 800px, 1fr sous 500px (handled) */
}

@media (max-width: 480px) {
  /* Encore plus serré */
  .container { padding: 0 1rem !important; }
  .section { padding: 3rem 0 !important; }
  .hero, .audit-hero, section.hero { padding-top: 6rem !important; }

  /* H1 très petit écran */
  h1, h1[style*="clamp"] { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  h2, h2[style*="clamp"] { font-size: clamp(1.5rem, 6vw, 2rem) !important; }

  /* Bento card et methode card : padding minimal */
  .bento-card { padding: 1.6rem 1.2rem !important; }
  .methode-card { padding: 1.8rem 1.4rem !important; }
}
