/* ================================================================
   CAC CONSULTING — style.css
   Direction : Luxury Architecture — Sombre · Raffiné · Premium
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ────────── Variables ────────── */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-deep: #a8862d;
  --dark: #0e0e0e;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --dark-4: #262626;
  --glass: rgba(14, 14, 14, 0.72);
  --glass-light: rgba(255, 255, 255, 0.04);
  --text: #e8e4de;
  --text-muted: rgba(232, 228, 222, 0.62);
  --text-dim: rgba(232, 228, 222, 0.4);
  --header-h: 78px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ────────── Reset ────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; color: inherit; cursor: none; }
a { color: inherit; text-decoration: none; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
  font-weight: 400;
}

::selection { background: var(--gold); color: var(--dark); }

/* ────────── Curseur ────────── */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), background 0.2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), opacity 0.3s, border-color 0.3s;
}

/* ────────── Loader ────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9990;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}
.loader-bar {
  width: 140px; height: 1px;
  background: rgba(201, 168, 76, 0.15);
  position: relative; overflow: hidden;
}
.loader-bar span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderSlide 1.4s var(--ease) infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ────────── Fond parallaxe (autres pages) ────────── */
#parallax-bg {
  position: fixed; inset: -20% 0;
  background: url('images/Makofa am.jpg') center/cover no-repeat;
  z-index: -2;
  will-change: transform;
  filter: brightness(0.24) saturate(0.55) contrast(1.1);
}
#particles-canvas {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

/* ────────── Bandeau images (index) ────────── */
.bg-strip-wrapper {
  position: fixed; inset: 0;
  z-index: -3;
  overflow: hidden;
}
.bg-strip-wrapper::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.94) 0%, transparent 16%),
    linear-gradient(to left,  rgba(10,10,10,0.94) 0%, transparent 16%);
  z-index: 3; pointer-events: none;
}
.bg-strip-wrapper::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.74) 0%,
    rgba(10,10,10,0.5) 50%,
    rgba(10,10,10,0.82) 100%);
  z-index: 2;
}
.bg-strip-divider {
  position: fixed; top: 50%; left: 0;
  width: 100%; height: 6px;
  background: var(--dark);
  z-index: 0;
  transform: translateY(-50%);
}
.bg-strip {
  display: flex; position: absolute; left: 0;
  gap: 8px; will-change: transform;
}
.bg-strip.row-1 { top: 0; height: calc(50% - 3px); animation: scrollLeft 60s linear infinite; }
.bg-strip.row-2 { bottom: 0; height: calc(50% - 3px); animation: scrollRight 68s linear infinite; }
.bg-strip img {
  height: 100%; width: auto; flex-shrink: 0;
  object-fit: cover;
  filter: brightness(0.48) saturate(0.55);
}
@keyframes scrollLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ────────── Header ────────── */
header {
  position: fixed; top: 0; left: 0;
  width: 100%; height: var(--header-h);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 5%;
  background: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  z-index: 1000;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
header.scrolled {
  height: 62px;
  background: rgba(14, 14, 14, 0.92);
  border-bottom-color: rgba(201, 168, 76, 0.18);
}
.logo-container { height: 48px; display: flex; align-items: center; }
.logo { height: 100%; width: auto; max-width: 180px; transition: opacity 0.3s; }
.logo:hover { opacity: 0.85; }

nav ul { display: flex; list-style: none; gap: 0; }
nav a {
  display: block;
  padding: 10px 22px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
nav a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 22px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: calc(100% - 44px); }

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--text);
  transition: all 0.35s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--gold); }

/* ────────── HERO ────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 3rem) 6% 6rem;
  position: relative;
  text-align: center;
}
.hero-compact { min-height: 78vh; }
.hero-inner { max-width: 900px; animation: fadeUp 1.1s var(--ease-out) both; }
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  background: linear-gradient(120deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
  position: relative;
}
.hero-divider::before, .hero-divider::after {
  content: ''; position: absolute; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.hero-divider::before { left: -12px; }
.hero-divider::after { right: -12px; }
.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  animation: floatY 2.4s ease-in-out infinite;
}
.scroll-arrow {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes floatY {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ────────── Boutons ────────── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s;
  cursor: none;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(6px); }

.btn-outline { color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.cta-center { text-align: center; margin-top: 3rem; }

/* ────────── Sections ────────── */
.section-wrapper {
  padding: 6rem 6%;
  position: relative;
  z-index: 1;
}
.section-box {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(22, 22, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 4.5rem 4rem;
  position: relative;
}
.section-box-wide { max-width: 1360px; padding: 4.5rem 5rem; }
.section-box::before {
  content: ''; position: absolute;
  top: -1px; left: -1px; width: 30px; height: 30px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.section-box::after {
  content: ''; position: absolute;
  bottom: -1px; right: -1px; width: 30px; height: 30px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.005em;
}
.section-text {
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* ────────── À propos ────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.85;
}
.about-text strong { color: var(--text); font-weight: 500; }

.about-stats { display: grid; gap: 1.75rem; }
.stat {
  border-left: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.5rem 0 0.5rem 1.75rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ────────── Projets — aperçu (index) ────────── */
.projects-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.preview-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: none;
}
.preview-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: brightness(0.75) saturate(0.85);
}
.preview-card:hover img { transform: scale(1.08); filter: brightness(0.9) saturate(1); }
.preview-overlay {
  position: absolute; inset: 0;
  padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}
.preview-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.preview-overlay span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ────────── Projets — grille complète ────────── */
.filters-wrapper {
  padding: 2rem 6% 0;
  display: flex; justify-content: center;
  position: relative; z-index: 1;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  background: rgba(22, 22, 22, 0.72);
  backdrop-filter: blur(12px);
  padding: 0.5rem;
  border: 1px solid rgba(201, 168, 76, 0.12);
}
.filter-btn {
  padding: 12px 22px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s, background 0.3s;
  cursor: none;
}
.filter-btn:hover { color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--dark); font-weight: 500; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}
.project-card {
  position: relative;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  cursor: none;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  opacity: 0; transform: translateY(24px);
}
.project-card.revealed { opacity: 1; transform: translateY(0); }
.project-card.hidden { display: none; }
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark-3);
}
.project-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease-out);
}
.project-media img.active { opacity: 1; }
.project-card:hover .project-media img.active { transform: scale(1.06); }

.project-dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.project-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, width 0.3s;
}
.project-dot.active { background: var(--gold); width: 18px; border-radius: 3px; }

.project-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(14, 14, 14, 0.8);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
}

.project-info { padding: 1.6rem 1.75rem 1.75rem; }
.project-meta {
  display: flex; justify-content: space-between;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.project-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.project-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.project-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.project-cta svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }
.project-card:hover .project-cta svg { transform: translateX(5px); }

.projects-note {
  margin-top: 3rem;
  padding: 1.4rem 1.75rem;
  background: rgba(201, 168, 76, 0.06);
  border-left: 2px solid var(--gold);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.projects-note code {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.78rem;
  background: rgba(0,0,0,0.4);
  padding: 2px 8px;
  color: var(--gold-light);
}

/* ────────── Services ────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-item {
  padding: 2.5rem 2rem;
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-item::before {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease-out);
}
.service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(30, 30, 30, 0.85);
}
.service-item:hover::before { width: 100%; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}
.service-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.9rem;
  line-height: 1.25;
}
.service-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ────────── Contact ────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.info-item { margin-bottom: 1.75rem; }
.info-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-item a, .info-item p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
  transition: color 0.3s;
}
.info-item a:hover { color: var(--gold-light); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: rgba(14, 14, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(14, 14, 14, 0.85);
}
.contact-form textarea { resize: vertical; min-height: 130px; font-family: inherit; }
.contact-form button { align-self: flex-start; margin-top: 0.5rem; }

/* ────────── Lightbox ────────── */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  z-index: 9995;
  display: none;
  align-items: center; justify-content: center;
  padding: 5% 6%;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
#lightbox.active { display: flex; opacity: 1; }

.lb-close, .lb-nav {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 2;
  cursor: none;
}
.lb-close:hover, .lb-nav:hover {
  background: var(--gold); color: var(--dark);
  border-color: var(--gold);
}
.lb-close { top: 2.5%; right: 3%; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 2%; }
.lb-next { right: 2%; }

.lb-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  width: 100%;
  max-height: 90vh;
  align-items: center;
}
.lb-inner figure {
  height: 82vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.lb-inner img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out);
}
.lb-info { padding: 1rem 0; }
.lb-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lb-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.lb-info p:not(.lb-eyebrow):not(.lb-counter) {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.lb-thumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.lb-thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0.55;
  transition: all 0.3s;
  cursor: none;
}
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.active { opacity: 1; border-color: var(--gold); }
.lb-counter {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ────────── Footer ────────── */
footer {
  padding: 4rem 6% 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  background: rgba(14, 14, 14, 0.94);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  position: relative;
  z-index: 1;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.footer-links { display: flex; list-style: none; gap: 2rem; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ────────── Bouton retour haut ────────── */
#topBtn {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: rgba(14,14,14,0.9);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  display: none;
  align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
  z-index: 500;
  cursor: none;
}
#topBtn.show { display: flex; }
#topBtn:hover {
  background: var(--gold); color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

/* ────────── Fade-in ────────── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ────────── Responsive ────────── */
@media (max-width: 1024px) {
  .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-preview { grid-template-columns: repeat(2, 1fr); }
  .section-box, .section-box-wide { padding: 3.5rem 2.5rem; }
  .lb-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .lb-inner figure { height: 55vh; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .hamburger { display: flex; }

  nav {
    position: fixed; top: var(--header-h); left: 0;
    width: 100%; height: 0;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: height 0.5s var(--ease-out);
  }
  nav.open { height: calc(100vh - var(--header-h)); }
  nav ul { flex-direction: column; padding: 2.5rem; gap: 0.5rem; }
  nav a { font-size: 1.05rem; padding: 14px 0; letter-spacing: 0.24em; }
  nav a::after { display: none; }

  .section-wrapper { padding: 4rem 5%; }
  .section-box, .section-box-wide { padding: 2.5rem 1.5rem; }
  .projects-preview { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .filters { padding: 0.4rem; }
  .filter-btn { padding: 10px 14px; font-size: 0.62rem; letter-spacing: 0.16em; }

  footer { flex-direction: column; text-align: center; padding: 3rem 5% 2rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }

  #cursor, #cursor-ring { display: none; }
  body, button, a, input, textarea, .filter-btn, .project-card,
  .lb-close, .lb-nav, .lb-thumb, .service-item, #topBtn { cursor: auto; }
  .contact-form input, .contact-form textarea { cursor: text; }

  .lb-close { top: 1rem; right: 1rem; width: 42px; height: 42px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-info h3 { font-size: 1.6rem; }
}
