/* ── Marquee ── */
.marquee-wrap {
  background: var(--anthracite);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-light);
  padding: 0 2.5rem;
}
.marquee-item span { color: var(--accent); margin: 0 0.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Références clients ── */
#references { background: var(--cream); padding: 3.5rem 0; overflow: hidden; }
.ref-label {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 2rem;
}
.ref-track-wrap { overflow: hidden; position: relative; }
.ref-track-wrap::before, .ref-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.ref-track-wrap::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.ref-track-wrap::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }
.ref-track { display: inline-flex; align-items: center; animation: marquee 35s linear infinite; white-space: nowrap; }
.ref-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: rgba(44,49,53,0.14);
  padding: 0 2.5rem;
  transition: color 0.3s;
}
.ref-name:hover { color: var(--anthracite); }
.ref-sep { color: var(--accent); font-size: 0.7rem; opacity: 0.5; }

/* ── Savoir-faire ── */
#savoir-faire { background: var(--cream); }
.sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}
.sf-left { position: relative; }
.sf-image-stack { position: relative; height: 520px; }
.sf-img-back {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 80%;
  overflow: hidden;
}
.sf-img-front {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 65%;
  overflow: hidden;
  border: 6px solid var(--warm-white);
}
.sf-img-back img, .sf-img-front img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.sf-img-back:hover img, .sf-img-front:hover img { transform: scale(1.05); }
.sf-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: var(--anthracite);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10;
}
.sf-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.8rem;
  color: var(--accent); line-height: 1;
}
.sf-badge-txt {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light); text-align: center;
}
.sf-features { display: grid; gap: 1.8rem; margin-top: 2.5rem; }
.sf-feature {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem;
  border-left: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.sf-feature:hover {
  border-left-color: var(--accent);
  background: rgba(200,169,110,0.05);
}
.sf-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--anthracite);
  display: flex; align-items: center; justify-content: center;
}
.sf-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.sf-feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--anthracite); margin-bottom: 0.3rem;
}
.sf-feature-desc {
  font-size: 0.88rem; font-weight: 300; line-height: 1.6;
  color: var(--steel);
}

/* ── Découpe Laser ── */
#laser {
  background: var(--anthracite);
  position: relative; overflow: hidden;
  padding: 5rem 5rem;
}
.laser-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
}
.laser-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: center;
}
.laser-left .section-tag { color: var(--accent); }
.laser-left .section-tag::before { background: var(--accent); }
.laser-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
}
.laser-title em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}
.laser-body {
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: var(--steel-light); max-width: 420px;
  margin-bottom: 2rem;
}
.laser-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.laser-spec {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem;
  transition: border-color 0.2s;
}
.laser-spec:hover { border-color: var(--accent); }
.laser-spec-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.6rem;
  color: var(--accent);
}
.laser-spec-key {
  font-size: 0.75rem; font-weight: 300;
  letter-spacing: 0.05em; color: var(--steel-light);
  margin-top: 0.2rem;
}
.laser-right { position: relative; }
.laser-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
}
.laser-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s, filter 0.6s;
}
.laser-img-wrap:hover img { transform: scale(1.04); filter: grayscale(0); }
.laser-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--anthracite) 0%, transparent 40%);
}
.laser-img-caption {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel-light);
}
.laser-line {
  position: absolute;
  width: 2px; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  top: -100px; right: -20px;
  animation: laser-scan 3s ease-in-out infinite;
}
@keyframes laser-scan {
  0%, 100% { top: -100px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: calc(100% + 100px); opacity: 0; }
}

/* ── Processus ── */
#processus { background: var(--warm-white); }
.proc-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }
.proc-header .section-tag { justify-content: center; }
.proc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.proc-step {
  padding: 3rem 2rem; background: var(--cream);
  position: relative; overflow: hidden;
  transition: background 0.35s;
}
.proc-step:hover { background: var(--anthracite); }
.proc-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 5rem;
  color: rgba(44,49,53,0.06); line-height: 1;
  margin-bottom: -1.5rem;
  transition: color 0.35s;
}
.proc-step:hover .proc-step-num { color: rgba(200,169,110,0.08); }
.proc-step-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.35s;
}
.proc-step:hover .proc-step-icon { background: var(--accent); }
.proc-step-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; transition: stroke 0.35s; }
.proc-step:hover .proc-step-icon svg { stroke: var(--anthracite); }
.proc-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--anthracite); margin-bottom: 0.6rem;
  transition: color 0.35s;
}
.proc-step:hover .proc-step-title { color: var(--warm-white); }
.proc-step-desc { font-size: 0.85rem; font-weight: 300; line-height: 1.65; color: var(--steel); transition: color 0.35s; }
.proc-step:hover .proc-step-desc { color: var(--steel-light); }
.proc-step-arrow {
  position: absolute; top: 50%; right: -14px;
  width: 28px; height: 28px;
  background: var(--accent);
  clip-path: polygon(0 0, 60% 50%, 0 100%);
  transform: translateY(-50%);
  z-index: 1; opacity: 0.6;
}
.proc-step:last-child .proc-step-arrow { display: none; }

/* ── Réalisations ── */
#realisations { background: var(--warm-white); }
.real-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem;
}
.real-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.real-item {
  position: relative; overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
}
.real-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: grayscale(10%);
}
.real-item:hover img { transform: scale(1.06); filter: grayscale(0); }
.real-item-overlay {
  position: absolute; inset: 0;
  background: rgba(44,49,53,0);
  transition: background 0.3s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.real-item:hover .real-item-overlay { background: rgba(44,49,53,0.5); }
.real-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-white);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.real-item:hover .real-item-label { opacity: 1; transform: translateY(0); }
.real-item-zoom {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: rgba(44,49,53,0.7);
  border: 1px solid rgba(200,169,110,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}
.real-item:hover .real-item-zoom { opacity: 1; transform: scale(1); }
.real-item-zoom svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* Mosaic grid layout — first 9 items */
.real-item:nth-child(1) { grid-column: span 5; grid-row: span 1; aspect-ratio: 4/3; }
.real-item:nth-child(2) { grid-column: span 4; grid-row: span 1; aspect-ratio: 4/3; }
.real-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.real-item:nth-child(4) { grid-column: span 3; aspect-ratio: 1; }
.real-item:nth-child(5) { grid-column: span 3; aspect-ratio: 1; }
.real-item:nth-child(6) { grid-column: span 3; aspect-ratio: 1; }
.real-item:nth-child(7) { grid-column: span 4; aspect-ratio: 16/9; }
.real-item:nth-child(8) { grid-column: span 4; aspect-ratio: 16/9; }
.real-item:nth-child(9) { grid-column: span 4; aspect-ratio: 16/9; }
/* Items 10+ : 4 par ligne */
.real-item:nth-child(n+10) { grid-column: span 3; aspect-ratio: 4/3; }

/* ── Valeurs ── */
#valeurs { background: var(--cream); }
.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid rgba(44,49,53,0.1);
}
.val-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(44,49,53,0.1);
  transition: background 0.3s;
  position: relative;
}
.val-card:last-child { border-right: none; }
.val-card:hover { background: var(--warm-white); }
.val-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 4rem;
  color: rgba(44,49,53,0.06);
  line-height: 1;
  margin-bottom: -0.5rem;
}
.val-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.val-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.val-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--anthracite); margin-bottom: 0.8rem;
}
.val-desc {
  font-size: 0.88rem; font-weight: 300; line-height: 1.7;
  color: var(--steel);
}
.val-line {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.val-card:hover .val-line { transform: scaleX(1); }

/* ── Contact ── */
#contact { background: var(--anthracite); position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,169,110,0.08) 0%, transparent 60%);
}
.contact-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.contact-left .section-tag { color: var(--accent); }
.contact-left .section-tag::before { background: var(--accent); }
.contact-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase; line-height: 0.95;
  color: var(--warm-white); margin-bottom: 1.5rem;
}
.contact-body {
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: var(--steel-light); margin-bottom: 2.5rem;
}
.contact-infos { display: grid; gap: 1.2rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid rgba(200,169,110,0.3);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.2rem;
}
.contact-info-val { font-size: 0.95rem; font-weight: 400; color: var(--warm-white); }

/* ── Form ── */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel);
}
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--warm-white);
  padding: 0.85rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--steel); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background: rgba(200,169,110,0.05);
}
.form-input.error { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--anthracite); color: var(--warm-white); }
.form-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent);
  color: var(--anthracite);
  border: none;
  padding: 1rem 2.5rem;
  cursor: crosshair;
  transition: background 0.2s, transform 0.2s;
  align-self: start;
  margin-top: 0.5rem;
}
.form-submit:hover:not(:disabled) { background: var(--warm-white); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; }
