/* ==========================================================================
   REFAIT AVEC AMOUR — MAISON CRÉATIVE
   Landing Page Foulard Signature "L'Art de porter une histoire au quotidien"
   Format Carré : 73,5 × 73,5 cm
   Direction Artistique : Haute Façon & Expérience Atelier
   Structure :
     1. Header & Prologue Inspirationnel (Immersion Marque)
     2. Descriptif Produit Épuré
     3. L'Exigence de la Matière (Satin Mercérisé 140)
     4. L'Allure et le Geste (Les 3 Nouages)
     5. La Culture comme Signature (Calligraphie Bilingue)
     6. Le Certificat d'Authenticité & Commande par Correspondance Atelier
   ========================================================================== */

/* --- 1. Variables & Palette de Luxe Silencieux --- */
:root {
  --c-bg: #FFFFFF;
  --c-bg-canvas: #F9F8F5;
  --c-bg-subtle: #FAF9F7;
  --c-bg-card: #FCFBF9;
  
  --c-navy: #0B1528;
  --c-navy-soft: #17243C;
  --c-navy-deep: #060D19;
  
  --c-text-main: #141414;
  --c-text-muted: #555555;
  --c-text-light: #888888;
  --c-text-subtle: #B8B8B8;
  
  --c-border: #E8E5DF;
  --c-border-subtle: #F0EDE8;
  --c-border-dark: #141414;
  
  --c-gold: #96784A;
  --c-gold-subtle: rgba(150, 120, 74, 0.22);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Garamond, 'Didot', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  /* Dimensions */
  --max-width: 1280px;
  --max-width-editorial: 720px;
  --top-notice-height: 40px;
  --header-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --trans: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset Fondamental --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text-main);
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 300;
}

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

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

button, input, textarea {
  background: none;
  border: none;
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* --- Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.container--editorial {
  max-width: var(--max-width-editorial);
}

/* --- 3. Top Discreet Announcement --- */
.top-notice {
  background-color: var(--c-bg-canvas);
  border-bottom: 1px solid var(--c-border);
  height: var(--top-notice-height);
  min-height: var(--top-notice-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* --- 4. Header Épuré --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-height);
}

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

.header__brand {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-navy);
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-flex;
  align-items: center;
}

.header__brand-name {
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-block;
  color: inherit;
  transition: opacity 0.2s ease;
}

.header__brand-name:hover {
  opacity: 0.85;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav__link {
  font-size: clamp(0.66rem, 0.74vw, 0.72rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color 0.3s ease;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-block !important;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px;
  height: 1.5px;
  background-color: var(--c-gold);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.nav__link:hover {
  color: var(--c-navy);
}

.nav__link.active {
  color: var(--c-navy);
  font-weight: 500;
}

.nav__link.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Header Actions & Mobile Sommaire Trigger */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__sommaire-btn {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  background: transparent;
  transition: all var(--trans);
  cursor: pointer;
}

.header__sommaire-btn:hover {
  border-color: var(--c-navy);
  background-color: var(--c-bg-canvas);
}

.sommaire-btn-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 13px;
}

.sommaire-btn-icon span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--c-navy);
}

/* Secondary Action Button in Header */
.header__atelier-link {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--c-navy);
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__atelier-link:hover {
  background-color: var(--c-navy);
  color: #FFFFFF;
}

/* --- Sommaire Mobile Épuré (Tiroir Haute Façon pour Smartphones) --- */
.mobile-sommaire-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 21, 40, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-sommaire-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-sommaire {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background-color: var(--c-bg-card);
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 28px 24px;
}

.mobile-sommaire.open {
  transform: translateX(0);
}

.mobile-sommaire__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 24px;
}

.mobile-sommaire__title {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
}

.mobile-sommaire__close {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-navy);
  cursor: pointer;
  padding: 4px;
  transition: opacity var(--trans);
}

.mobile-sommaire__close:hover {
  opacity: 0.7;
}

.mobile-sommaire__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.mobile-sommaire__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border-subtle);
  transition: transform 0.25s ease;
}

.mobile-sommaire__link:hover {
  transform: translateX(4px);
}

.mobile-sommaire__num {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
}

.mobile-sommaire__label {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--c-navy);
  font-weight: 400;
}

.mobile-sommaire__footer {
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

/* --- 5. Split-Screen Sections (Section 1: Hero & Section 5: Produit) --- */
.section-split,
.section-lore,
.product-hero {
  padding: 0;
  border-bottom: 1px solid var(--c-border);
  background-color: var(--c-bg);
  width: 100%;
  overflow: hidden;
}

.split-layout,
.lore-split,
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
}

.split-media,
.lore-media,
.product-visual {
  position: relative;
  width: 100%;
  min-height: 640px;
  background-color: var(--c-bg-canvas);
  overflow: hidden;
}

.split-media img,
.lore-media img,
.product-featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.section-product-split .split-media img {
  object-position: center;
}

/* --- 5.0 HERO VIDÉO SECTION — LE FILM D'OUVERTURE (SECTION 1 DU SITE) --- */
.hero-video-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height) - var(--top-notice-height));
  min-height: 600px;
  max-height: 960px;
  overflow: hidden;
  background-color: var(--c-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--c-border);
}

@supports (height: 100dvh) {
  .hero-video-section {
    height: calc(100dvh - var(--header-height) - var(--top-notice-height));
  }
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 25, 0.50) 0%,
    rgba(6, 13, 25, 0.30) 40%,
    rgba(6, 13, 25, 0.75) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-video-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 60px 24px;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-video-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-video-logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.hero-video-logo-img:hover {
  transform: scale(1.04);
}

.hero-video-divider {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
  font-weight: 200;
}

.hero-video-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D6A862;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.hero-video-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-video-title em {
  font-style: italic;
  font-weight: 300;
  color: #F8E9C9;
}

.hero-video-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.15rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto 30px auto;
  line-height: 1.65;
  font-weight: 300;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #FFFFFF;
  color: var(--c-navy);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid #FFFFFF;
  border-radius: 2px;
  transition: all var(--trans);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.btn-hero-video:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.btn-hero-video-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  transition: all var(--trans);
}

.btn-hero-video-ghost:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
}

.hero-video-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: floatDown 2.2s ease-in-out infinite;
  text-decoration: none;
}

@keyframes floatDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* --- 5.1 Hero Section : Maison de Création (Structure de Référence 50/50 Plein Écran) --- */
#univers {
  --hero-h: calc(100vh - var(--header-height) - var(--top-notice-height));
  min-height: var(--hero-h);
}

@supports (height: 100dvh) {
  #univers {
    --hero-h: calc(100dvh - var(--header-height) - var(--top-notice-height));
  }
}

#univers .split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--hero-h);
  align-items: stretch;
  width: 100%;
}

#univers .split-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--hero-h);
  background-color: var(--c-bg-canvas);
  overflow: hidden;
}

#univers .split-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#univers .split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(36px, 5.5vw, 84px);
  max-width: 640px;
}

#univers .lore-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-light);
  font-weight: 500;
  display: block;
  margin-bottom: 18px;
}

#univers .lore-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  margin-bottom: 24px;
}

#univers .lore-title em {
  font-style: italic;
  font-weight: 400;
}

#univers .lore-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-style: italic;
  color: var(--c-navy);
  line-height: 1.6;
  border-left: 1px solid var(--c-navy);
  padding-left: 20px;
  margin-bottom: 28px;
}

#univers .lore-text {
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.95;
  color: var(--c-text-muted);
  margin-bottom: 36px;
  font-weight: 300;
}

.split-content,
.lore-content,
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(36px, 5.5vw, 84px);
  background-color: var(--c-bg);
  position: static;
}

.lore-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-light);
  font-weight: 500;
  display: block;
  margin-bottom: 16px;
}

.lore-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.lore-title em {
  font-style: italic;
  font-weight: 400;
}

.lore-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--c-navy);
  line-height: 1.6;
  border-left: 1px solid var(--c-navy);
  padding-left: 20px;
  margin-bottom: 24px;
}

.lore-text {
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--c-text-muted);
  margin-bottom: 36px;
}

.lore-anchor {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: max-content;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
  border-bottom: 1px solid var(--c-navy);
  padding-bottom: 6px;
  transition: opacity var(--trans);
}

.lore-anchor:hover {
  opacity: 0.7;
}

.btn-atelier--hero {
  width: auto;
  min-width: 280px;
  max-width: fit-content;
  padding: 16px 28px;
  margin-top: 4px;
  margin-bottom: 22px;
}

@media (max-width: 600px) {
  .btn-atelier--hero {
    width: 100%;
    min-width: 100%;
  }
}

/* Product Content Panel */
.product-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(36px, 5.5vw, 84px);
  max-width: 640px;
}

.product-meta {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-light);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--c-navy);
  margin-bottom: 18px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--c-navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.product-edition-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-light);
}

.product-color-spec {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B1528 50%, #FFFFFF 50%);
  border: 1px solid var(--c-border);
  display: inline-block;
  flex-shrink: 0;
}

.product-narrative {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--c-text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.product-narrative strong {
  font-weight: 500;
  color: var(--c-navy);
}

/* Atelier Order Action (Bespoke & Elegant) */
.btn-atelier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--c-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 18px 16px;
  font-size: clamp(0.68rem, 0.9vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--c-navy);
  transition: all var(--trans);
  margin-bottom: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.btn-atelier:hover {
  background-color: var(--c-navy-soft);
  color: #FFFFFF;
}

.product-guarantee-line {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-light);
  text-align: center;
  margin-bottom: 32px;
}

/* Accordéons */
.product-accordions {
  border-top: 1px solid var(--c-border);
}

.accordion-item {
  border-bottom: 1px solid var(--c-border);
}

.accordion-trigger {
  width: 100%;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-navy);
  text-align: left;
}

.accordion-sign {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--c-text-light);
  transition: transform var(--trans);
}

.accordion-item.active .accordion-sign {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  font-size: 0.86rem;
  color: var(--c-text-muted);
  line-height: 1.85;
}

.accordion-item.active .accordion-panel {
  max-height: 480px;
  padding-bottom: 22px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  border-bottom: 1px dotted var(--c-border-subtle);
  padding-bottom: 4px;
}

.spec-line strong {
  color: var(--c-navy);
  font-weight: 400;
}

/* --- 6. Galerie Éditoriale d'Angles (Chapitre IV · La Pièce) --- */
.section-product-split {
  --hero-h: calc(100vh - var(--header-height) - var(--top-notice-height));
  min-height: var(--hero-h);
}

@supports (height: 100dvh) {
  .section-product-split {
    --hero-h: calc(100dvh - var(--header-height) - var(--top-notice-height));
  }
}

.section-product-split .split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--c-border);
  min-height: var(--hero-h);
  width: 100%;
}

.product-gallery-editorial {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--hero-h);
  background-color: var(--c-bg-canvas);
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Scène Principale Plein Format (Même taille et structure que Maison de Création) */
.editorial-gallery__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--hero-h);
  background-color: var(--c-bg-canvas);
  overflow: hidden;
  border: none;
  border-right: 1px solid var(--c-border);
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  margin: 0;
}

/* Slides & Crossfade */
.editorial-gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0s linear 0.8s;
  z-index: 1;
  pointer-events: none;
}

.editorial-gallery__slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0s linear 0s;
  z-index: 2;
  pointer-events: auto;
}

.editorial-gallery__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Léger zoom au hover, sans effet excessif */
.editorial-gallery__stage:hover .editorial-gallery__slide.active img {
  transform: scale(1.03);
}

/* Commandes de navigation vectorielles minimalistes, discrètes et centrées */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(18, 26, 36, 0.08);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  padding: 0;
}

.gallery-arrow--prev {
  left: 24px;
}

.gallery-arrow--next {
  right: 24px;
}

.editorial-gallery__stage:hover .gallery-arrow {
  opacity: 0.65;
}

.gallery-arrow:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-gold);
  transform: translateY(-50%) scale(1.06);
}

/* Pagination / Badge Minimaliste */
.editorial-gallery__meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(18, 26, 36, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FAF8F4;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  pointer-events: none;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

.gallery-meta-num {
  font-family: var(--font-sans);
  color: var(--c-gold);
  font-weight: 600;
}

.gallery-meta-divider {
  color: rgba(255, 255, 255, 0.4);
}

.gallery-meta-label {
  letter-spacing: 0.14em;
  color: #FAF8F4;
}

/* Fine ligne de progression discrète (rythme des 3s) */
.editorial-gallery__timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 11;
  overflow: hidden;
}

.editorial-gallery__timer-progress {
  width: 0%;
  height: 100%;
  background: var(--c-gold);
  transition: width 0.05s linear;
}

/* --- 7. Étape 3 : L'Exigence de la Matière --- */
.editorial-spread {
  padding: clamp(96px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--c-border);
  background-color: var(--c-bg);
}

.editorial-spread--canvas {
  background-color: var(--c-bg-canvas);
}

/* Watermark Pattern Background (Faint Arabic Calligraphy) */
.section-watermark {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
}

.section-watermark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/trame-fond-watermark.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.section-watermark > .container {
  position: relative;
  z-index: 1;
}

.spread-image-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  background-color: var(--c-bg-canvas);
  overflow: hidden;
}

.spread-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.spread-prose {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.spread-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-light);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.spread-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.spread-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--c-navy);
  margin-bottom: 28px;
}

#matiere .container--editorial {
  max-width: 980px;
}

#matiere .spread-quote {
  font-size: clamp(1.1rem, 1.65vw, 1.42rem);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

#matiere .spread-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Finitions Comparaison Cards (Chapitre I) --- */
.matiere-finitions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.finition-box {
  background-color: #FFFFFF;
  border: 1px solid var(--c-border);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
}

.finition-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.finition-box--premium {
  border-top: 3px solid var(--c-gold);
}

.finition-box--regular {
  border-top: 3px solid #2E6B47;
}

.finition-box__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 2px;
}

.finition-box--premium .finition-box__badge {
  background-color: rgba(150, 120, 74, 0.12);
  color: var(--c-gold);
}

.finition-box--regular .finition-box__badge {
  background-color: rgba(46, 107, 71, 0.12);
  color: #2E6B47;
}

.finition-box__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--c-navy);
  margin-bottom: 10px;
  font-weight: 400;
}

.finition-box__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--c-text-muted);
  flex-grow: 1;
}

.finition-confection-grid {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}

.finition-confection-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.finition-confection-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--c-bg-canvas);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--c-gold);
  flex-shrink: 0;
}

.finition-confection-text h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-bottom: 6px;
  font-weight: 600;
}

.finition-confection-text p {
  font-size: 0.86rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .matiere-finitions,
  .finition-confection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 740px) {
  #matiere .spread-quote {
    white-space: normal;
  }
}

.spread-text {
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--c-text-muted);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 300;
}

/* --- 8. Étape 4 : L'Allure et le Geste (Les 3 Nouages) --- */
.styling-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1140px;
  margin: 56px auto 0 auto;
  text-align: left;
}

.styling-card {
  border-top: 1px solid var(--c-navy);
  padding-top: 24px;
}

.styling-num {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-light);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.styling-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.styling-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--c-text-muted);
  font-weight: 300;
}

/* --- 9. Étape 5 : La Culture comme Signature (Calligraphie) --- */
#culture .container {
  max-width: 1380px;
}

.cultural-diptych {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(48px, 5.5vw, 96px);
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}

/* Triptyque Éditorial d'Atelier (Collage asymétrique de 3 angles) */
.cultural-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 0.81 / 1;
  max-width: 720px;
  margin: 0 auto;
  perspective: 800px;
}

.cultural-collage__item {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(18, 26, 36, 0.10);
  transition: box-shadow 0.6s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.cultural-collage__item:hover {
  box-shadow: 0 24px 52px rgba(18, 26, 36, 0.16);
}

.cultural-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cultural-collage__item:hover img {
  transform: scale(1.035);
}

/* 1. Haut Gauche : Modèle au pull émeraude */
.cultural-collage__item--model-green {
  top: 0;
  left: 0;
  width: 60%;
  height: 64%;
  z-index: 1;
}

.cultural-collage__item--model-green img {
  object-position: center top;
}

/* 2. Haut Droite : Table de coupe d'atelier (Premier Plan) */
.cultural-collage__item--workshop {
  top: 3.5%;
  right: 0;
  width: 54%;
  height: 52%;
  z-index: 4; /* Premier plan au-dessus des autres visuels */
}

.cultural-collage__item--workshop img {
  object-position: center 40%;
}

/* 3. Bas : Modèle au manteau de laine marine */
.cultural-collage__item--model-navy {
  bottom: 0;
  left: 27%;
  width: 54%;
  height: 57%;
  z-index: 2;
}

.cultural-collage__item--model-navy img {
  object-position: center 15%;
}

.cultural-prose {
  padding: 16px 0;
}

/* Cultural Calligraphy Display (Pure, Minimalist & Flush Left as per Reference) */
.cultural-box {
  background: transparent;
  border: none;
  padding: 16px 0 12px 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cultural-box .calligraphy-script {
  font-family: 'Amiri', 'Geeza Pro', 'Traditional Arabic', serif;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 400;
  color: var(--c-navy);
  line-height: 1.25;
  margin-bottom: 8px;
  align-self: flex-start;
  text-align: left;
  direction: rtl;
  unicode-bidi: isolate;
}

.cultural-box-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #7E7B75;
  font-weight: 400;
  text-align: left;
  align-self: flex-start;
}

/* --- 10. Étape 6 : Le Certificat d'Authenticité & Commande Atelier --- */
.section-certificate {
  padding: clamp(64px, 8vw, 112px) 0;
  background-color: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.certificate-card {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--c-bg-card);
  border: 1px solid var(--c-border);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.certificate-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--c-gold-subtle);
  pointer-events: none;
}

.certificate-seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px auto;
  color: var(--c-gold);
  opacity: 0.85;
}

.certificate-seal-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sceau d'Artisan Vectoriel & Micro-Rotation Feutrée (Cycle 60s) */
.seal-rotor {
  transform-origin: 50px 50px;
  animation: sealSlowRotate 60s linear infinite;
  will-change: transform;
}

@keyframes sealSlowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seal-rotor {
    animation: none !important;
  }
}

.certificate-house {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
  margin-bottom: 4px;
}

.certificate-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 24px;
}

.certificate-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--c-navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.certificate-number {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  padding: 4px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--c-border);
}

.certificate-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--c-text-muted);
  max-width: 520px;
  margin: 0 auto 28px auto;
}

.certificate-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
  margin-bottom: 28px;
}

.cert-spec-item {
  font-size: 0.75rem;
}

.cert-spec-label {
  color: var(--c-text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  display: block;
}

.cert-spec-val {
  color: var(--c-navy);
  font-weight: 500;
}

.certificate-signature-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
  margin-top: 16px;
}

.cert-sig-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 0.72rem;
  color: var(--c-navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.cert-sig-sub {
  font-size: 0.62rem;
  color: var(--c-text-light);
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.cert-sig-hand {
  color: var(--c-navy);
  opacity: 0.85;
}

.sig-svg {
  display: block;
  overflow: visible;
}

/* --- Micro-Interactions : Scroll Reveal Feutré (Luxe Silencieux) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.styling-card.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.styling-card.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 11. Feuille de Correspondance Privée (Commande par Email One-to-One) --- */
.atelier-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 21, 40, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
}

.atelier-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.atelier-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--c-bg-card);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.12);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--trans);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.atelier-drawer.open {
  transform: translateX(0);
}

.atelier-drawer__header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}

.atelier-drawer__tag {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.atelier-drawer__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--c-navy);
}

.atelier-drawer__close {
  font-size: 1.6rem;
  color: var(--c-text-light);
  line-height: 1;
  transition: color var(--trans);
  background: none;
  border: none;
  padding: 4px;
}

.atelier-drawer__close:hover {
  color: var(--c-navy);
}

/* Form Container with Docked Footer */
.correspondence-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  height: calc(100% - 73px);
}

.atelier-drawer__body {
  padding: 18px 28px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atelier-drawer__footer {
  flex-shrink: 0;
  padding: 14px 28px 18px 28px;
  border-top: 1px solid var(--c-border);
  background-color: var(--c-bg-card);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
}

/* Compact Piece Summary */
.atelier-piece-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-border);
}

.atelier-piece-card__thumb {
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-border);
  background-color: var(--c-bg-canvas);
  object-fit: cover;
  flex-shrink: 0;
}

.atelier-piece-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.atelier-piece-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.atelier-piece-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--c-navy);
  font-weight: 500;
}

.atelier-piece-card__price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--c-navy);
  font-weight: 600;
  white-space: nowrap;
}

.atelier-piece-card__sub {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.atelier-piece-card__rarity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.atelier-rarity-tag {
  font-size: 0.64rem;
  letter-spacing: 0.025em;
  color: var(--c-gold);
  font-weight: 500;
  line-height: 1.35;
}

.atelier-rarity-track {
  width: 100%;
  height: 2px;
  background-color: rgba(18, 26, 36, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.atelier-rarity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-gold), #C4A26C);
  border-radius: 1px;
}

/* Form Groups & Grid Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
}

.form-hint {
  font-size: 0.68rem;
  color: var(--c-text-light);
  line-height: 1.4;
  margin-top: 1px;
}

.form-input {
  width: 100%;
  border: 1px solid var(--c-border);
  background-color: var(--c-bg);
  padding: 9px 12px;
  font-size: 0.84rem;
  color: var(--c-navy);
  border-radius: 0;
  transition: border-color var(--trans);
}

.form-input:focus {
  border-color: var(--c-navy);
  outline: none;
}

.form-input::placeholder {
  color: var(--c-text-subtle);
  font-weight: 300;
  font-size: 0.8rem;
}

.form-textarea {
  min-height: 52px;
  height: 52px;
  resize: vertical;
}

.form-atelier-notice {
  padding: 10px 12px;
  background-color: #FAF8F4;
  border-left: 2px solid var(--c-gold);
  font-size: 0.7rem;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* Confirmation de Correspondance */
.atelier-confirmation {
  display: none;
  text-align: center;
  padding: 36px 24px;
  flex: 1;
  overflow-y: auto;
}

.atelier-confirmation.show {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.atelier-confirmation__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px auto;
  color: var(--c-gold);
}

.atelier-confirmation__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--c-navy);
  margin-bottom: 16px;
}

.atelier-confirmation__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--c-text-muted);
  margin-bottom: 32px;
}

.atelier-confirmation__btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

/* --- 12. Minimal Footer --- */
.footer {
  padding: 88px 0 44px 0;
  border-top: 1px solid var(--c-border);
  background-color: var(--c-bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 64px;
}

.footer__brand-title {
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: 12px;
}

.footer__brand-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.85;
  max-width: 340px;
}

.footer__column-title {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  transition: color var(--trans);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
  padding-top: 32px;
  font-size: 0.72rem;
  color: var(--c-text-light);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- 13. Responsive --- */
@media (max-width: 1180px) {
  .split-layout,
  .lore-split,
  .product-grid {
    grid-template-columns: 1fr;
  }
  #univers {
    min-height: auto;
  }
  #univers .split-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .split-media,
  .lore-media,
  .product-visual,
  #univers .split-media {
    min-height: 480px;
    height: 60vw;
  }
  .split-media img,
  #univers .split-media img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .split-content,
  .lore-content,
  .product-info,
  .product-content-wrap,
  #univers .split-content {
    padding: 48px 24px;
    max-width: 100%;
  }
  .cultural-diptych {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cultural-collage {
    max-width: 580px;
  }
  .styling-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header {
    height: var(--header-height);
  }

  .header__inner {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header__brand {
    font-size: clamp(0.72rem, 3.2vw, 0.82rem);
    letter-spacing: 0.12em;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 0;
  }

  .header__brand-name {
    display: inline-block;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .header__nav {
    display: none;
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
    padding-right: 0;
  }

  /* Bouton Menu Mobile : Discret, compact & ultra-ergonomique */
  .header__sommaire-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--c-navy);
    font-weight: 500;
    padding: 0 9px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background-color: #FFFFFF;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header__sommaire-btn:hover,
  .header__sommaire-btn:active {
    border-color: var(--c-navy);
    background-color: var(--c-bg-canvas);
    transform: scale(0.97);
  }

  .sommaire-btn-icon {
    width: 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .sommaire-btn-icon span {
    height: 1.5px;
    background-color: var(--c-navy);
    border-radius: 1px;
  }

  /* Bouton Commander Mobile : Call to Action Haute Façon plein, contrasté & soigné */
  .header__atelier-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.63rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0 11px;
    height: 34px;
    box-sizing: border-box;
    background-color: var(--c-navy);
    color: #FFFFFF;
    border: 1px solid var(--c-navy);
    border-radius: 2px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(11, 21, 40, 0.10);
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header__atelier-link .atelier-link-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.70rem;
    line-height: 1;
  }

  .header__atelier-link:hover,
  .header__atelier-link:active {
    background-color: var(--c-gold);
    border-color: var(--c-gold);
    color: #FFFFFF;
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(150, 120, 74, 0.22);
  }

  .header__atelier-link:hover .atelier-link-arrow,
  .header__atelier-link:active .atelier-link-arrow {
    transform: translate(1px, -1px);
  }

  .spread-text {
    text-align: left;
  }
  .certificate-specs-grid {
    grid-template-columns: 1fr;
  }
  .atelier-drawer {
    max-width: 100%;
  }
  .atelier-drawer__header {
    padding: 24px 20px;
  }
  .atelier-drawer__body {
    padding: 24px 20px;
  }
  .form-input {
    font-size: 16px; /* Empêche le zoom automatique sur iOS */
  }
  .product-gallery {
    max-width: 100%;
  }
  .btn-atelier {
    padding: 16px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 400px) {
  :root {
    --header-height: 58px;
  }

  .header__inner {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
    gap: 6px;
  }

  .header__brand {
    font-size: 0.70rem;
    letter-spacing: 0.10em;
    white-space: nowrap !important;
  }

  .header__actions {
    gap: 5px;
  }

  .header__sommaire-btn {
    padding: 0 8px;
    height: 32px;
    font-size: 0.60rem;
    letter-spacing: 0.08em;
    gap: 4px;
  }

  .header__atelier-link {
    padding: 0 10px;
    height: 32px;
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }

  .btn-atelier {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    padding: 15px 8px;
  }
}

@media (max-width: 360px) {
  .header__inner {
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    gap: 5px;
  }

  .header__brand {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .header__actions {
    gap: 4px;
  }

  .header__sommaire-btn {
    padding: 0 7px;
    font-size: 0.58rem;
    gap: 3px;
  }

  .header__atelier-link {
    padding: 0 9px;
    font-size: 0.59rem;
  }
}

/* --- Finition Selection Pills for Product Section & Reservation Drawer --- */
.finition-select-group {
  margin: 18px 0;
  text-align: left;
}

.finition-select-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 600;
  margin-bottom: 8px;
}

.finition-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.finition-pill {
  border: 1px solid var(--c-border);
  background-color: #FFFFFF;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  user-select: none;
}

.finition-pill:hover {
  border-color: var(--c-navy);
}

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

.finition-pill.selected,
.finition-pill:has(input[type="radio"]:checked) {
  border-color: var(--c-gold);
  background-color: #FAF8F4;
  box-shadow: 0 0 0 1px var(--c-gold);
}

.finition-pill__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finition-pill__tag {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
}

.finition-pill__sub {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  line-height: 1.35;
}

/* Sceau Officiel de la Maison dans le Certificat */
.cert-seal-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 18px auto;
}

.cert-official-stamp {
  width: 78px;
  height: 78px;
  object-fit: contain;
  opacity: 0.88;
  filter: contrast(1.1);
  transition: transform 0.4s ease;
}

.cert-official-stamp:hover {
  transform: rotate(6deg) scale(1.05);
}

.styling-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  margin-bottom: 18px;
  border: 1px solid var(--c-border);
  background-color: var(--c-bg-canvas);
  transition: transform 0.4s ease;
}

.styling-card:hover .styling-card__img {
  transform: scale(1.02);
}

/* Flat Scarf Presentation Frame (Chapitre II) */
.cultural-flat-frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  background-color: #FFFFFF;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(18, 26, 36, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cultural-flat-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(18, 26, 36, 0.12);
}

.cultural-flat-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.cultural-flat-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   LOOKBOOK ÉDITORIAL — FIDÉLITÉ ABSOLUE AU PDF "LE FOULARD HARISSA"
   Pages 1 à 6 fidèlement reproduites en slides haute façon avec copyright
   ========================================================================== */

.pdf-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: calc(var(--header-height, 80px) + clamp(10px, 1.8vh, 24px)) clamp(24px, 5vw, 80px) clamp(70px, 10vh, 110px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.pdf-slide__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.pdf-slide__copyright {
  width: 100%;
  max-width: 1360px;
  margin: 40px auto 0 auto;
  text-align: right;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8E8E8E;
  font-family: var(--font-sans);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* --- Slide 1 : Couverture Plein Cadre (Page 1 du PDF) --- */
.pdf-slide--cover {
  padding: 0;
  background: url('../images/hero-model-harissa.jpg') center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdf-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.48) 100%);
  z-index: 1;
}

.pdf-cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: auto auto;
  padding: 0 clamp(24px, 6vw, 100px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.pdf-cover-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pdf-cover-calligraphy {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.6));
}

.pdf-cover-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

.pdf-cover-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pdf-cover-collab {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.pdf-slide--cover .pdf-slide__copyright {
  color: rgba(255, 255, 255, 0.78);
  padding: 0 clamp(24px, 6vw, 100px) 24px clamp(24px, 6vw, 100px);
  margin-top: 0;
}

/* --- Typographie Signature des Slides PDF --- */
.pdf-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #888888;
  font-weight: 600;
  margin-bottom: 22px;
  font-family: var(--font-sans);
}

.pdf-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #111111;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.pdf-title em {
  font-style: italic;
  font-weight: 300;
}

.pdf-quote-bar {
  border-left: 2px solid #141414;
  padding-left: 20px;
  margin: 24px 0 28px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: #222222;
}

.pdf-text {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.88;
  color: #444444;
  font-weight: 350;
  margin-bottom: 22px;
}

/* Grilles 2 colonnes du PDF */
.pdf-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

#piece .pdf-grid-2 {
  grid-template-columns: 0.95fr 1.15fr;
}

/* --- Slide 2 : Photomontage Asymétrique (Page 2 du PDF) --- */
.pdf-montage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.pdf-montage__main {
  width: 86%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #F8F7F4;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  border: none !important;
  box-shadow: none !important;
}

.pdf-montage__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdf-montage__sub {
  position: absolute;
  right: -3%;
  bottom: -3%; /* Léger débord asymétrique fidèle à la maquette de base */
  width: 58%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #F8F7F4;
  z-index: 4;
  will-change: transform;
  transform: translate3d(0, 0, 35px);
  border: none !important;
  box-shadow: none !important;
}

.pdf-montage__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdf-montage:hover .pdf-montage__main {
  width: 86%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #F8F7F4;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  border: none !important;
  box-shadow: none !important;
}

.pdf-montage:hover .pdf-montage__sub {
  position: absolute;
  right: -3%;
  bottom: -3%; /* Léger débord asymétrique fidèle à la maquette de base */
  width: 58%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #F8F7F4;
  z-index: 4;
  will-change: transform;
  transform: translate3d(0, 0, 35px);
  border: none !important;
  box-shadow: none !important;
}

/* --- Slide 3 : Savoir-Faire Textile avec Filigrane (Page 3 du PDF) --- */
.pdf-slide--watermark {
  position: relative;
}

.pdf-slide--watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/hero-model-harissa.jpg') center center / cover no-repeat;
  opacity: 0.08;
  filter: grayscale(100%) contrast(1.1) brightness(1.2);
  pointer-events: none;
  z-index: 1;
}

.pdf-slide-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pdf-quote-center {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  color: #222222;
  margin: 20px auto 30px auto;
  max-width: 680px;
}

/* --- Slide 4 : Trait d'Union Culturel (Page 4 du PDF) --- */
.pdf-flat-wrap {

  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background-color: #FFFFFF;
  box-sizing: border-box;
  will-change: transform;
  border: none;
  box-shadow: none;
  padding: 0;
}

.pdf-flat-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pdf-calligraphy-block {
  text-align: center;
  margin: 32px 0 28px 0;
  padding: 14px 0;
}

.pdf-calligraphy-img {
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: brightness(0);
}

.pdf-calligraphy-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: #777777;
  margin-top: 10px;
}

/* --- Slide 5 : L'Allure & Le Geste (Page 5 du PDF) --- */
.pdf-slide--knot-watermark {
  position: relative;
}

.pdf-slide--knot-watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/foulard-knot-detail.png') center center / cover no-repeat;
  opacity: 0.06;
  filter: grayscale(100%) contrast(1.1) brightness(1.2);
  pointer-events: none;
  z-index: 1;
}

.pdf-allure-hr {
  width: 100%;
  height: 1px;
  background-color: #D6D2CA;
  margin: 44px 0 36px 0;
  border: none;
}

.pdf-allure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 50px);
  text-align: left;
}

.pdf-allure-col {
  display: flex;
  flex-direction: column;
}

.pdf-allure-num {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: #666666;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.pdf-allure-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  color: #111111;
  margin-bottom: 14px;
  font-weight: 400;
}

.pdf-allure-body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.82;
  color: #555555;
  font-weight: 350;
}

.pdf-allure-thumb {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-allure-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pdf-allure-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Slide 6 : La Pièce d'Exception (Page 6 du PDF) --- */
.pdf-format-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888888;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}

.pdf-piece-photo {

  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #F8F7F4;
  will-change: transform;
  border: none;
  box-shadow: none;
}

.pdf-piece-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Module de Commande Haute Façon sur Slide 6 */
.pdf-order-module {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pdf-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.pdf-price-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: #111111;
}

.pdf-price-detail {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
}

/* Disposition Desktop de la Pièce */
#piece .pdf-grid-2 {
  grid-template-columns: 0.95fr 1.15fr;
}

/* 3 Colonnes Éditoriales Garanties sur Desktop pour l'Allure */
.pdf-allure-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(32px, 4.5vw, 60px) !important;
  text-align: left !important;
  width: 100% !important;
}



/* --- Slide 1 : Le Film d'Atelier & Couverture Unifiée (Section 1) --- */
.hero-video-slide {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #0B1528;
  padding: 0 !important;
}

.hero-video-slide .hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-slide .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-video-slide .pdf-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.58) 100%);
  z-index: 1;
}

.hero-video-slide .pdf-cover-content {
  position: relative;
  z-index: 2;
  margin: auto auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 clamp(24px, 6vw, 100px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.hero-video-slide .pdf-cover-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 100px) 24px clamp(24px, 6vw, 100px);
  box-sizing: border-box;
}

.hero-video-slide .pdf-cover-scroll {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.hero-video-slide .pdf-cover-scroll:hover {
  color: #FFFFFF;
  transform: translateY(2px);
}

/* ==========================================================================
   PREMIÈRE FRAME : FOND VIDÉO EN BOUCLE SANS SON + LOGOS EXACTS & BOUTON CENTRÉ
   ========================================================================== */
.hero-video-frame {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #060D19;
  padding: 0 !important;
  box-sizing: border-box;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.08) 40%,
    rgba(0, 0, 0, 0.16) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-frame-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: auto auto;
  padding: 0 clamp(28px, 6vw, 110px);
  box-sizing: border-box;
}

.hero-frame-logos {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  text-align: center;
}

.hero-frame-logos--center {
  justify-content: center !important;
  text-align: center !important;
}

.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-box--center {
  justify-content: center !important;
  margin: 0 auto !important;
  text-align: center !important;
  width: 100%;
}

.hero-logo-box--left {
  justify-content: flex-start;
}

.hero-logo-box--right {
  justify-content: flex-end;
}

/* Logo Maison Refait avec amour + Calligraphie arabe (Centré dans la 1ère tranche) */
.hero-logo-img--brand {
  height: clamp(54px, 7.5vw, 96px);
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.8));
  transition: transform 0.35s ease;
}

.hero-logo-img--center {
  margin: 0 auto !important;
}

/* Logo Droite : Le Phare du Cap Bon */
.hero-logo-img--collab {
  height: clamp(24px, 3.2vw, 42px);
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.75));
  transition: transform 0.35s ease;
}

.hero-logo-img--brand:hover,
.hero-logo-img--collab:hover {
  transform: scale(1.04);
}

/* Pied de la Première Frame : Bouton Centré et Strictement sur Une Seule Ligne */
.hero-frame-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(28px, 5.5vh, 52px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}

.btn-explore-center {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap !important;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 34px;
  border-radius: 0 !important; /* Angles droits stricts conformes à la DA */
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.9vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto !important;
}

.btn-explore-center:hover {
  background-color: #FFFFFF;
  color: #060D19;
  border-color: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.btn-explore-text {
  white-space: nowrap !important;
  display: inline-block;
}

.btn-explore-arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.35s ease;
}

.btn-explore-center:hover .btn-explore-arrow {
  transform: translateY(3px);
}

/* Responsive Smartphones */
@media (max-width: 768px) {
  .hero-frame-logos {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    text-align: center;
  }

  .hero-logo-box--left,
  .hero-logo-box--right {
    justify-content: center;
  }

  .hero-logo-img--brand {
    height: 48px;
  }

  .hero-logo-img--collab {
    height: 28px;
  }

  .btn-explore-center {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap !important;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 34px;
  border-radius: 0 !important; /* Angles droits stricts conformes à la DA */
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.9vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto !important;
}
}

/* ==========================================================================
   PRINCIPE PLEIN ÉCRAN PAR ÉTAPES (SCROLL SNAP AVEC BANDEAU VISIBLE)
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-height, 80px);
}

/* Le bandeau supérieur : point d'ancrage initial au sommet du site (y = 0) */
.top-notice {
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
  background-color: var(--c-bg-canvas);
  border-bottom: 1px solid var(--c-border);
  height: var(--top-notice-height, 40px);
  min-height: var(--top-notice-height, 40px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 500;
  position: relative;
  z-index: 102;
}

/* La première frame (vidéo) complète la hauteur pour que Bandeau + Header + Vidéo fassent exactement 100vh */
.hero-video-frame {
  height: calc(100vh - var(--header-height, 80px) - var(--top-notice-height, 40px)) !important;
  min-height: calc(100vh - var(--header-height, 80px) - var(--top-notice-height, 40px)) !important;
  scroll-snap-align: none !important;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #060D19;
  padding: 0 !important;
  box-sizing: border-box;
}

@supports (height: 100dvh) {
  .hero-video-frame {
    height: calc(100dvh - var(--header-height, 80px) - var(--top-notice-height, 40px)) !important;
    min-height: calc(100dvh - var(--header-height, 80px) - var(--top-notice-height, 40px)) !important;
  }
}

/* Les étapes suivantes (#univers, #matiere, etc.) occupent 100vh avec ancrage snap */
.pdf-slide,
.section-certificate {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* Rendre le footer directement accessible avec ancrage snap */
.footer {
  scroll-snap-align: start !important;
  scroll-snap-stop: normal !important;
  position: relative;
  z-index: 2;
}

.section-certificate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
  }
}

/* === MOBILE_RESPONSIVE_MASTER_V1 === */
/* ==========================================================================
   EXPÉRIENCE MOBILE HAUTE FAÇON (SMARTPHONES & TABLETTES <= 900PX)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    scroll-snap-type: y proximity !important;
  }

  :root {
    --header-height: 60px;
    --top-notice-height: 36px;
  }

  /* Bandeau supérieur lisible et sans débord */
  .top-notice {
    font-size: 0.58rem !important;
    letter-spacing: 0.10em !important;
    padding: 7px 12px !important;
    line-height: 1.35 !important;
    height: auto !important;
    min-height: var(--top-notice-height) !important;
    box-sizing: border-box !important;
  }

  /* Header compact avec marque en 1 ligne et boutons bien dimensionnés */
  .header {
    height: var(--header-height) !important;
  }

  .header__inner {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
    gap: 8px !important;
  }

  .header__brand {
    font-size: 0.78rem !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
  }

  .header__brand-name {
    white-space: nowrap !important;
  }

  .header__nav {
    display: none !important;
  }

  .header__actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .header__sommaire-btn {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
  }

  .header__atelier-link {
    height: 32px !important;
    padding: 0 11px !important;
    font-size: 0.63rem !important;
    letter-spacing: 0.08em !important;
  }

  /* Première frame vidéo plein écran vertical */
  .hero-video-frame {
    height: calc(100vh - var(--header-height) - var(--top-notice-height)) !important;
    min-height: calc(100dvh - var(--header-height) - var(--top-notice-height)) !important;
    padding: 0 !important;
  }

  .hero-frame-content {
    padding: 0 20px !important;
  }

  .hero-frame-logos {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-logo-img--brand {
    height: clamp(38px, 10vw, 46px) !important;
    max-width: 82vw !important;
  }

  .hero-logo-img--collab {
    height: clamp(22px, 5.5vw, 28px) !important;
    max-width: 72vw !important;
  }

  .hero-frame-footer {
    padding-bottom: 24px !important;
  }

  .btn-explore-center {
    padding: 11px 22px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.14em !important;
    gap: 8px !important;
  }

  /* Passage strict à 1 seule colonne verticale pour toutes les grilles */
  .pdf-grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Étape 2 (#univers) : Photomontage adapté à l'écran mobile */
  .pdf-montage {
    max-width: min(100%, 380px) !important;
    margin: 0 auto 16px auto !important;
    perspective: none !important;
    transform: none !important;
  }

  .pdf-montage__main {
    width: 88% !important;
    transform: none !important;
  }

  .pdf-montage__sub {
    width: 58% !important;
    bottom: -3% !important;
    right: -2% !important;
    transform: none !important;
  }

  /* Étape 4 (#culture) : Carré à plat pleine largeur */
  .pdf-flat-wrap {
    max-width: min(100%, 340px) !important;
    margin: 0 auto 20px auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  /* Étape 5 (#allure) : 3 Colonnes verticales */
  .pdf-allure-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }

  .pdf-allure-hr {
    margin: 22px 0 !important;
  }

  /* Étape 6 (#piece) : Photo du mannequin au-dessus du module d'achat pour une hiérarchie parfaite */
  #piece .pdf-grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
  }

  #piece .pdf-piece-photo {
    order: -1 !important;
    max-width: min(100%, 340px) !important;
    margin: 0 auto 10px auto !important;
    transform: none !important;
  }

  /* Pills de finition pleine largeur tactiles sur mobile */
  .finition-pills {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .finition-pill {
    padding: 11px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .finition-pill__title {
    font-size: 0.82rem !important;
  }

  .finition-pill__sub {
    font-size: 0.72rem !important;
  }

  .pdf-price-row {
    margin: 14px 0 16px 0 !important;
  }

  .pdf-price-val {
    font-size: 1.85rem !important;
  }

  /* Bouton commander pleine largeur sur mobile */
  .btn-atelier {
    padding: 14px 18px !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.12em !important;
  }

  /* Typographie fluide adaptée aux écrans de smartphones */
  .pdf-title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
  }

  .pdf-kicker {
    font-size: 0.65rem !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 12px !important;
  }

  .pdf-quote-bar {
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
    padding-left: 12px !important;
    margin: 14px 0 !important;
  }

  .pdf-quote-center {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    margin: 14px auto 20px auto !important;
  }

  .pdf-text {
    font-size: 0.88rem !important;
    line-height: 1.68 !important;
    margin-bottom: 14px !important;
  }

  /* Sections adaptées sans coupure verticale */
  .pdf-slide {
    height: auto !important;
    min-height: auto !important;
    padding: calc(var(--header-height) + 20px) 18px 44px 18px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    overflow: visible !important;
  }

  .pdf-slide__inner {
    max-height: none !important;
    height: auto !important;
  }

  /* Certificat d'authenticité sur mobile */
  .section-certificate {
    height: auto !important;
    min-height: auto !important;
    padding: calc(var(--header-height) + 20px) 14px 44px 14px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
  }

  .certificate-card {
    padding: 26px 16px !important;
    max-width: 100% !important;
  }

  .certificate-title {
    font-size: 1.45rem !important;
  }

  .certificate-text {
    font-size: 0.80rem !important;
    line-height: 1.58 !important;
  }

  .certificate-specs-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Footer sur mobile */
  .footer {
    height: auto !important;
    min-height: auto !important;
    padding: 44px 18px 32px 18px !important;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 28px !important;
  }
}

/* ==========================================================================
   RESPECT STRICT DE LA MISE EN PAGE DESKTOP (3 COLONNES ALLURE & 2 COLONNES GRILLES)
   ========================================================================== */
@media (min-width: 769px) {
  .pdf-allure-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: clamp(32px, 4.5vw, 64px) !important;
    text-align: left !important;
    width: 100% !important;
  }

  .pdf-grid-2 {
    display: grid !important;
    grid-template-columns: 1.15fr 0.95fr !important;
    gap: clamp(48px, 6vw, 100px) !important;
    align-items: center !important;
    width: 100% !important;
  }

  #piece .pdf-grid-2 {
    grid-template-columns: 0.95fr 1.15fr !important;
  }

  .pdf-montage {
    max-width: 680px !important;
    margin: 0 auto !important;
  }

  .pdf-flat-wrap {
    max-width: 650px !important;
    margin: 0 auto !important;
  }

  .pdf-piece-photo {
    max-width: 650px !important;
    margin: 0 auto !important;
  }
}
/* Accès garanti et ancrage fluide au Footer */
.footer {
  scroll-snap-align: start !important;
  position: relative !important;
  z-index: 2 !important;
}

/* ==========================================================================
   NAVIGATION TABLETTE & MOBILE (MODE BURGER / SOMMAIRE ACTIF DÈS <= 1024PX)
   ========================================================================== */
@media (max-width: 1180px) {
  .header__nav {
    display: none !important;
  }

  .header__sommaire-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-navy);
    font-weight: 500;
    padding: 0 11px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background-color: #FFFFFF;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header__sommaire-btn:hover,
  .header__sommaire-btn:active {
    border-color: var(--c-navy);
    background-color: var(--c-bg-canvas);
    transform: scale(0.97);
  }

  .sommaire-btn-icon {
    width: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .sommaire-btn-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--c-navy);
  }

  .header__actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .header__brand {
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   INTERDICTION STRICTE DU MENU SUR 2 LIGNES
   ========================================================================== */
.header__nav {
  white-space: nowrap !important;
}

.nav__link {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-block !important;
}

@media (max-width: 1180px) {
  .header__nav {
    display: none !important;
  }

  .header__sommaire-btn {
    display: inline-flex !important;
  }
}
