/* ==========================================================================
   RENOV CLE EN MAIN — ARCHITECTURAL MONOCHROME LUXURY DESIGN SYSTEM
   Primary: #050407 (Deep Black) · Secondary: #FFFFFF (Pure White)
   Background: #F4F4F4 (Light Grey) · Accent: #C8C8C8 (Silver Grey)
   ========================================================================== */

:root {
  /* Brand Palette */
  --black: #050407;
  --black-soft: #16151A;
  --white: #FFFFFF;
  --grey-bg: #F4F4F4;
  --grey-surface: #FAFAFA;
  --silver: #C8C8C8;
  --silver-soft: rgba(200, 200, 200, 0.45);
  --danger: #9B2C2C;

  /* Typography Colors */
  --text-primary: #050407;
  --text-secondary: rgba(5, 4, 7, 0.68);
  --text-tertiary: rgba(5, 4, 7, 0.48);
  --text-inverse: #FFFFFF;
  --text-inverse-muted: rgba(255, 255, 255, 0.72);

  /* Borders */
  --border-subtle: rgba(5, 4, 7, 0.08);
  --border-medium: rgba(5, 4, 7, 0.14);
  --border-silver: #C8C8C8;
  --border-strong: #050407;

  /* Typography */
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Elevation */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 2px 10px rgba(5, 4, 7, 0.04);
  --shadow-sm: 0 10px 30px rgba(5, 4, 7, 0.06);
  --shadow-md: 0 20px 50px rgba(5, 4, 7, 0.09);
  --shadow-lg: 0 28px 70px rgba(5, 4, 7, 0.14);

  /* Motion */
  --ease-arch: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

/* Section Surfaces — Clean White & Light Grey Architectural Rhythm */
.section-white,
.section-travertine {
  background-color: var(--white);
  color: var(--text-primary);
}

.section-grey,
.section-limestone {
  background-color: var(--grey-bg);
  color: var(--text-primary);
}

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

/* Subtle section dividers */
main>section+section {
  border-top: 1px solid var(--border-subtle);
}

/* Editorial Typography */
.editorial-kicker {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.kicker-brass {
  color: var(--text-secondary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-title em {
  font-style: normal;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.title-light {
  color: var(--text-primary);
}

.title-light em {
  color: var(--text-primary);
}

.section-header {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.split-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.centered-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 5vw, 56px);
}

/* ==========================================================================
   BUTTONS — DEEP BLACK (#050407) WITH PURE WHITE (#FFFFFF) TEXT
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  transition: transform 0.3s var(--ease-arch), box-shadow 0.3s var(--ease-arch), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 13.5px;
}

.btn-brass {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  box-shadow: 0 10px 26px rgba(5, 4, 7, 0.16);
}

.btn-brass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-arch);
}

.btn-brass:hover::before {
  left: 140%;
}

.btn-brass:hover {
  background-color: var(--black-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(5, 4, 7, 0.24);
}

.btn-brass:active {
  transform: translateY(0);
}

.btn-brass .btn-arrow {
  transition: transform 0.3s var(--ease-arch);
}

.btn-brass:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-pulse {
  animation: pulseBlack 3.2s infinite;
}

@keyframes pulseBlack {

  0%,
  100% {
    box-shadow: 0 10px 26px rgba(5, 4, 7, 0.16), 0 0 0 0 rgba(5, 4, 7, 0.18);
  }

  50% {
    box-shadow: 0 12px 30px rgba(5, 4, 7, 0.22), 0 0 0 9px rgba(5, 4, 7, 0);
  }
}

.btn-ghost-light {
  border: 1px solid var(--border-silver);
  color: var(--text-primary);
  background: var(--white);
}

.btn-ghost-light:hover {
  border-color: var(--black);
  background: var(--grey-bg);
  transform: translateY(-2px);
}

/* Scroll Reveal (Visible par défaut si JS désactivé ou bloqué sur l'hébergeur) */
html.has-reveal-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-arch), transform 0.75s var(--ease-arch);
  transition-delay: var(--reveal-delay, 0ms);
}

html.has-reveal-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SECTION 1 : HEADER ÉDITORIAL STATIQUE EN HAUT DE PAGE (WHITE & BLACK)
   ========================================================================== */
.site-header {
  position: relative;
  height: var(--header-h);
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.header-status {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--grey-bg);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
}

.btn-header {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 10px 18px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-logo {
    justify-content: center;
    gap: 10px;
  }

  .btn-header {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header-status {
    display: inline-flex;
  }
}

/* ==========================================================================
   SECTION 2 : HERO "LIVING MATERIAL SWITCHER" (CLEAN WHITE ARCHITECTURAL)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(60px, 7.5vw, 100px);
  overflow: hidden;
  background-color: var(--white);
}

.hero-ambient-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.24) 0%, rgba(255, 255, 255, 0) 70%);
  top: -160px;
  right: -140px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.eyebrow-line {
  width: 30px;
  height: 1.5px;
  background: var(--black);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.032em;
  color: var(--black);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: normal;
  color: var(--black);
  background: linear-gradient(180deg, transparent 68%, rgba(200, 200, 200, 0.55) 68%);
  padding-inline: 2px;
}

.hero-subtitle {
  font-size: clamp(15.5px, 1.35vw, 17px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-reassurance {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.icon-thin {
  width: 18px;
  height: 18px;
  color: var(--black);
  flex-shrink: 0;
}

/* Showroom Card & Material Switcher */
.showroom-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-bg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.hero-ba-card {
  background: var(--white);
}

.hero-ba-slider {
  aspect-ratio: 4 / 3.4;
  max-height: 440px;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-ba-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
}

.hero-ba-caption strong {
  color: var(--black);
}

.showroom-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1A1A1D;
}

.showroom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.45s var(--ease-arch), transform 0.65s var(--ease-arch);
}

.showroom-img.is-switching {
  opacity: 0.18;
  transform: scale(1.045);
}

.showroom-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(5, 4, 7, 0.10);
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--shadow-xs);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

.material-switcher {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(5, 4, 7, 0.10);
  box-shadow: var(--shadow-sm);
}

.material-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.material-pill:hover {
  background: var(--grey-bg);
  color: var(--black);
}

.material-pill.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(5, 4, 7, 0.18);
  flex-shrink: 0;
}

.swatch-noyer {
  background: linear-gradient(135deg, #5C3A28 50%, #EFECE6 50%);
}

.swatch-sauge {
  background: linear-gradient(135deg, #748573 50%, #D9C4A3 50%);
}

.swatch-anthracite {
  background: linear-gradient(135deg, #25292C 50%, #C8C8C8 50%);
}

/* ==========================================================================
   SECTION 3 : "ANATOMIE X-RAY" (LIGHT GREY #F4F4F4)
   ========================================================================== */
.xray-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.xray-mode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-silver);
  box-shadow: var(--shadow-xs);
}

.xray-tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 0.3s var(--ease-arch), color 0.3s ease;
}

.xray-tab.is-active {
  background: var(--black);
  color: var(--white);
}

.xray-instruction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pulse-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 4px rgba(5, 4, 7, 0.14);
}

.xray-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 1024px) {
  .xray-stage {
    position: relative;
    display: block;
  }
}

.xray-canvas {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1A1A1D;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.xray-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease-arch);
}

.xray-image.is-switching {
  opacity: 0.25;
}

/* Hotspots Pulsants Monochrome */
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  z-index: 4;
  transition: left 0.45s var(--ease-arch), top 0.45s var(--ease-arch);
}

.hotspot-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  animation: hotspotPulse 2.2s infinite;
}

.hotspot-core {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(5, 4, 7, 0.90);
  border: 1.5px solid var(--white);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(5, 4, 7, 0.35);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-arch);
}

.hotspot:hover .hotspot-core,
.hotspot.is-active .hotspot-core {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
  transform: scale(1.14);
}

@keyframes hotspotPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Carte Explicative X-Ray */
.xray-detail-card {
  background: var(--white);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .xray-detail-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 396px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.xray-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.xray-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.xray-nav-dots {
  display: flex;
  gap: 6px;
}

.xray-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--silver);
  transition: width 0.25s var(--ease-arch), background-color 0.25s ease;
}

.xray-dot.is-active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: var(--black);
}

.xray-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
}

.xray-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.xray-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

/* ==========================================================================
   SECTION 4 : GALERIE RÉALISATIONS + AVANT/APRÈS + VIDÉOS (PURE WHITE #FFFFFF)
   ========================================================================== */
.portfolio-section {
  padding-block: clamp(56px, 8vw, 112px);
  overflow-x: hidden;
  overflow-x: clip;
}

.swiper-controls-wrap {
  display: flex;
  gap: 10px;
}

.swiper-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-silver);
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-arch);
}

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

.filter-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-silver);
  background: var(--white);
  transition: all 0.25s var(--ease-arch);
}

.filter-pill:hover {
  border-color: var(--black);
  color: var(--black);
}

.filter-pill.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.gallery-swiper {
  overflow: visible;
}

.project-card {
  cursor: pointer;
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-arch);
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--black);
  border: 1px solid rgba(5, 4, 7, 0.08);
}

.project-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(5, 4, 7, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-arch);
}

.project-card:hover .project-zoom {
  background: var(--white);
  color: var(--black);
  transform: scale(1.06);
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 4px;
}

.project-info p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Avant / Après Tactile */
.before-after-block,
.videos-block {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(44px, 5vw, 64px);
  border-top: 1px solid var(--border-subtle);
}

.before-after-block--top {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.subblock-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.subblock-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 10px;
}

.subblock-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.subblock-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

.ba-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 600px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
  background: #1A1A1D;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(5, 4, 7, 0.10);
  color: var(--black);
  pointer-events: none;
}

.ba-label-before {
  left: 16px;
}

.ba-label-after {
  right: 16px;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(5, 4, 7, 0.4);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(5, 4, 7, 0.42);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

/* Showroom Photos & Espace Vidéos 9:16 */
.showroom-header {
  margin-bottom: 28px;
}

.showroom-swiper {
  overflow: visible;
  margin-bottom: clamp(44px, 6vw, 68px);
}

.showroom-photo-card {
  cursor: pointer;
}

.showroom-photo-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.showroom-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-arch);
}

.showroom-photo-card:hover .showroom-photo-media img {
  transform: scale(1.04);
}

.showroom-photo-card:hover .project-zoom {
  background: var(--white);
  color: var(--black);
  transform: scale(1.06);
}

.showroom-videos-wrap {
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border-subtle);
}

.showroom-videos-head {
  margin-bottom: 24px;
}

.showroom-videos-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.showroom-videos-swiper {
  overflow: visible;
}

.showroom-videos-swiper .video-card {
  width: 100%;
  display: block;
}

/* Grille Vidéos 9:16 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .video-grid {
    grid-template-columns: repeat(3, 76vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .video-grid::-webkit-scrollbar {
    display: none;
  }

  .video-card {
    scroll-snap-align: start;
  }
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  text-align: left;
  background: #050407;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.video-card.is-playing {
  cursor: default;
}

.video-inline-player {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #050407;
}

.video-inline-player iframe,
.video-inline-player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-inline-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 4, 7, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.video-inline-close:hover {
  background: var(--white);
  color: var(--black);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-arch);
}

.video-card:hover img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(5, 4, 7, 0.36) 0%, rgba(5, 4, 7, 0.14) 50%, rgba(5, 4, 7, 0.32) 100%);
}

.video-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(5, 4, 7, 0.35);
  transition: transform 0.25s var(--ease-arch), background-color 0.25s ease, color 0.25s ease;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--black);
  color: var(--white);
}

.video-caption h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 4px;
}

.video-caption p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   SECTION 5 : COMPARAISON TEMPORELLE (LIGHT GREY #F4F4F4)
   ========================================================================== */
.comparison-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.timeline-switch-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.segmented-control {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-silver);
  width: min(100%, 460px);
  box-shadow: var(--shadow-xs);
}

.segmented-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: var(--radius-pill);
  background: var(--black);
  transition: transform 0.4s var(--ease-arch);
}

.segmented-control.is-month12 .segmented-thumb {
  transform: translateX(100%);
}

.segmented-btn {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  text-align: center;
}

.segmented-btn.is-active {
  color: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 820px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border-silver);
  box-shadow: var(--shadow-sm);
}

.compare-bad {
  border: 1.5px solid rgba(185, 28, 28, 0.32);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%);
}

.compare-bad .compare-eyebrow {
  color: #B91C1C;
}

.compare-bad .compare-head h3 {
  color: #7F1D1D;
}

.compare-good {
  border: 1.5px solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.compare-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
}

.icon-bad {
  background: rgba(185, 28, 28, 0.12);
  color: #B91C1C;
  border: 1px solid rgba(185, 28, 28, 0.28);
}

.icon-good {
  background: var(--black);
  color: var(--white);
}

.compare-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.compare-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 14px;
  transition: opacity 0.25s ease;
}

.compare-list.is-updating {
  opacity: 0.2;
}

.compare-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-primary);
}

.compare-bad .compare-list li {
  color: var(--text-secondary);
}

.compare-bad .compare-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: 0;
  color: #B91C1C;
  font-weight: 700;
}

.compare-good .compare-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--black);
  font-weight: 700;
}

/* ==========================================================================
   SECTION 6 : FORMULAIRE MULTI-ÉTAPES — "STUDIO ARCHITECTURAL SPLIT"
   ========================================================================== */
.configurator-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.studio-form-shell {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-silver);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .studio-form-shell {
    grid-template-columns: 350px 1fr;
    min-height: 560px;
  }
}

/* Rail Architectural Noir (#050407) */
.studio-form-rail {
  position: relative;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--white);
  padding: clamp(24px, 3.5vw, 38px) clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.standard-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 200, 200, 0.28);
  color: var(--white);
  margin-bottom: 16px;
}

.badge-dot-white {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.studio-rail-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}

/* Stepper Vertical (Desktop) / Compact Horizontal (Mobile) */
.studio-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (min-width: 900px) {
  .studio-stepper {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-block: 8px;
  }
}

.stepper-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

@media (min-width: 900px) {
  .stepper-item {
    justify-content: flex-start;
  }
}

.stepper-item.is-active,
.stepper-item.is-done {
  opacity: 1;
}

.stepper-node {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.28s var(--ease-arch);
}

.stepper-item.is-active .stepper-node {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.stepper-item.is-done .stepper-node {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
}

.stepper-meta {
  display: none;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 900px) {
  .stepper-meta {
    display: flex;
  }
}

.stepper-meta strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.stepper-value {
  font-size: 12px;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-footer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 900px) {
  .rail-footer {
    display: flex;
  }
}

/* Zone Formulaire Droite (#FFFFFF) */
.studio-form-stage {
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.stage-progress-wrap {
  padding: 20px clamp(22px, 4vw, 44px) 0;
}

.stage-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.progress-step-label {
  color: var(--text-secondary);
}

.progress-percent {
  color: var(--black);
  font-family: var(--font-display);
}

.progress-track {
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--grey-bg);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--black);
  transition: width 0.45s var(--ease-arch);
}

.standard-form-body {
  padding: clamp(22px, 3.8vw, 40px) clamp(22px, 4vw, 44px) clamp(26px, 4vw, 42px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.config-step {
  display: none;
  border: none;
  animation: stepFade 0.35s var(--ease-arch);
}

.config-step.is-active {
  display: block;
}

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 6px;
}

.step-hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.substep-block {
  margin-bottom: 22px;
}

.substep-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Radio Option Tiles — Architectural Style */
.option-grid {
  display: grid;
  gap: 12px;
}

.option-grid--1 {
  grid-template-columns: 1fr;
}

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

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

@media (max-width: 600px) {

  .option-grid--2,
  .option-grid--3 {
    grid-template-columns: 1fr;
  }
}

.option-card {
  display: block;
  cursor: pointer;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 42px 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-silver);
  background: var(--grey-surface);
  overflow: hidden;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s var(--ease-arch), box-shadow 0.22s ease, color 0.22s ease;
}

/* Barre d'accent verticale architecturale à gauche */
.option-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.24s var(--ease-arch);
}

.option-card:hover .option-box::before {
  transform: scaleY(1);
}

.option-box::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.5px solid var(--border-silver);
  background: var(--white);
  transition: all 0.2s ease;
}

.option-grid--compact .option-box {
  padding: 15px 16px;
  justify-content: center;
  text-align: center;
}

.option-grid--compact .option-box::after {
  display: none;
}

.option-card:hover .option-box {
  border-color: var(--black);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.option-card input[type="radio"]:checked+.option-box {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(5, 4, 7, 0.18);
}

.option-card input[type="radio"]:checked+.option-box::after {
  border-color: var(--white);
  background: var(--white);
  box-shadow: inset 0 0 0 4px var(--black);
}

.option-card input[type="radio"]:focus-visible+.option-box {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.option-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.option-card input[type="radio"]:checked+.option-box .option-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.option-text strong {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

.option-text small {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.option-card input[type="radio"]:checked+.option-box .option-text strong {
  color: var(--white);
}

.option-card input[type="radio"]:checked+.option-box .option-text small {
  color: rgba(255, 255, 255, 0.72);
}

/* Form Step 4 */
.form-fields {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
}

.req {
  color: var(--black);
}

.field-hint {
  font-size: 12px;
  color: var(--text-tertiary);
}

.field-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-silver);
  background: var(--grey-bg);
  font-size: 15.5px;
  color: var(--black);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input::placeholder {
  color: var(--text-tertiary);
}

.field-group input:focus {
  outline: none;
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 4, 7, 0.08);
}

.field-group input.is-invalid {
  border-color: var(--danger);
}

.step-error {
  min-height: 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--danger);
  margin-bottom: 8px;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.step-nav--submit {
  flex-wrap: wrap;
}

.btn-submit {
  flex: 1;
  min-width: 240px;
}

.btn-submit:disabled {
  opacity: 0.78;
  cursor: wait;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.privacy-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 14px;
}

.btn-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.btn-back:hover {
  color: var(--black);
}

/* Summary DL (utilisé sur merci.html) */
.summary-dl {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  font-size: 13.5px;
}

.summary-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-dl dt {
  color: var(--text-secondary);
}

.summary-dl dd {
  font-weight: 600;
  text-align: right;
  color: var(--black);
}

/* ==========================================================================
   SECTION 7 : POUR QUI EST CONÇU NOTRE ATELIER ? (LIGHT GREY #F4F4F4)
   ========================================================================== */
.audience-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-arch), border-color 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

.audience-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--silver);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.audience-card:hover .audience-num {
  color: var(--black);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 8 : PARCOURS EN 4 ÉTAPES + FAQ ACCORDÉON (PURE WHITE #FFFFFF)
   ========================================================================== */
.method-faq-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.timeline-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(64px, 8vw, 100px);
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline-step {
  position: relative;
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-arch);
}

.timeline-step:hover {
  border-color: var(--black);
  transform: translateY(-3px);
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* FAQ */
.faq-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 960px) {
  .faq-wrapper {
    grid-template-columns: 0.9fr 1.3fr;
    align-items: start;
  }
}

.faq-sub {
  margin-top: 12px;
  color: var(--text-secondary);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item.is-open {
  background: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-xs);
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-silver);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--black);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-arch), background-color 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-arch);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 9 : FINAL CTA ARCHITECTURAL (LIGHT GREY #F4F4F4) + FOOTER (#050407)
   ========================================================================== */
.final-cta-section {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
  overflow: hidden;
  text-align: center;
}

.final-glow {
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 18px;
}

.final-cta-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.final-cta-sub {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.site-footer {
  background-color: var(--black);
  color: var(--text-inverse-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 32px 96px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-block: 32px;
  }
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-link-btn {
  color: var(--text-inverse-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link-btn:hover {
  color: var(--white);
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-silver);
  box-shadow: 0 14px 36px rgba(5, 4, 7, 0.16);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-arch), opacity 0.35s ease;
}

.sticky-mobile-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-mobile-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-mobile-text strong {
  font-size: 13.5px;
  color: var(--black);
}

.sticky-mobile-text span {
  font-size: 11.5px;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none !important;
  }
}

/* ==========================================================================
   MODALES (Lightbox, Vidéo, Confidentialité)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(5, 4, 7, 0.86);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 24px;
  display: grid;
  place-items: center;
  z-index: 5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--white);
  color: var(--black);
}

.lightbox-figure {
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-figure figcaption {
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lightbox-city {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.video-modal-box,
.privacy-modal-box {
  position: relative;
  width: min(100%, 480px);
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.video-modal-box .modal-close,
.privacy-modal-box .modal-close {
  background: var(--grey-bg);
  color: var(--black);
  border: 1px solid var(--border-subtle);
}

.video-modal-box .modal-close:hover,
.privacy-modal-box .modal-close:hover {
  background: var(--black);
  color: var(--white);
}

.video-modal-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 62vh;
  margin-bottom: 18px;
  background: #050407;
}

.video-modal-media img,
.video-modal-media video,
.video-modal-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.video-modal-info h3,
.privacy-modal-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.video-modal-info p,
.privacy-modal-box p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ==========================================================================
   PAGE MERCI (VIP RECEIPT)
   ========================================================================== */
.merci-body {
  min-height: 100vh;
  background: var(--grey-bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.merci-main {
  flex: 1;
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.merci-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border-silver);
  box-shadow: var(--shadow-md);
}

.merci-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.merci-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.merci-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.merci-lead {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.merci-recap {
  background: var(--grey-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 28px;
}

.merci-recap-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.merci-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 680px) {
  .merci-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.merci-step {
  background: var(--grey-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.merci-step span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.merci-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.merci-step p {
  font-size: 13px;
  color: var(--text-secondary);
}

.merci-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: clamp(28px, 7.6vw, 38px);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-reassurance {
    gap: 10px 18px;
    padding-top: 18px;
  }

  .ba-label {
    top: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .ba-label-before {
    left: 10px;
  }

  .ba-label-after {
    right: 10px;
  }

  .ba-handle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .swiper-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .compare-badge {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }

  .segmented-btn {
    padding: 10px 8px;
    font-size: 12.5px;
  }

  .option-box {
    padding: 14px 40px 14px 14px;
  }

  .option-icon {
    width: 38px;
    height: 38px;
  }

  .step-nav--submit {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .btn-submit {
    min-width: 0;
    width: 100%;
  }

  .step-nav--submit .btn-back {
    text-align: center;
  }

  .merci-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .merci-actions .btn {
    width: 100%;
  }

  .merci-actions .btn-back {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-monogram {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 14.5px;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .sticky-mobile-bar {
    left: 10px;
    right: 10px;
    padding: 8px 8px 8px 14px;
    gap: 8px;
  }

  .sticky-mobile-text strong {
    font-size: 12.5px;
  }

  .sticky-mobile-text span {
    font-size: 10.5px;
  }

  .sticky-mobile-bar .btn-sm {
    padding: 10px 13px;
    font-size: 12px;
  }
}