/* ===================================================================
   BL ART CONCEPT — Création des meubles
   Design tokens
   =================================================================== */
:root {
  --noir: #070707;
  --blanc: #faf9f6;
  --ivoire: #efebe3;
  --or: #bfa05a;
  --or-clair: #d4bc82;
  --gris-texte: #4a4844;

  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

.eyebrow-plain {
  font-size: 0.8rem;
  color: var(--gris-texte);
  letter-spacing: 0.02em;
}

/* ============================= HEADER ============================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(7,7,7,0.55), rgba(7,7,7,0));
  transition: background 0.3s ease;
}
.site-header.solid {
  background: var(--blanc);
  box-shadow: 0 1px 0 rgba(7,7,7,0.08);
}
.site-header .logo-link img {
  height: 68px;
  width: auto;
  transition: filter 0.3s ease;
}
.site-header.solid .logo-link img {
  filter: invert(1) brightness(0);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a.nav-link {
  font-size: 0.95rem;
  color: var(--blanc);
  transition: color 0.3s ease;
}
.site-header.solid .header-nav a.nav-link { color: var(--noir); }
.header-nav a.nav-link:hover { color: var(--or); }

.btn-whatsapp-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--or);
  color: var(--noir);
  font-size: 0.9rem;
  border: 1px solid var(--or);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-whatsapp-mini:hover { background: var(--noir); color: var(--or); border-color: var(--noir); }

@media (max-width: 620px) {
  .site-header { padding: 12px 18px; }
  .site-header .logo-link img { height: 42px; }
  .header-nav { gap: 12px; }
  .header-nav a.nav-link-secondary { display: none; }
  .btn-whatsapp-mini { padding: 8px 14px; font-size: 0.78rem; }
}

/* ============================= HERO ============================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--noir);
}
.hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero .hero-slide.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(7,7,7,0.86) 0%, rgba(7,7,7,0.35) 45%, rgba(7,7,7,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 72px;
  max-width: 760px;
}
.hero-content h1 {
  color: var(--blanc);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 800;
  max-width: 13ch;
  line-height: 1.15;
}
.hero-content p {
  color: rgba(250,249,246,0.85);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 46ch;
}

/* ============================= CTA BAND ============================= */
.hero-content p.tagline {
  font-style: italic;
  font-weight: 700;
  color: var(--or-clair);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  margin: -6px 0 16px;
}
.hero-content p.hero-desc {
  color: rgba(250,249,246,0.85);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 46ch;
  margin-top: 18px;
}

/* ============================= TRUSTED BY ============================= */
.trusted-strip {
  background: var(--blanc);
  padding: 40px 0;
  border-top: 1px solid rgba(7,7,7,0.08);
  border-bottom: 1px solid rgba(7,7,7,0.08);
}
.trusted-track-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.trusted-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding-right: 56px;
  animation: trusted-scroll 32s linear infinite;
}
@keyframes trusted-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.trusted-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
}
.trusted-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(7,7,7,0.4);
}
.trusted-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--noir);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .trusted-track { animation: none; }
  .trusted-track-wrap { overflow-x: auto; }
}
@media (max-width: 620px) {
  .trusted-strip { padding: 28px 0; }
  .trusted-track { gap: 36px; animation-duration: 22s; }
}

/* ============================= AUDIENCE ============================= */
.section-audience {
  padding: 0 0 100px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.audience-col {
  padding: 30px 32px;
  border: 1px solid rgba(7,7,7,0.14);
}
.audience-col h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.audience-col p {
  color: var(--gris-texte);
  font-size: 0.97rem;
}
@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.cta-band {
  background: var(--ivoire);
  padding: 44px var(--gutter);
  text-align: center;
}
.cta-band p.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 20px;
}
.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  border-radius: 999px;
  background: var(--noir);
  color: var(--or-clair);
  font-size: 1rem;
  border: 1px solid var(--noir);
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn-whatsapp-large:hover { background: var(--or); color: var(--noir); border-color: var(--or); transform: translateY(-1px); }
.btn-whatsapp-large.gold {
  background: var(--or);
  color: var(--noir);
  border-color: var(--or);
}
.btn-whatsapp-large.gold:hover {
  background: var(--noir);
  color: var(--or-clair);
  border-color: var(--noir);
}
.cta-band .sub {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gris-texte);
}

/* ============================= WHY SECTION ============================= */
.section-why {
  padding: 110px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.why-grid h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 12ch;
  margin-bottom: 22px;
}
.why-grid .intro {
  max-width: 44ch;
  color: var(--gris-texte);
  font-size: 1.05rem;
}
.why-features {
  display: flex;
  flex-direction: column;
}
.why-feature {
  padding: 26px 0;
  border-top: 1px solid rgba(7,7,7,0.14);
}
.why-feature:last-child { border-bottom: 1px solid rgba(7,7,7,0.14); }
.why-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.why-feature p {
  color: var(--gris-texte);
  font-size: 0.98rem;
  max-width: 48ch;
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================= PROJECTS PREVIEW (home) ============================= */
.section-projects {
  padding: 0 0 110px;
}
.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 24px;
}
.projects-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.projects-head p {
  max-width: 40ch;
  color: var(--gris-texte);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.preview-grid .p-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.preview-grid .p-card:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.preview-grid .p-card:nth-child(7) { grid-column: span 2; }

.p-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--ivoire);
}
.p-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.p-card:hover img { transform: scale(1.045); }
.p-card .p-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(7,7,7,0.75), rgba(7,7,7,0));
  color: var(--blanc);
}
.p-card .p-label .cat {
  font-size: 0.78rem;
  color: var(--or-clair);
  display: block;
  margin-bottom: 2px;
}
.p-card .p-label .nm {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

@media (max-width: 980px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .preview-grid .p-card:nth-child(1),
  .preview-grid .p-card:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .preview-grid .p-card:nth-child(n+7) { display: none; }
}

.btn-outline {
  display: inline-block;
  margin-top: 44px;
  padding: 15px 34px;
  border: 1px solid var(--noir);
  color: var(--noir);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover { background: var(--noir); color: var(--blanc); }
.center { text-align: center; }

/* ============================= USINE ============================= */
.section-usine {
  padding: 100px 0;
  background: var(--ivoire);
}
.usine-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.usine-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.usine-photo img { width: 100%; height: 100%; object-fit: cover; }
.usine-text .logo-mark { width: 150px; height: auto; margin-bottom: 26px; }
.usine-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.usine-stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--or);
  line-height: 1;
}
.usine-stat .plus {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--or);
}
.usine-text h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: normal;
  font-weight: 800;
  margin-bottom: 16px;
}
.usine-text p {
  color: var(--gris-texte);
  max-width: 46ch;
  font-size: 1rem;
}
@media (max-width: 860px) {
  .usine-grid { grid-template-columns: 1fr; }
}

/* ============================= FIND US ============================= */
.section-find {
  background: var(--noir);
  color: var(--blanc);
  padding: 100px 0;
}
.find-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.find-grid h2 {
  color: var(--blanc);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}
.find-grid .intro {
  color: rgba(250,249,246,0.78);
  max-width: 42ch;
  margin-bottom: 28px;
}
.find-address {
  font-size: 0.98rem;
  border-top: 1px solid rgba(250,249,246,0.25);
  padding-top: 18px;
  color: var(--or-clair);
}
.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}
@media (max-width: 860px) {
  .find-grid { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
}

/* ============================= FOOTER ============================= */
.site-footer {
  background: var(--blanc);
  padding: 40px var(--gutter) 30px;
  text-align: center;
}
.site-footer img { height: 56px; margin: 0 auto 14px; }
.site-footer .motto {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.site-footer .fine {
  font-size: 0.82rem;
  color: var(--gris-texte);
}
.site-footer a.foot-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================= PROJECTS PAGE ============================= */
.projects-page-header {
  padding: 150px var(--gutter) 50px;
  text-align: left;
}
.projects-page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.projects-page-header p { color: var(--gris-texte); max-width: 60ch; }

.filter-bar {
  display: flex;
  gap: 10px;
  padding: 0 var(--gutter) 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(7,7,7,0.25);
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 var(--gutter) 120px;
}
.full-grid .p-card { aspect-ratio: 4/5; }
@media (max-width: 980px) {
  .full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .full-grid { grid-template-columns: 1fr; }
}

/* ============================= FLOATING WHATSAPP ============================= */
.btn-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--or);
  color: var(--noir);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--or);
  box-shadow: 0 8px 24px rgba(7,7,7,0.28);
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-floating-whatsapp:hover {
  background: var(--noir);
  color: var(--or-clair);
  border-color: var(--noir);
  transform: translateX(-50%) translateY(-2px);
}
@media (max-width: 480px) {
  .btn-floating-whatsapp { padding: 13px 22px; font-size: 0.85rem; }
}

/* ============================= LIGHTBOX ============================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,7,7,0.97);
  display: none;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  color: var(--blanc);
}
.lb-top .lb-title { font-family: var(--font-display); font-size: 1.3rem; }
.lb-top .lb-cat { color: var(--or-clair); font-size: 0.85rem; display: block; }
.lb-close, .lb-toggle-before {
  background: transparent;
  border: 1px solid rgba(250,249,246,0.4);
  color: var(--blanc);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.lb-toggle-before.active { background: var(--or); color: var(--noir); border-color: var(--or); }
.lb-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 60px 30px;
  min-height: 0;
}
.lb-body img {
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--blanc);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 10px 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
.lb-counter {
  text-align: center;
  color: rgba(250,249,246,0.6);
  font-size: 0.85rem;
  padding-bottom: 22px;
}
.lb-desc {
  text-align: center;
  color: rgba(250,249,246,0.75);
  max-width: 60ch;
  margin: 0 auto 10px;
  padding: 0 var(--gutter);
  font-size: 0.92rem;
}

@media (max-width: 620px) {
  .lb-body { padding: 0 12px 20px; }
  .lb-nav { font-size: 1.8rem; padding: 6px 10px; }
}
