/* ============================================
   BOIS ET COULEURS — Styles Page d'accueil
   ============================================ */

/* --- HERO SLIDER --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 550px;
  overflow: hidden;
  margin-top: 0;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.10) 100%);
  z-index: 1;
  pointer-events: none;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Texte en bas à gauche comme la capture */
.slide-text {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  padding: 0;
  max-width: 600px;
}

.slide-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.9);
}

.slide-text p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font);
}
.slide-btn:hover {
  background: var(--gold);
  color: #fff;
  transform: translateX(4px);
}

/* Flèches */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  color: #1a1a1a;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.slide-arrow:hover { background: var(--gold); color: #fff; }
.slide-prev { left: 20px; }
.slide-next { right: 20px; }

/* Points */
.slide-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.sdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all 0.3s;
  display: inline-block;
}
.sdot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .slide-text { left: 20px; right: 20px; bottom: 80px; padding: 24px; }
  .slide-text h1 { font-size: 1.4rem; }
  .slide-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(201,146,42,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(139,94,60,0.12) 0%, transparent 50%),
              linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,146,42,0.12);
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-title .line1 { display: block; animation: fadeInUp 0.8s ease 0.1s both; }
.hero-title .line2 { display: block; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-title .line3 { display: block; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider { width: 1px; height: 40px; background: var(--dark-border); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-500), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* --- CATEGORIES --- */
.categories-section { background: var(--dark); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cat-color, var(--gold));
  transition: width var(--transition);
}
.cat-card:hover {
  border-color: var(--cat-color, var(--gold));
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cat-card:hover::before { width: 100%; opacity: 0.06; }
.cat-icon { font-size: 1.8rem; flex-shrink: 0; }
.cat-info h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.cat-info span { font-size: 0.72rem; color: var(--gray-500); }
.cat-arrow {
  margin-left: auto;
  color: var(--gray-700);
  font-size: 1rem;
  transition: var(--transition);
}
.cat-card:hover .cat-arrow { color: var(--cat-color, var(--gold)); transform: translateX(4px); }

/* --- PRODUCTS SECTION --- */
.products-section { background: var(--black); }

/* --- SERVICES --- */
.services-section { background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(201,146,42,0.2);
  transform: translateY(-4px);
}
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.service-card a { color: var(--gold); font-size: 0.88rem; font-weight: 600; transition: var(--transition); }
.service-card a:hover { letter-spacing: 0.02em; }

/* --- PROMO BANNER --- */
.promo-banner {
  background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-brown) 50%, var(--gold) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.promo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.promo-content { flex: 1; }
.promo-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.promo-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}
.promo-content strong { color: var(--black); background: white; padding: 0 4px; border-radius: 4px; }
.promo-content p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 28px; }
.promo-content .btn-primary { background: var(--black); color: white; border-color: var(--black); }
.promo-content .btn-primary:hover { background: white; color: var(--black); }
.promo-deco {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}
.c1 { width: 200px; height: 200px; right: 40px; }
.c2 { width: 300px; height: 300px; right: -40px; }
.c3 { width: 400px; height: 400px; right: -120px; }

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--black); overflow: hidden; }
.testimonials-track {
  position: relative;
  min-height: 200px;
}
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 680px;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  color: var(--gray-200);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood-brown), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.88rem; }
.testimonial-author span { color: var(--gray-500); font-size: 0.78rem; }
.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.testimonial-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dark-border);
  transition: var(--transition);
  cursor: pointer;
}
.testimonial-dots .dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* --- WHY US --- */
.why-section { background: var(--dark); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content .section-tag { margin-bottom: 16px; display: inline-block; }
.why-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.why-content > p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.why-list { margin-bottom: 36px; }
.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--gray-200);
  border-bottom: 1px solid var(--dark-border);
}
.why-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.3);
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-visual { position: relative; height: 400px; }
.why-card-stack { position: relative; height: 100%; }
.why-card {
  position: absolute;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}
.wc1 { top: 0; left: 0; right: 80px; }
.wc2 { top: 40%; left: 40%; right: 0; }
.wc3 { bottom: 0; left: 20px; right: 60px; }
.wc-num { display: block; font-size: 2.5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.wc-text { font-size: 0.82rem; color: var(--gray-500); margin-top: 4px; }

/* --- Animations --- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-visual { height: auto; }
  .why-card-stack { position: static; height: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .why-card { position: static; }
  .wc1, .wc2, .wc3 { top: auto; left: auto; right: auto; bottom: auto; }
  .promo-inner { flex-direction: column; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 20px; }
  .hero-stats .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 300px; }
  .why-card-stack { grid-template-columns: 1fr !important; }
  .slide-text { left: 20px; right: 20px; bottom: 60px; padding: 20px; }
}

/* --- PROCESS SECTION HOME --- */
.process-step-home:last-child { border-right: none; }
.process-step-home:hover { background: rgba(201,146,42,0.04) !important; }
@media (max-width: 900px) {
  .process-step-home {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }
  .process-step-home:last-child { border-bottom: none !important; }
}
@media (max-width: 600px) {
  .process-step-home { padding: 24px 16px !important; }
}

/* --- BURGER visible fix --- */
@media (max-width: 1100px) {
  .burger-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
