/* ===================================================
   STONEEDA – Style moderne & luxueux
   Palette : sable chaud / terracotta / brun profond
   =================================================== */

:root {
  --gold:        #8B3A28;
  --gold-light:  #A84838;
  --gold-dark:   #6B2E1C;
  --dark:        #2A1E16;
  --dark2:       #F7F3EE;
  --dark3:       #EDE6DC;
  --grey:        #9A8E84;
  --grey-light:  #6A5E54;
  --white:       #2A1E16;
  --white-off:   #F7F3EE;
  --bg-main:     #FAF5EF;
  --bg-alt:      #EFE7D9;
  --bg-card:     #FFFFFF;
  --text-main:   #2A1E16;
  --text-muted:  #7A6C62;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
  --transition:  0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --radius:      4px;
  --max-w:       1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--gold);
  color: #FAF5EF;
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,58,40,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(42,30,22,0.35);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.full-w { width: 100%; text-align: center; }

/* ── Section headers ──────────────────── */
.section-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.section-header.light h2 { color: var(--text-main); }
.section-header.light .section-label { color: var(--gold-dark); }
.section-header.light p { color: var(--text-muted); }

/* ====================================================
   NAVBAR
   ==================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 32px;
}
#navbar.scrolled {
  background: rgba(250,245,239,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(139,58,40,0.18), 0 2px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 90px;
}
.logo { display: flex; align-items: center; }
.logo-img {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
  transform: scale(1.2);
  transition: opacity var(--transition), box-shadow var(--transition);
}
.logo-img:hover {
  opacity: 0.85;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(139,58,40,0.3);
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  line-height: 1;
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42,30,22,0.75);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-active { color: var(--gold-dark); font-weight: 700; }
.nav-links a.nav-active::after { width: 100%; background: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 24px; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--grey);
}
.lang-btn {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--grey-light);
  transition: color var(--transition);
  padding: 2px;
}
.lang-btn:hover, .lang-btn.active { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 1px;
  background: var(--text-main);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ====================================================
   HERO
   ==================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active {
  opacity: 1;
  animation: kenBurns1 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.slide:nth-child(2).active { animation-name: kenBurns2; }
.slide:nth-child(3).active { animation-name: kenBurns3; }

@keyframes kenBurns1 {
  from { transform: scale(1.0); }
  to   { transform: scale(1.04); }
}
@keyframes kenBurns2 {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
@keyframes kenBurns3 {
  from { transform: scale(1.0); }
  to   { transform: scale(1.04); }
}


/* Fonds carrousel */
.slide:nth-child(1) { background-color: #1a1008; } /* fond sombre pendant chargement vidéo */

/* Slide vidéo */
.slide--video { overflow: hidden; }
.slide--video.active { animation: none; transform: none; } /* pas de Ken Burns sur la vidéo */
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.slide:nth-child(2) { background-image: url('fond2.png'); }
.slide:nth-child(3) { background-image: url('fond 3.png'); }

/* Slide logo : EE positionné sous STONEEDA avec gap de ~2cm */
.slide--logo {
  background-size: cover;
  background-position: center 35%;
}
@media (max-width: 768px) {
  .slide--logo {
    background-size: cover;
    background-position: center 30%;
  }
}

/* Texture pierre animée sur chaque slide */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      105deg,
      transparent 0px,
      transparent 80px,
      rgba(139,58,40,0.06) 80px,
      rgba(139,58,40,0.06) 81px
    ),
    repeating-linear-gradient(
      15deg,
      transparent 0px,
      transparent 120px,
      rgba(255,255,255,0.12) 120px,
      rgba(255,255,255,0.12) 121px
    );
  animation: textureDrift 20s linear infinite;
}
.slide:nth-child(even)::before { animation-direction: reverse; animation-duration: 25s; }

/* Lueur terracotta animée */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,58,40,0.10) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes textureDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 200px 200px, -150px 150px; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(250,243,235,0.22) 0%,
      rgba(246,238,228,0.04) 45%,
      rgba(232,220,204,0.68) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #000000;
  margin-top: 5%;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 14vh;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-tagline {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 12px;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto;
  opacity: 0;
  animation: scaleIn 1s 0.9s forwards;
}
.hero-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(42,30,22,0.75);
  letter-spacing: 0.06em;
  margin-top: 10%;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.3s forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42,30,22,0.45);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
.slide-dots {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.slide-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* ====================================================
   STATS
   ==================================================== */
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-item {
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-sym {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
}
.stat-item p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(139,58,40,0.25);
}

/* ====================================================
   SERVICES
   ==================================================== */
#services {
  padding: 112px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--bg-card);
  padding: 48px 36px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}
.service-card:hover { background: var(--bg-alt); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 28px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.services-docs-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 24px 36px;
  border-top: 1px solid rgba(139,58,40,0.15);
  background: rgba(210,160,80,0.07);
}
.docs-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.service-downloads {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.download-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.99rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.download-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--gold);
}
.download-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ====================================================
   RÉALISATIONS
   ==================================================== */
#realisations {
  padding: 112px 32px;
  background: url('Fond inspiration.png') center center / cover no-repeat;
}
#realisations .section-header { margin-bottom: 48px; }
#realisations .section-label,
#realisations .section-header h2 {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 24px rgba(255,255,255,0.4);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.filter-btn {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 22px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 30px;
  transition: var(--transition);
  background: var(--bg-card);
}
.filter-btn:hover, .filter-btn.active {
  color: #FAF5EF;
  background: var(--gold);
  border-color: var(--gold);
}
.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.45s ease;
}
.gallery-item.hidden { display: none; }
.gallery-item:hover {
  transform: scale(1.03);
  z-index: 3;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(139,58,40,0.35);
}
/* Bordure dorée au survol */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(139,58,40,0);
  transition: border-color 0.35s ease;
  z-index: 5;
  pointer-events: none;
}
.gallery-item:hover::after { border-color: rgba(139,58,40,0.55); }

.gallery-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  background-color: #c8bfb0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(139,58,40,0.07) 0px, rgba(139,58,40,0.07) 1px,
      transparent 1px, transparent 40px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 1px,
      transparent 1px, transparent 40px
    );
}
.gallery-item:hover .gallery-img { transform: scale(1.14); }

/* Icône loupe */
.gallery-zoom-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(10,8,6,0.65);
  border: 1px solid rgba(139,58,40,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 6;
  pointer-events: none;
}
.gallery-zoom-icon svg { width: 15px; height: 15px; stroke: #FAF5EF; fill: none; stroke-width: 2; }
.gallery-item:hover .gallery-zoom-icon { opacity: 1; transform: scale(1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 58%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #FAF5EF;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.05s;
}
.gallery-overlay p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 4px;
  transform: translateY(8px);
  transition: transform 0.4s ease 0.1s;
}
.gallery-item:hover .gallery-overlay h4 { transform: translateY(0); }
.gallery-item:hover .gallery-overlay p  { transform: translateY(0); }

/* ====================================================
   PAGE HEADER (catalogue.html et futures pages)
   ==================================================== */
.page-header {
  padding: 160px 32px 80px;
  background:
    linear-gradient(180deg, rgba(250,245,239,0) 60%, var(--bg-main) 100%),
    linear-gradient(135deg, #e4dbd0 0%, #d8cfC4 40%, #ccC4b8 70%, #dcd5ca 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,58,40,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,58,40,0.07) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-main);
  margin: 12px 0 20px;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.page-breadcrumb a { color: var(--gold-dark); }
.page-breadcrumb a:hover { text-decoration: underline; }

/* ====================================================
   CATALOGUE
   ==================================================== */
#catalogue {
  padding: 80px 32px 112px;
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0px, transparent 80px,
      rgba(180,155,120,0.07) 80px, rgba(180,155,120,0.07) 82px,
      transparent 82px, transparent 160px
    ),
    repeating-linear-gradient(
      52deg,
      transparent 0px, transparent 120px,
      rgba(160,135,100,0.06) 120px, rgba(160,135,100,0.06) 121px,
      transparent 121px, transparent 240px
    ),
    linear-gradient(135deg,
      #ede3d4 0%, #e4d8c4 15%,
      #ecdfc9 30%, #e0d4bc 45%,
      #e8dece 60%, #ddd1bb 75%,
      #e5dac8 90%, #e0d5c0 100%
    );
}
#catalogue .section-header { margin-bottom: 48px; }

/* ── Barre de recherche ── */
.cat-search-bar {
  max-width: 680px;
  margin: 0 auto 36px;
  padding: 0 24px;
}
.cat-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(212,175,95,0.55);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(212,175,95,0);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.cat-search-wrap:focus-within {
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3), 0 0 18px rgba(212,175,95,0.18);
}
.cat-search-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-left: 18px;
  opacity: 0.9;
  pointer-events: none;
}
.cat-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 14px 16px 12px;
  font-size: 1.05rem;
  color: var(--light);
  font-family: inherit;
  letter-spacing: 0.03em;
}
.cat-search-input::placeholder {
  color: rgba(240,234,220,0.55);
  font-style: italic;
}
.cat-search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 18px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.cat-search-clear:hover { opacity: 1; }
.cat-search-clear.hidden { display: none; }

/* ── Filtres multi-critères ── */
.cat-filters {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  min-height: 52px;
}
.filter-group:last-of-type { border-bottom: none; }
.filter-group-label {
  min-width: 100px;
  padding: 14px 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid rgba(0,0,0,0.07);
  background: rgba(0,0,0,0.015);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.filter-group-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
}
.flt-btn {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.flt-btn:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: rgba(210,160,80,0.07);
}
.flt-btn.active {
  color: #FAF5EF;
  background: var(--gold);
  border-color: var(--gold);
}
.flt-btn.disabled,
.flt-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  background: transparent !important;
  color: var(--text-muted) !important;
  border-color: rgba(0,0,0,0.06) !important;
}
.flt-btn.disabled .flt-count,
.flt-btn:disabled .flt-count {
  background: rgba(0,0,0,0.04);
  color: var(--text-muted);
}
.flt-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  letter-spacing: 0;
  vertical-align: middle;
  line-height: 1.4;
  transition: background 0.18s, color 0.18s;
}
.flt-btn.active .flt-count {
  background: rgba(255,255,255,0.22);
  color: #FAF5EF;
}
.flt-btn:hover:not(.disabled):not(:disabled) .flt-count {
  background: rgba(210,160,80,0.18);
  color: var(--gold-dark);
}

/* Empty state */
.cat-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.cat-empty.hidden { display: none; }
.cat-empty-icon {
  font-size: 3rem;
  color: rgba(139,58,40,0.25);
  margin-bottom: 14px;
  font-weight: 200;
}
.cat-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 10px;
}
.cat-empty p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.cat-grid-empty { min-height: 0; }
.filter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: rgba(0,0,0,0.015);
}
.filter-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.filter-reset {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.filter-reset:hover { background: rgba(139,58,40,0.08); }
.filter-reset.hidden { display: none; }

.cat-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cat-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,0,0,0.04);
  border-radius: 2px;
  padding: 3px 8px;
}

.cat-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cat-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.cat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.cat-item.hidden { display: none; }

.cat-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.cat-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(139,58,40,0.12) 100%);
  z-index: 1;
}

/* Textures CSS par catégorie */
.cat-visual--gres {
  background: linear-gradient(135deg, #d4ccC0 0%, #c4bbac 40%, #d0c8bc 70%, #c8c0b4 100%);
  background-image:
    linear-gradient(rgba(255,255,255,0.28) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255,255,255,0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #d4ccC0 0%, #c4bbac 40%, #d0c8bc 100%);
  background-size: 65px 65px, 65px 65px, 100% 100%;
}
.cat-visual--marbre {
  background:
    linear-gradient(45deg, transparent 25%, rgba(139,58,40,0.10) 45%, transparent 65%),
    linear-gradient(135deg, transparent 30%, rgba(120,90,70,0.08) 50%, transparent 70%),
    linear-gradient(160deg, #ece8e2 0%, #e0d8cc 30%, #d8d0c4 60%, #e4dcd4 100%);
}
.cat-visual--pierre {
  background:
    repeating-linear-gradient(72deg, rgba(0,0,0,0.04) 0px, transparent 3px, transparent 30px),
    linear-gradient(120deg, #c4bbac 0%, #b4ab9a 30%, #c0b6a4 60%, #b8ae9c 100%);
}
.cat-visual--mosaique {
  background-color: #cbc4b8;
  background-image:
    linear-gradient(rgba(255,255,255,0.45) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.45) 2px, transparent 2px),
    repeating-linear-gradient(45deg, rgba(139,58,40,0.06) 0, rgba(139,58,40,0.06) 1px, transparent 0, transparent 50%);
  background-size: 22px 22px, 22px 22px, 22px 22px;
}
.cat-visual--xxl {
  background: linear-gradient(135deg, #dcd4c8 0%, #ccc4b4 50%, #d8d0c4 100%);
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(135deg, #dcd4c8 0%, #ccc4b4 50%, #d8d0c4 100%);
  background-size: 145px 145px, 145px 145px, 100% 100%;
}
.cat-visual--bois {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.04) 0px, transparent 2px, transparent 18px,
      rgba(0,0,0,0.03) 18px, transparent 20px, transparent 40px
    ),
    linear-gradient(170deg, #c8a882 0%, #b8966e 30%, #c4a07a 60%, #b09068 100%);
}
.cat-visual--exterieur {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, transparent 2px, transparent 38px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 38px),
    linear-gradient(140deg, #b4ac9e 0%, #a4a090 30%, #b0a89c 60%, #aca498 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.cat-info {
  padding: 24px 28px 28px;
}
.cat-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cat-info h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0;
}
.cat-price {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  flex-shrink: 0;
  min-width: 160px;
}
.cat-price-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
}
.cat-price-dim {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(139,58,40,0.07);
  border: 1px solid rgba(139,58,40,0.15);
  border-radius: 2px;
  padding: 1px 6px;
  letter-spacing: 0.04em;
  min-width: 4.8em;
  text-align: center;
  flex-shrink: 0;
}
.cat-price-dim--single {
  background: rgba(150,150,150,0.1);
  border-color: rgba(150,150,150,0.25);
  color: var(--text-muted);
}
.cat-price-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.03em;
  text-align: right;
  flex: 1;
}
.cat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}
.cat-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(139,58,40,0.10);
  padding: 5px 13px;
  border-radius: 2px;
  border: 1px solid rgba(139,58,40,0.20);
}

/* Bouton coloris sur les cartes */
.cat-coloris-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: none;
  border: 1px solid rgba(139,58,40,0.30);
  border-radius: 2px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cat-coloris-btn:hover {
  background: rgba(139,58,40,0.10);
  color: var(--gold);
}
.cat-item { cursor: pointer; }

/* =====================================================
   MODAL COLORIS
   ===================================================== */
.color-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.color-modal.open {
  opacity: 1;
  pointer-events: all;
}
.color-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(5px);
}
.color-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(920px, 95vw);
  max-height: 88vh;
  background: #181410;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.color-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.color-modal-close:hover { background: rgba(255,255,255,0.22); }

/* Gauche */
.color-modal-left {
  width: 220px;
  flex-shrink: 0;
  background: #100E0C;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 22px 28px;
}
.color-preview-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.color-preview-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  transition: background 0.35s ease;
}
.color-preview-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.color-preview-label strong {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-serif);
  font-weight: 400;
}
.color-preview-label span {
  color: rgba(255,255,255,0.45);
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.color-modal-cta {
  margin-top: auto;
  text-align: center;
  font-size: 0.75rem;
  padding: 10px 14px;
}

/* Droite */
.color-modal-right {
  flex: 1;
  padding: 32px 30px 32px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.color-modal-cat-label {
  font-size: 0.62rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
#colorModalCatName {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 4px;
  line-height: 1.2;
}
.color-modal-sizes {
  color: rgba(255,255,255,0.38);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 16px;
}
.color-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.color-swatch-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}
.color-swatch-circle:hover { transform: scale(1.09); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.color-swatch-circle.active { box-shadow: 0 0 0 3px var(--gold), 0 6px 18px rgba(0,0,0,0.45); }
.color-swatch-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
}
.color-swatch-name {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.82);
  text-align: center;
  line-height: 1.3;
}
.color-swatch-finition {
  font-size: 0.60rem;
  color: rgba(255,255,255,0.38);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.cat-cta {
  text-align: center;
  margin-top: 72px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cat-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ====================================================
   À PROPOS
   ==================================================== */
#about {
  padding: 112px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  aspect-ratio: 1/1;
  background-image: url('showroom.jpeg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FAF5EF;
}
.badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}
.badge-txt {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-top: 2px;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 24px;
  margin-top: 16px;
  color: var(--text-main);
}
.about-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.about-text strong { color: var(--gold-dark); font-weight: 500; }
.about-why {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 28px 0 4px;
}
.about-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.about-list li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ====================================================
   TÉMOIGNAGES
   ==================================================== */
#temoignages {
  background: url('Fond inspiration.png') center center / cover no-repeat;
  padding: 112px 32px;
  overflow: hidden;
}
#temoignages .section-header { margin-bottom: 56px; }
#temoignages .section-label,
#temoignages .section-header h2 {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 24px rgba(255,255,255,0.4);
}
#temoignages .stats-inner {
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 48px;
}
#temoignages .stat-item .stat-num,
#temoignages .stat-item .stat-sym {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 24px rgba(255,255,255,0.4);
}
#temoignages .stat-item p {
  color: rgba(255,255,255,0.85);
}
#temoignages .stat-divider {
  background: rgba(255,255,255,0.25);
}
.testi-track-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.testi-card {
  flex: 0 0 calc(33.33% - 16px);
  background: var(--bg-card);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-bottom: 3px solid var(--gold);
}
.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testi-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: #5A4E48;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testi-author strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  color: var(--text-main);
}
.testi-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.testi-controls {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.testi-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.testi-controls button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #FAF5EF;
}

/* ====================================================
   CONTACT
   ==================================================== */
#contact {
  padding: 112px 32px;
  background: var(--bg-main);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-map {
  margin-top: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.contact-map iframe {
  display: block;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 16px;
  margin-top: 12px;
  color: var(--text-main);
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.info-items { display: flex; flex-direction: column; gap: 28px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.info-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.info-icon svg { width: 100%; height: 100%; }
.info-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.info-item p, .info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.info-item a:hover { color: var(--gold); }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  padding: 48px 40px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-main);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(139,58,40,0.04);
}
.form-group select option { background: var(--bg-card); color: var(--text-main); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  min-height: 20px;
}
.form-status.success { color: #6fcf97; }
.form-status.error { color: #eb5757; }

/* ====================================================
   FOOTER
   ==================================================== */
#footer {
  background:
    repeating-linear-gradient(
      110deg,
      transparent 0px, transparent 100px,
      rgba(180,155,120,0.06) 100px, rgba(180,155,120,0.06) 101px,
      transparent 101px, transparent 200px
    ),
    repeating-linear-gradient(
      60deg,
      transparent 0px, transparent 150px,
      rgba(160,135,100,0.05) 150px, rgba(160,135,100,0.05) 151px,
      transparent 151px, transparent 300px
    ),
    linear-gradient(135deg,
      #f5f0e8 0%, #ede6d8 20%,
      #f2ece0 40%, #e8e0d0 60%,
      #f0eade 80%, #ece4d4 100%
    );
  border-top: 1px solid rgba(139,58,40,0.2);
  padding: 72px 32px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
}
.footer-logo-img {
  height: 77px;
  width: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-addr { margin-top: 16px; color: var(--grey) !important; font-size: 0.78rem !important; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-dark); }
.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-instagram svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.footer-instagram:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--grey);
  letter-spacing: 0.1em;
}

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .testi-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  #navbar { padding: 0 20px; }
  .filter-group { flex-direction: column; align-items: flex-start; }
  .filter-group-label { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); width: 100%; align-self: auto; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(250,245,239,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(139,58,40,0.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; font-size: 1.02rem; font-weight: 700; color: var(--text-main); }
  .hamburger { display: flex; }

  #services { padding: 80px 20px; }
  #realisations { padding: 80px 20px; }
  #about { padding: 80px 20px; }
  #temoignages { padding: 80px 20px; }
  #contact { padding: 80px 20px; }

  .stat-divider { display: none; }
  .stats-inner { gap: 40px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }

  .testi-card { flex: 0 0 calc(100% - 0px); }

  .about-badge { width: 96px; height: 96px; left: -12px; bottom: -12px; }
  .badge-num { font-size: 1.8rem; }

  .slide-dots { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { padding: 13px 28px; font-size: 0.89rem; font-weight: 700; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PAGE DÉTAIL COLORIS — Thème clair ivoire · terracotta · marbre beige
   ===================================================== */
.detail-page {
  background: #F5F0E8;
  color: #2C1A10;
}

/* Navbar claire */
.detail-page #navbar {
  background: rgba(245,240,232,0.97);
  border-bottom: 1px solid rgba(180,100,60,0.14);
  box-shadow: 0 2px 16px rgba(140,80,40,0.07);
}
.detail-page #navbar .nav-links a { color: #5A3820; }
.detail-page #navbar .nav-links a:hover { color: #B86040; }
.detail-page #navbar .lang-btn { color: #7A5040; }
.detail-page #navbar .lang-btn.active { color: #B86040; }
.detail-page #navbar .hamburger span { background: #5A3820; }

.detail-main { padding-top: 72px; min-height: 100vh; }

/* Fil d'Ariane */
.detail-breadcrumb {
  padding: 16px 40px;
  font-size: 0.75rem;
  color: #A08060;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F0EAE0;
  border-bottom: 1px solid rgba(180,100,60,0.12);
}
.detail-breadcrumb a { color: #8A6040; text-decoration: none; transition: color 0.2s; }
.detail-breadcrumb a:hover { color: #B86040; }
.detail-bc-sep { opacity: 0.45; }

/* Layout 2 colonnes */
.detail-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: calc(100vh - 130px);
}

/* ── SIDEBAR GAUCHE — marbre beige terracotta ── */
.detail-aside {
  background:
    repeating-linear-gradient(
      112deg,
      transparent 0px, transparent 22px,
      rgba(180,100,60,0.07) 22px, rgba(180,100,60,0.07) 24px,
      transparent 24px, transparent 46px,
      rgba(255,255,255,0.55) 46px, rgba(255,255,255,0.55) 48px
    ),
    repeating-linear-gradient(
      160deg,
      transparent 0px, transparent 34px,
      rgba(200,130,80,0.05) 34px, rgba(200,130,80,0.05) 36px
    ),
    linear-gradient(150deg, #EDE4D4 0%, #E0D4C0 35%, #EAE0CC 65%, #D8CCBA 100%);
  padding: 32px 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px solid rgba(180,100,60,0.15);
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.detail-back {
  font-size: 0.72rem;
  color: #9A7050;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  flex-shrink: 0;
}
.detail-back:hover { color: #B86040; }

/* Grande prévisualisation */
.detail-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 28px rgba(140,80,40,0.22);
}
.detail-preview-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  transition: background 0.35s ease;
}

.detail-aside-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}
.detail-aside-label {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B86040;
  margin-bottom: 7px;
}
.detail-color-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.20rem;
  font-weight: 400;
  color: #2C1A10;
  margin-bottom: 5px;
  line-height: 1.2;
}
.detail-color-finition {
  font-size: 0.68rem;
  color: #A08060;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Dimensions */
.detail-dim-block { display: flex; flex-direction: column; gap: 12px; }
.detail-dim-heading {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9A7050;
  font-weight: 400;
}
.detail-dim-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-dim-chip {
  font-size: 0.74rem;
  color: #6A4830;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(180,100,60,0.25);
  border-radius: 4px;
  padding: 5px 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: var(--font-sans);
}
.detail-dim-chip:hover { border-color: #B86040; color: #B86040; background: rgba(184,96,64,0.08); }
.detail-dim-chip.active { border-color: #B86040; color: #B86040; background: rgba(184,96,64,0.12); }

.detail-cta-btn { text-align: center; margin-top: auto; font-size: 0.78rem; padding: 11px 18px; }

/* ── SECTION DROITE — ivoire dégradé ── */
.detail-colors-section {
  padding: 44px 52px 52px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: linear-gradient(160deg, #FAF6EE 0%, #F5EFE4 50%, #F8F2E8 100%);
}
.detail-colors-eyebrow {
  font-size: 0.60rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #B86040;
  margin-bottom: 8px;
}
.detail-colors-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: #2C1A10;
  line-height: 1.15;
  margin-bottom: 10px;
}
.detail-colors-desc {
  color: #7A5840;
  font-size: 0.86rem;
  max-width: 540px;
  line-height: 1.65;
}
.detail-colors-divider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-colors-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(180,100,60,0.18);
}
.detail-colors-sublabel {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4A2C18;
  white-space: nowrap;
}

/* Grille de swatches */
.detail-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 18px;
}
.detail-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.detail-swatch-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 14px rgba(140,80,40,0.22);
}
.detail-swatch-circle:hover {
  transform: scale(1.10);
  box-shadow: 0 10px 28px rgba(140,80,40,0.32);
}
.detail-swatch-circle.active {
  box-shadow: 0 0 0 3px #B86040, 0 6px 22px rgba(140,80,40,0.28);
}
.detail-swatch-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
}
.detail-swatch-name {
  font-size: 0.72rem;
  color: #4A2C18;
  text-align: center;
  line-height: 1.35;
}
.detail-swatch-finition {
  font-size: 0.61rem;
  color: #A08060;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

/* Responsive */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; height: auto; }
  .detail-colors-section { padding: 32px 24px 40px; }
  .detail-swatches-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .detail-swatches-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-breadcrumb { padding: 14px 20px; }
}

/* ===== PAGE COLLECTION (nuances.html etc.) ===== */
.collection-hero {
  padding-top: 0 !important;
  align-items: center !important;
}
.collection-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FAF5EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.collection-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250,245,239,0.7);
}
.collection-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #FAF5EF;
  margin: 0;
}
.collection-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,245,239,0.75);
  font-weight: 300;
}

#nuances-desc {
  padding: 100px 5% 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nuances-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.nuances-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--text-main);
  line-height: 1.25;
  margin: 12px 0 28px;
}
.nuances-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.color-chips {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chip-swatch {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(42,30,22,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.specs-card {
  background: var(--bg-card);
  border: 1px solid rgba(42,30,22,0.08);
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 4px 28px rgba(42,30,22,0.08);
  position: sticky;
  top: 110px;
}
.specs-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 28px;
}
.specs-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42,30,22,0.07);
  font-size: 0.88rem;
}
.specs-list li span { color: var(--text-muted); }
.specs-list li strong { color: var(--text-main); font-weight: 500; }

.specs-certs { margin-top: 28px; }
.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.cert-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(139,58,40,0.3);
  border-radius: 2px;
  color: var(--gold);
  background: rgba(139,58,40,0.04);
}
.nuances-back {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nuances-back:hover { color: var(--gold); }

@media (max-width: 900px) {
  .nuances-inner { grid-template-columns: 1fr; gap: 48px; }
  .specs-card { position: static; }
}

/* ===== PAGE NUANCES — thème béton ===== */
.nuances-page { background: #F4F0EA; }

/* Hero */
.nc-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.nc-slides {
  position: absolute;
  inset: 0;
}
.nc-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.nc-slide.active { opacity: 1; }
.nc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,14,0.75) 0%, rgba(20,18,14,0.2) 50%, rgba(20,18,14,0.35) 100%);
}
.nc-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  color: #F4F0EA;
}
.nc-brand {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,240,234,0.6);
  margin-bottom: 12px;
}
.nc-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: #F4F0EA;
  margin: 0 0 20px;
}
.nc-sub {
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,240,234,0.65);
  font-weight: 300;
  margin-bottom: 28px;
}
.nc-dots {
  display: flex;
  gap: 8px;
}
.nc-dot {
  width: 28px;
  height: 2px;
  background: rgba(244,240,234,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.nc-dot.active { background: #F4F0EA; }
.nc-hero .nc-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 100 !important;
  background: rgba(0,0,0,0.55) !important;
  border: 2px solid rgba(255,255,255,0.8) !important;
  color: #ffffff !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  outline: none;
  transition: background 0.25s, border-color 0.25s;
}
.nc-hero .nc-arrow:hover {
  background: rgba(0,0,0,0.85) !important;
  border-color: #fff !important;
}
.nc-hero .nc-arrow--prev { left: 28px !important; }
.nc-hero .nc-arrow--next { right: 28px !important; }
@media (max-width: 600px) {
  .nc-hero .nc-arrow { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; }
  .nc-hero .nc-arrow--prev { left: 12px !important; }
  .nc-hero .nc-arrow--next { right: 12px !important; }
}
.nc-back-btn {
  position: absolute;
  top: 110px;
  left: 5%;
  z-index: 10;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,240,234,0.7);
  transition: color 0.3s;
}
.nc-back-btn:hover { color: #F4F0EA; }

/* Labels communs */
.nc-intro-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

/* Intro */
.nc-intro {
  background: #F4F0EA;
  padding: 100px 8% 90px;
}
.nc-intro-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.nc-intro-content {
  width: 820px;
  flex-shrink: 0;
}
.nc-intro-pdf-aside {
  flex-shrink: 0;
}
.nc-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6f4e;
  border: 1px solid #c9a96e;
  padding: 13px 22px;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
  text-decoration: none;
}
.nc-pdf-btn svg { flex-shrink: 0; }
.nc-pdf-btn:hover {
  background: #c9a96e;
  color: #fff;
  border-color: #c9a96e;
}
@media (max-width: 1100px) {
  .nc-intro-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .nc-intro-content { width: 100%; }
}
.nc-intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #1F1E1C;
  line-height: 1.2;
  margin: 0 0 32px;
}
.nc-intro-text {
  color: #6A6258;
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Colorways */
.nc-colors {
  background: #EDEAE3;
  padding: 90px 5%;
}
.nc-colors-header {
  text-align: center;
  margin-bottom: 56px;
}
.nc-colors-header .nc-intro-title { margin: 0; }
.nc-colors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 1200px;
  margin: 0 auto;
}
.nc-color-card {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.nc-color-card::after {
  content: 'Voir dans le catalogue →';
  position: absolute;
  bottom: 80px;
  left: 0; right: 0;
  text-align: center;
  background: rgba(180,150,100,0.92);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.nc-color-card:hover::after { opacity: 1; transform: translateY(0); }
.nc-color-img {
  height: 480px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.nc-color-card:hover .nc-color-img { transform: scale(1.04); }
.nc-color-info {
  padding: 24px 20px;
  background: #1F1E1C;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nc-color-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #F4F0EA;
}
.nc-color-desc {
  font-size: 0.78rem;
  color: #7A7268;
  line-height: 1.5;
}

/* Specs — fond sombre */
.nc-specs {
  background: #1F1E1C;
  padding: 100px 8%;
}
.nc-specs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.nc-specs-table {
  border-top: 1px solid rgba(244,240,234,0.1);
}
.nc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244,240,234,0.08);
  font-size: 0.88rem;
}
.nc-spec-row span { color: #6A6258; }
.nc-spec-row strong { color: #F4F0EA; font-weight: 400; }

/* Certifications */
.nc-certs {
  background: #F4F0EA;
  padding: 100px 5%;
  text-align: center;
}
.nc-certs-inner { max-width: 1000px; margin: 0 auto; }
.nc-certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.nc-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.nc-cert-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(42,30,22,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1F1E1C;
  text-align: center;
  line-height: 1.3;
}
.nc-cert-item p {
  font-size: 0.72rem;
  color: #7A7268;
  text-align: center;
  line-height: 1.4;
}

/* CTA */
.nc-cta {
  background: #2A2520;
  padding: 100px 5%;
  text-align: center;
}
.nc-cta-inner { max-width: 560px; margin: 0 auto; }
.nc-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: #F4F0EA;
  margin-bottom: 16px;
}
.nc-cta p {
  color: #7A7268;
  font-size: 0.92rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.nc-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.45);
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nc-download:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}


@media (max-width: 900px) {
  .nc-colors-grid { grid-template-columns: 1fr; }
  .nc-color-img { height: 280px; }
  .nc-specs-inner { grid-template-columns: 1fr; gap: 48px; }
  .nc-certs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .nc-title { font-size: 3.5rem; }
  .nc-certs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SHOWCASE ===== */
#showcase {
  padding: 100px 5% 80px;
  background: var(--bg-main);
  max-width: var(--max-w);
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.showcase-card {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42,30,22,0.10);
  position: relative;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-card--clickable {
  cursor: pointer;
}
.showcase-card--clickable:hover .showcase-card-label {
  opacity: 1;
  transform: translateY(0);
}
.showcase-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(42,30,22,0.75) 0%, transparent 100%);
  padding: 32px 24px 20px;
  color: #FAF5EF;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.showcase-card-label span {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250,245,239,0.7);
}
.showcase-card-label strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.showcase-card--link:hover .showcase-card-label {
  opacity: 1;
  transform: translateY(0);
}

.showcase-card--empty {
  background: var(--bg-alt);
  border: 2px dashed rgba(139,58,40,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-placeholder {
  font-size: 2.5rem;
  color: rgba(139,58,40,0.25);
  font-weight: 200;
  line-height: 1;
}

@media (max-width: 768px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { aspect-ratio: 16 / 9; }
}

/* =====================================================
   CATALOGUE — Cartes avec photos
   ===================================================== */
.cat-item .cat-visual {
  height: 270px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,238,225,0.8) 0%, rgba(232,222,205,0.6) 100%),
    linear-gradient(135deg, #efe7d8 0%, #e2d8c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-item .cat-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
/* Pour les photos basse résolution : on les centre sans déformer */
.cat-item .cat-visual.contain img {
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  image-rendering: auto;
}
.cat-item:hover .cat-visual img {
  transform: scale(1.05);
}
.cat-item:hover .cat-visual.contain img {
  transform: scale(1.03);
}
.cat-photo-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.62);
  color: #FAF5EF;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.cat-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e0d4 0%, #d4c8b8 100%);
}
.cat-cover-placeholder span {
  font-size: 4rem;
  font-weight: 700;
  color: #b8a898;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.cat-cover-placeholder.small span {
  font-size: 1.4rem;
}

/* =====================================================
   GALERIE MODALE — Catalogue
   ===================================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-modal.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(6px);
}
.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  max-height: 94vh;
  background: #14110E;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}
.gallery-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}
.gallery-modal-close:hover { background: rgba(255,255,255,0.26); }

/* Header avec navigation collections */
.gallery-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 20px;
  background: #100E0C;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.gallery-coll-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 22px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.gallery-coll-nav:hover:not(:disabled) {
  background: rgba(210,160,80,0.18);
  border-color: rgba(210,160,80,0.5);
  color: var(--gold);
}
.gallery-coll-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.gallery-coll-arrow {
  font-size: 1.1rem;
  line-height: 1;
}
.gallery-header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gallery-cat-badge {
  font-size: 0.62rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
}
.gallery-coll-position {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.gallery-main {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0a08;
  overflow: hidden;
}
.gallery-main img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.16s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
.gallery-main img.fading { opacity: 0; }
.gallery-main img { cursor: zoom-in; }

/* ── Lightbox plein écran ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  border-radius: 2px;
  transition: transform 0.22s ease;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.26); }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.gallery-nav:hover { background: rgba(210,160,80,0.55); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #181410;
}
.gallery-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #FAF5EF;
  margin: 0 0 4px;
}
.gallery-info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.gallery-photo-info {
  font-size: 0.88rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  margin-top: 4px !important;
  font-weight: 500;
}
.gallery-photo-info .photo-dim {
  display: inline-block;
  background: rgba(212,175,95,0.15);
  border: 1px solid rgba(212,175,95,0.4);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.78rem;
  margin-left: 7px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}
/* ── Produits / références dans la modale ── */
.gallery-products {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,95,0.3) transparent;
}
.gallery-prod-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 4px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212,175,95,0.55);
  border-bottom: 1px solid rgba(212,175,95,0.15);
  margin-bottom: 4px;
}
.gallery-product-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,95,0.12);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.81rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.gallery-product-row:hover {
  background: rgba(212,175,95,0.1);
  border-color: rgba(212,175,95,0.32);
}
.gallery-product-row.gallery-row-active {
  background: rgba(212,175,95,0.16);
  border-color: rgba(212,175,95,0.5);
}
.gallery-product-name {
  color: rgba(240,234,220,0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-product-dim {
  font-size: 0.8rem;
  color: rgba(240,234,220,0.65);
  white-space: nowrap;
}
.gallery-product-code {
  font-family: 'Courier New', monospace;
  font-size: 0.76rem;
  color: var(--gold);
  background: rgba(212,175,95,0.1);
  border: 1px solid rgba(212,175,95,0.25);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-align: center;
}
.gallery-product-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

.gallery-counter {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 14px 24px 18px;
  overflow-x: auto;
  background: #100E0C;
  scrollbar-width: thin;
  scrollbar-color: rgba(210,160,80,0.4) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(210,160,80,0.4); border-radius: 3px; }
.gallery-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active {
  border-color: var(--gold);
}

/* Carrousel autres collections */
.gallery-others {
  background: #0c0a08;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 14px 0 16px;
  flex-shrink: 0;
}
.gallery-others-label {
  font-size: 0.62rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  padding: 0 24px 10px;
}
.gallery-others-strip {
  display: flex;
  gap: 10px;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(210,160,80,0.4) transparent;
  scroll-behavior: smooth;
}
.gallery-others-strip::-webkit-scrollbar { height: 5px; }
.gallery-others-strip::-webkit-scrollbar-thumb { background: rgba(210,160,80,0.35); border-radius: 3px; }
.gallery-other {
  flex: 0 0 auto;
  width: 110px;
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}
.gallery-other img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-other-name {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  padding: 6px 8px 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.04em;
}
.gallery-other:hover {
  border-color: rgba(210,160,80,0.45);
  transform: translateY(-2px);
}
.gallery-other:hover img { transform: scale(1.06); }
.gallery-other:hover .gallery-other-name { color: var(--gold); }
.gallery-other.active {
  border-color: var(--gold);
  background: rgba(210,160,80,0.10);
}
.gallery-other.active .gallery-other-name {
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 768px) {
  .gallery-modal-panel { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .gallery-main img { max-height: 42vh; }
  .gallery-info { padding: 12px 16px 8px; }
  .gallery-info h3 { font-size: 1.05rem; }
  .gallery-thumbs { padding: 8px 12px 12px; }
  .gallery-thumb { width: 52px; height: 52px; }
  .gallery-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .gallery-header { padding: 10px 12px; gap: 8px; }
  .gallery-coll-label { display: none; }
  .gallery-coll-nav { padding: 8px 12px; }
  .gallery-cat-badge { font-size: 0.55rem; letter-spacing: 0.20em; }
  .gallery-coll-position { font-size: 0.68rem; }
  .gallery-other { width: 88px; }
  .gallery-other img { height: 60px; }
  .gallery-other-name { font-size: 0.62rem; padding: 5px 6px 6px; }
  .gallery-others-label { padding: 0 16px 8px; }
  .gallery-others-strip { padding: 0 16px; }
}

/* ===== PAGE PROJETS 3D ===== */
.p3d-section {
  background: #F4F0EA;
  padding: 100px 0 120px;
}
.p3d-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}
.p3d-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #1F1E1C;
  margin: 12px 0 24px;
}
.p3d-intro {
  max-width: 640px;
  color: #6B6057;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 60px;
}
.p3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.p3d-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 100px 40px;
  border: 2px dashed rgba(180,150,100,0.35);
  border-radius: 12px;
  color: rgba(107,96,87,0.5);
}
.p3d-placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}
.p3d-photo {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.p3d-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.p3d-photo:hover img { transform: scale(1.05); }
