/* ═══════════════════════════════════════════════════════
   LaserPopWood — Gravure & Découpe Laser Artisanale
═══════════════════════════════════════════════════════ */

:root {
  --beige:        #E8DCC8;
  --beige-light:  #F5EFE3;
  --beige-mid:    #D4C5AA;
  --beige-dark:   #C4B08A;
  --lin:          #B5A47A;
  --lin-hover:    #9E8F69;
  --lin-pale:     #DDD0B3;
  --bois:         #7A5C3A;
  --bois-dark:    #5C4226;
  --bois-deep:    #3D2814;
  --chaud:        #A07848;
  --laser:        #E8C87A;
  --laser-glow:   rgba(232,200,122,0.25);
  --pop-rose:     #D4A896;
  --pop-bleu:     #8AAFC4;
  --texte:        #2E1F0E;
  --texte-doux:   #6B5540;
  --blanc:        #FAF8F3;
  --noir-bois:    #1A0F06;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanc);
  color: var(--texte);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ───── CURSEUR LASER CUSTOM ───── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--laser);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--lin);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s, height 0.3s;
  opacity: 0.6;
}
.cursor-trail {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--laser);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  transition: transform 0.4s ease-out;
}
body:hover .cursor { opacity: 1; }

/* ───── TEXTURE BOIS DE FOND ───── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    repeating-linear-gradient(88deg, transparent, transparent 60px, rgba(122,92,58,.025) 60px, rgba(122,92,58,.025) 61px),
    repeating-linear-gradient(175deg, transparent, transparent 90px, rgba(122,92,58,.018) 90px, rgba(122,92,58,.018) 91px);
  pointer-events: none;
  z-index: 0;
}

/* ───── NAV ───── */
nav {
  position: fixed; top: 0; width: 100%;
  z-index: 200;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,248,243,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-mid);
  transition: all .3s;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo svg { width: 42px; height: 42px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bois-dark);
  letter-spacing: -.01em;
}
.nav-logo-text span { color: var(--lin); font-style: italic; }
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--texte-doux);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--lin);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-links a:hover { color: var(--bois); }
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav {
  background: var(--lin);
  color: var(--blanc) !important;
  padding: .5rem 1.3rem;
  border-radius: 2px;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  transition: background .3s !important;
}
.btn-nav:hover { background: var(--lin-hover) !important; }
.btn-nav::after { display: none !important; }

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  background: var(--beige-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,92,58,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,92,58,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-bg-art {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  overflow: hidden;
}
.hero-bg-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(245, 239, 227, 0.95) 0%,
    rgba(245, 239, 227, 0.3) 40%,
    rgba(245, 239, 227, 0.5) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.hero-bg-art svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  filter: sepia(0.15) saturate(0.9);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Space Mono', monospace;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lin);
  margin-bottom: 1.8rem;
  padding: .3rem .8rem;
  border: 1px solid var(--lin-pale);
  border-radius: 2px;
  background: rgba(181,164,122,.07);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--laser);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--bois-dark);
  margin-bottom: 1.2rem;
}
.hero-title .word-pop {
  font-style: italic;
  color: var(--lin);
  position: relative;
  display: inline-block;
}
.hero-title .word-pop::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--lin), transparent);
}
.hero-title .word-laser {
  color: var(--bois-deep);
  font-style: normal;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--texte-doux);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: var(--bois); font-weight: 500; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--lin);
  color: var(--blanc);
  text-decoration: none;
  padding: .85rem 2rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  border: none;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--lin-hover); transform: translateY(-2px); }
.btn-primary svg { width: 14px; height: 14px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--bois);
  text-decoration: none;
  padding: .85rem 2rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid var(--beige-dark);
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  transition: all .3s;
}
.btn-ghost:hover { border-color: var(--lin); color: var(--lin); }

/* ───── STATS HERO ───── */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--beige-mid);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bois-dark);
  line-height: 1;
}
.stat-num span { color: var(--lin); font-style: italic; }
.stat-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-top: .25rem;
}

/* ───── FLOATING POP ITEMS ───── */
.pop-float {
  position: absolute;
  animation: float-pop 6s ease-in-out infinite;
  opacity: .85;
}
@keyframes float-pop {
  0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%     { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

/* ───── LASER BEAM ANIMÉ ───── */
.laser-beam {
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, var(--laser), rgba(232,200,122,0));
  animation: laser-scan 3s ease-in-out infinite;
  transform-origin: top;
}
@keyframes laser-scan {
  0%,100% { opacity: 1; height: 60px; }
  50%     { opacity: .4; height: 20px; }
}

/* ───── SECTIONS ───── */
.section {
  padding: 7rem 6rem;
  position: relative;
  z-index: 1;
}
.section-alt { background: var(--beige-light); }
.section-dark { background: var(--bois-deep); color: var(--beige-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lin);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: '//'; opacity: .5; }
.eyebrow-dark { color: var(--lin-pale); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bois-dark);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--lin); }
.section-title-light { color: var(--beige-light); }
.section-title-light em { color: var(--laser); }

.section-intro {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--texte-doux);
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.section-intro-light { color: var(--beige-mid); }

/* ───── SAVOIR-FAIRE CARDS ───── */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sf-card {
  background: var(--blanc);
  border: 1px solid var(--beige-mid);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.sf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181,164,122,.06), transparent);
  pointer-events: none;
}
.sf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(92,66,38,.1);
}
.sf-num {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--beige);
  position: absolute;
  top: -1rem; right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  transition: color .35s;
}
.sf-card:hover .sf-num { color: var(--lin-pale); }
.sf-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  color: var(--lin);
}
.sf-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bois-dark);
  margin-bottom: .75rem;
}
.sf-desc {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--texte-doux);
}
.sf-accent {
  height: 2px;
  background: linear-gradient(to right, var(--lin), transparent);
  margin-top: 1.8rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.sf-card:hover .sf-accent { transform: scaleX(1); }

/* ───── GALERIE ───── */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 1.5rem;
}
.g-item:first-child {
  grid-row: 1 / 3;
}
.g-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: none;
  background: var(--beige);
}
.g-item:first-child { grid-row: 1 / 3; }

.g-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .5s;
}
.g-item:hover .g-thumb { transform: scale(1.03); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61,40,20,0);
  transition: background .4s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.g-item:hover .g-overlay { background: rgba(61,40,20,.6); }

.g-label {
  color: var(--beige-light);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(6px);
  transition: all .4s;
}
.g-item:hover .g-label {
  opacity: 1;
  transform: translateY(0);
}

/* ───── POP CULTURE BAND ───── */
.pop-band {
  background: var(--bois-deep);
  padding: 1.5rem 6rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(181,164,122,.15);
  border-bottom: 1px solid rgba(181,164,122,.15);
}
.pop-band-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.pop-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--beige-mid);
  opacity: .7;
}
.pop-item svg { width: 18px; height: 18px; color: var(--laser); flex-shrink: 0; }
.pop-sep { color: var(--lin); opacity: .4; font-size: .5rem; }

/* ───── SECTION MATIERES ───── */
.mat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: 1.8rem 0 2.5rem;
}
.mat-tag {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  background: var(--beige-light);
  border-left: 2px solid var(--lin);
  font-size: .82rem;
  color: var(--texte-doux);
  letter-spacing: .03em;
}
.mat-tag::before {
  content: '—';
  color: var(--lin);
  font-size: .6rem;
}
.mat-cta { margin-top: .5rem; }

.machine-wrap {
  background: var(--beige);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.machine-wrap::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,200,122,.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: .6; transform: translate(-50%,-50%) scale(1.3); }
}
.machine-svg { width: 100%; position: relative; z-index: 1; }

/* ───── POP SHOWCASE ───── */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.pop-card {
  background: var(--blanc);
  border: 1px solid var(--beige-mid);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.pop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(92,66,38,.1);
}
.pop-card-dark {
  background: rgba(250,248,243,.05);
  border-color: rgba(181,164,122,.15);
}
.pop-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bois-dark);
  margin-bottom: .4rem;
}
.pop-card-title-light { color: var(--beige-light); }
.pop-card-sub {
  font-size: .78rem;
  color: var(--texte-doux);
  line-height: 1.5;
}
.pop-card-sub-light { color: var(--beige-mid); }

/* ───── SÉPARATEUR ÉTOILE POP ───── */
.star-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.star-sep::before, .star-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--beige-mid), transparent);
}
.star-sep span {
  color: var(--lin);
  font-size: .7rem;
}
.star-sep-bottom { margin-top: 3rem; }
.star-sep-label {
  color: var(--lin-pale);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
}

/* ───── CONTACT ───── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { padding-top: 1rem; }
.contact-intro { margin-bottom: 2rem; }
.info-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--beige-mid);
  font-size: .88rem;
  margin-bottom: .85rem;
  letter-spacing: .03em;
}
.info-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--laser);
  flex-shrink: 0;
}
.contact-logo {
  margin-top: 3rem;
  opacity: .12;
}
.contact-logo svg { width: 130px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}
.form-field label {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--beige-mid);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(250,248,243,.07);
  border: 1px solid rgba(196,176,138,.25);
  border-radius: 2px;
  padding: .7rem 1rem;
  color: var(--beige-light);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
  width: 100%;
  cursor: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(232,220,200,.3); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--lin-pale); }
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-field select option {
  background: #3D2814;
  color: var(--beige-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ───── FOOTER ───── */
footer {
  background: var(--bois-deep);
  padding: 2.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(181,164,122,.12);
  position: relative;
  z-index: 1;
}
.footer-logo { display: flex; align-items: center; gap: .6rem; }
.footer-logo svg { width: 32px; height: 32px; }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--beige-mid);
}
.footer-brand em {
  font-style: italic;
  color: var(--lin-pale);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: .75rem;
  color: var(--beige-mid);
  text-decoration: none;
  letter-spacing: .07em;
  transition: color .3s;
}
.footer-links a:hover { color: var(--lin-pale); }
.footer-legal {
  border-left: 1px solid rgba(196,176,138,.15);
  padding-left: 2rem;
  margin-left: .5rem;
}
.footer-legal a {
  font-size: .7rem;
  letter-spacing: .05em;
  opacity: .7;
}
.footer-legal a:hover { opacity: 1; }
.footer-copy {
  font-size: .72rem;
  color: rgba(212,197,170,.4);
  letter-spacing: .05em;
}

/* ───── DIVIDER ───── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--beige-mid), transparent);
  margin: 0 6rem;
  position: relative;
  z-index: 1;
}

/* ───── SCROLL REVEAL ───── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  nav { padding: .9rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 2rem 3rem; }
  .hero-bg-art { display: none; }
  .section { padding: 4rem 2rem; }
  .sf-grid, .pop-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .g-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .mat-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row { grid-template-columns: 1fr; }
  .divider { margin: 0 2rem; }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
  }
  .pop-band { padding: 1.5rem 2rem; }
  .hero-stats { gap: 1.5rem; }
}
.contact-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.15;
}
.label-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: .05em;
  text-transform: none;
  color: rgba(212,197,170,.6);
  margin-left: .3rem;
  font-weight: 300;
}

.file-upload {
  position: relative;
}
.file-upload input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.file-upload-label {
  display: inline-flex !important;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.2rem !important;
  background: rgba(250,248,243,.07);
  border: 1px dashed rgba(196,176,138,.4);
  border-radius: 2px;
  color: var(--beige-mid) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .82rem !important;
  letter-spacing: .03em !important;
  text-transform: none !important;
  cursor: none;
  transition: all .3s;
  width: 100%;
  justify-content: center;
}
.file-upload-label:hover {
  border-color: var(--lin-pale);
  background: rgba(250,248,243,.1);
  color: var(--beige-light) !important;
}
.file-list {
  margin-top: .6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.file-list-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .7rem;
  background: rgba(232,200,122,.08);
  border-left: 2px solid var(--laser);
  font-size: .78rem;
  color: var(--beige-mid);
}
.file-list-item .file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list-item .file-size {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: rgba(212,197,170,.5);
}

/* ═══════════════════════════════════════════
   SECTION POP CULTURE — TEXTE CENTRE
   ═══════════════════════════════════════════ */
.pop-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.pop-centered .section-intro {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   CARTE SAVOIR-FAIRE AVEC PHOTO EN FOND
   ═══════════════════════════════════════════ */
.sf-card-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--bois-dark);
  min-height: 320px;
}

/* Voile beige translucide pour rendre le texte lisible */
.sf-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(250, 248, 243, 0.92) 0%,
    rgba(250, 248, 243, 0.78) 45%,
    rgba(250, 248, 243, 0.55) 100%
  );
  z-index: 0;
  transition: opacity 0.4s ease;
}

/* Place tout le contenu au dessus du voile */
.sf-card-bg > * {
  position: relative;
  z-index: 1;
}

/* Au survol : photo plus visible, voile s'allege legerement */
.sf-card-bg:hover::before {
  background: linear-gradient(
    160deg,
    rgba(250, 248, 243, 0.85) 0%,
    rgba(250, 248, 243, 0.65) 45%,
    rgba(250, 248, 243, 0.4) 100%
  );
}

/* Le numero garde du style mais en couleur bois plus marquee */
.sf-card-bg .sf-num {
  color: rgba(122, 92, 58, 0.25);
}
.sf-card-bg:hover .sf-num {
  color: rgba(181, 164, 122, 0.55);
}

/* Titre et description bien contrastes */
.sf-card-bg .sf-title {
  color: var(--bois-dark);
  text-shadow: 0 1px 0 rgba(250, 248, 243, 0.6);
}
.sf-card-bg .sf-desc {
  color: var(--texte);
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   SECTION MATERIAUX — IMAGE AVEC VOILE BEIGE
   ═══════════════════════════════════════════ */
.machine-wrap-img {
  background: var(--beige-light);
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  min-height: 360px;
}
.machine-wrap-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 239, 227, 0.4) 0%,
    rgba(245, 239, 227, 0.15) 50%,
    rgba(245, 239, 227, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.machine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.9;
  filter: sepia(0.1) saturate(0.95);
  transition: transform 0.5s ease, opacity 0.4s ease, filter 0.4s ease;
}
.machine-wrap-img:hover .machine-img {
  opacity: 1;
  filter: sepia(0.05) saturate(1);
  transform: scale(1.03);
}

/* Mobile : photo materiaux mieux proportionnee */
@media (max-width: 900px) {
  .machine-wrap-img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    width: 100%;
    margin: 0 auto;
  }
  .machine-img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 600px) {
  .machine-wrap-img {
    aspect-ratio: 3 / 2;
    max-width: 500px;
  }
}

/* ═══════════════════════════════════════════
   GALERIE — IMAGE AVEC VOILE BEIGE DOUX
   ═══════════════════════════════════════════ */
.g-thumb-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--beige-light);
}

.g-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.95;
  filter: sepia(0.08) saturate(0.95);
  transition: transform 0.5s ease, opacity 0.4s ease, filter 0.4s ease;
}

/* Voile beige par dessus l'image (meme effet que le hero) */
.g-thumb-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 239, 227, 0.4) 0%,
    rgba(245, 239, 227, 0.15) 50%,
    rgba(245, 239, 227, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Au survol, l'image se reveille un peu */
.g-item:hover .g-img {
  opacity: 1;
  filter: sepia(0.05) saturate(1);
  transform: scale(1.04);
}

.g-item:hover .g-thumb-img::after {
  opacity: 0.5;
}

/* On garde le label par-dessus le voile */
.g-thumb-img .g-overlay {
  z-index: 2;
}

/* ═══════════════════════════════════════════
   BOUTONS RESEAUX SOCIAUX — SECTION CONTACT
   ═══════════════════════════════════════════ */
.contact-socials {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 176, 138, 0.15);
}

.contact-socials-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lin-pale);
  margin-bottom: 1rem;
  opacity: 0.75;
}

.contact-socials-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  text-decoration: none !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: none;
  transition: all 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
  border: none;
}
.contact-social:focus,
.contact-social:focus-visible,
.contact-social:active,
.contact-social:visited {
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}

.contact-social svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* Etsy — orange officiel */
.contact-social-etsy {
  background: #F1641E;
}
.contact-social-etsy:hover {
  background: #D54E10;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(241, 100, 30, 0.4);
}

/* Instagram — degrade officiel */
.contact-social-instagram {
  background: linear-gradient(
    45deg,
    #FFDD55 0%,
    #FFAA33 20%,
    #FF5544 40%,
    #DD2277 60%,
    #8833AA 80%,
    #5511BB 100%
  );
  background-size: 200% 200%;
  background-position: 0% 0%;
}
.contact-social-instagram:hover {
  background-position: 100% 100%;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(221, 34, 119, 0.4);
}

.contact-social:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-socials-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-social {
    width: auto;
  }
}

/* ═══════════════════════════════════════════
   BULLES FLOTTANTES — RESEAUX SOCIAUX
   ═══════════════════════════════════════════ */
.social-bubbles {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.social-bubbles.visible {
  opacity: 1;
}

.social-bubble {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  cursor: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
  overflow: visible;
  color: #fff !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}
.social-bubble:focus,
.social-bubble:focus-visible,
.social-bubble:active,
.social-bubble:visited {
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}
.social-bubble svg {
  color: #fff;
}

.social-bubble svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

/* ─── Couleur officielle Etsy : orange vif ─── */
.social-etsy {
  background: #F1641E;
}
.social-etsy:hover {
  background: #D54E10;
}

/* ─── Couleur officielle Instagram : degrade ─── */
.social-instagram {
  background: radial-gradient(
    circle at 30% 110%,
    #FFDD55 0%,
    #FFAA33 15%,
    #FF5544 30%,
    #DD2277 50%,
    #8833AA 75%,
    #5511BB 100%
  );
}
.social-instagram:hover {
  filter: brightness(1.1);
}

.social-bubble:hover {
  transform: translateX(6px) scale(1.08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.social-bubble:hover svg {
  transform: scale(1.15) rotate(-6deg);
}

/* Label qui apparait au survol (à droite cette fois) */
.bubble-label {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--bois-dark);
  color: var(--beige-light);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bubble-label::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bois-dark);
}

.social-bubble:hover .bubble-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Animation pulsation discrete adaptee aux couleurs */
@keyframes bubble-pulse-etsy {
  0%, 100% { box-shadow: 0 4px 16px rgba(241, 100, 30, 0.35); }
  50% { box-shadow: 0 4px 24px rgba(241, 100, 30, 0.6); }
}
@keyframes bubble-pulse-insta {
  0%, 100% { box-shadow: 0 4px 16px rgba(221, 34, 119, 0.35); }
  50% { box-shadow: 0 4px 24px rgba(221, 34, 119, 0.6); }
}

.social-etsy {
  animation: bubble-pulse-etsy 3s ease-in-out infinite;
}
.social-instagram {
  animation: bubble-pulse-insta 3s ease-in-out 1.5s infinite;
}

.social-bubble:hover {
  animation: none;
}

/* Responsive : plus petit sur mobile */
@media (max-width: 768px) {
  .social-bubbles {
    left: 0.8rem;
    gap: 0.6rem;
  }
  .social-bubble {
    width: 44px;
    height: 44px;
  }
  .social-bubble svg {
    width: 22px;
    height: 22px;
  }
  .bubble-label {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   ADAPTATIONS MOBILE — MISE A JOUR COMPLETE
   ═══════════════════════════════════════════ */

/* Tablette et mobile : curseur normal (pas de cursor custom sur tactile) */
@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto !important; }
  a, button, .sf-card, .g-item, .pop-card, .btn-primary, .btn-ghost, input, textarea, select, .social-bubble, .contact-social {
    cursor: pointer !important;
  }
  textarea, input { cursor: text !important; }
  .cursor, .cursor-ring, .cursor-trail { display: none !important; }
}

/* Mobile : galerie en 1 colonne pour lisibilite optimale */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 1rem;
  }
  .g-item,
  .g-item:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* Mobile : ajustements typographie hero */
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .hero-sub { font-size: .92rem; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
  }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: .65rem; }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    justify-content: center;
  }
}

/* Mobile : bulles flottantes plus petites et sans label */
@media (max-width: 600px) {
  .social-bubbles {
    left: 0.5rem;
    gap: 0.5rem;
  }
  .social-bubble {
    width: 40px;
    height: 40px;
  }
  .social-bubble svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobile : boutons reseaux contact prennent toute la largeur */
@media (max-width: 600px) {
  .contact-social {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile : reduction des paddings de sections */
@media (max-width: 600px) {
  .section { padding: 3rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 2.5rem; }
  .pop-band { padding: 1.2rem 1.2rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-intro { font-size: .9rem; }
}

/* Mobile : galerie header */
@media (max-width: 600px) {
  .gallery-header h2 { margin-bottom: 0; }
  .gallery-header .btn-ghost {
    align-self: stretch !important;
    justify-content: center;
  }
}

/* Tres petit ecran : ajustements supplementaires */
@media (max-width: 380px) {
  .nav-logo-text { font-size: 1rem; }
  .nav-logo-img { width: 60px !important; height: 60px !important; }
  .hero-eyebrow { font-size: .6rem; }
  .form-field input,
  .form-field textarea,
  .form-field select { font-size: .82rem; }
}

/* ─── CARTES SAVOIR-FAIRE AVEC PHOTO : adaptation mobile ─── */
@media (max-width: 900px) {
  .sf-grid {
    gap: 1.2rem;
  }
  .sf-card-bg {
    min-height: 280px;
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .sf-card-bg {
    min-height: 240px;
    padding: 1.8rem 1.3rem;
  }
  .sf-card-bg .sf-title {
    font-size: 1.2rem;
  }
  .sf-card-bg .sf-desc {
    font-size: .85rem;
  }
  .sf-card-bg .sf-num {
    font-size: 3.5rem;
    top: -0.5rem;
    right: 1rem;
  }
  /* Voile plus opaque sur mobile pour garantir la lisibilite sur petits ecrans */
  .sf-card-bg::before {
    background: linear-gradient(
      160deg,
      rgba(250, 248, 243, 0.95) 0%,
      rgba(250, 248, 243, 0.82) 50%,
      rgba(250, 248, 243, 0.6) 100%
    );
  }
}

/* ─── GALERIE : adaptation mobile finale ─── */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 1rem;
  }
  .g-item {
    aspect-ratio: 4 / 3;
  }
  .g-item:first-child {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem;
  }
  .g-item,
  .g-item:first-child {
    grid-column: 1 / -1 !important;
    aspect-ratio: 4 / 3;
  }
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
  }
  .gallery-header .btn-ghost {
    align-self: stretch !important;
  }
}

/* ─── SECTION POP CULTURE (texte centre) : adaptation mobile ─── */
@media (max-width: 600px) {
  .pop-centered {
    padding: 0 0.5rem;
  }
  .pop-centered .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .pop-centered .section-intro {
    font-size: .9rem;
    line-height: 1.7;
  }
  #pop.section {
    padding: 3rem 1.2rem;
  }
}

/* ─── CONTACT : adaptations mobile supplementaires ─── */
@media (max-width: 600px) {
  .contact-info {
    padding-top: 0;
  }
  .info-row {
    font-size: .82rem;
  }
  .contact-socials {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
  }
  .contact-logo {
    margin-top: 2rem;
  }
  .contact-logo img {
    width: 60px !important;
  }
}

/* ─── MENU MOBILE : meilleure presentation ─── */
@media (max-width: 900px) {
  .nav-links.mobile-open {
    padding: 1.2rem 1.5rem;
  }
  .nav-links.mobile-open a {
    font-size: .85rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--beige-mid);
  }
  .nav-links.mobile-open li:last-child a {
    border-bottom: none;
  }
  .nav-links.mobile-open .btn-nav {
    margin-top: 0.5rem;
    text-align: center;
    background: var(--lin);
    color: var(--blanc) !important;
  }
}

/* MENU BURGER MOBILE — Nav fonctionnelle sur mobile */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--lin);
  color: var(--bois-dark);
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-burger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--blanc);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--beige-mid);
    box-shadow: 0 8px 24px rgba(92, 66, 38, 0.1);
    z-index: 199;
  }
  .nav-links.mobile-open li {
    width: 100%;
  }
  .nav-links.mobile-open a {
    display: block;
    padding: 0.6rem 0;
    width: 100%;
  }
}