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

/* ═══════════════════════════════════════
   VARIABLES
═══════════════════════════════════════ */
:root {
  --gold:        #C8973A;
  --gold-light:  #E8B96A;
  --gold-dim:    rgba(200,151,58,0.15);
  --gold-border: rgba(200,151,58,0.3);
  --dark:        #0D0D0D;
  --dark-mid:    #1C1C1C;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE6D8;
  --white:       #FFFFFF;
  --grey:        #6B6B6B;
  --grey-light:  #ABABAB;
  --font-serif:  'Fraunces', Georgia, serif;
  --font-sans:   'DM Sans', sans-serif;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); font-weight: 300; color: var(--dark); background: var(--cream); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════
   UTILITAIRES
═══════════════════════════════════════ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }

h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 52px); font-weight: 300; line-height: 1.12; color: var(--dark); }
h2 em { font-style: italic; color: var(--gold); }

.section-sub { font-size: 15px; font-weight: 300; color: var(--grey); line-height: 1.85; max-width: 420px; }

/* Boutons */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--dark);
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  transition: all 0.25s var(--ease); border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200,151,58,0.25); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark); color: var(--white);
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px;
  transition: all 0.25s var(--ease);
}
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* Animations */
@keyframes fadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,151,58,0.18);
  height: 68px;
}
.header-inner {
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: 36px; width: auto; mix-blend-mode: screen; }
.logo-fallback {
  display: none;
  font-family: var(--font-serif); font-size: 16px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px;
}

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 11px; font-weight: 400; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--grey-light);
  transition: color 0.2s; position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
nav a:hover, nav a.active { color: var(--white); }
nav a:hover::after, nav a.active::after { width: 100%; }

.lang-switch { display: flex; align-items: center; gap: 4px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.08); }
.lang-switch a { font-size: 11px; font-weight: 500; letter-spacing: 1px; color: var(--grey-light); padding: 3px 5px; transition: color 0.2s; }
.lang-switch a.on { color: var(--gold); }
.lang-switch span { color: rgba(255,255,255,0.12); font-size: 10px; }

.nav-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: 10px 20px !important; border-radius: 2px !important;
  font-weight: 500 !important; letter-spacing: 1px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh; background: url('../images/categories/tapisserie.png') repeat center/600px var(--dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  background: none;
  width: 700px; height: 700px; right: -150px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,151,58,0.05) 0%, transparent 70%);
  width: 400px; height: 400px; left: 15%; top: 10%;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,151,58,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(200,151,58,0.03) 1px, transparent 1px);
  background-size: 64px 64px; display:none;
  pointer-events: none;
}
.hero-content { position: relative; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 100px; padding: 8px 18px; margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.7s 0.1s forwards;
}
.hero-pill-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero-pill span { font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300; line-height: 1.02;
  color: var(--white); max-width: 720px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero h1 em { display: block; font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.42);
  max-width: 460px; line-height: 1.85; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
}
.hero-stats {
  position: absolute; right: 0px; bottom: 80px;
  display: flex; flex-direction: column; gap: 36px; text-align: left;
  opacity: 0; animation: fadeIn 1s 1s forwards;
}
.stat-num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--gold); line-height: 1; min-width: 100px; display: block;}
.stat-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-top: 4px; text-align: left; }

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-wrap { background: var(--gold); padding: 13px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 22s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 0 36px; font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; color: rgba(13,13,13,0.65);
  flex-shrink: 0;
}
.marquee-dot { width: 3px; height: 3px; background: rgba(13,13,13,0.3); border-radius: 50%; }

/* ═══════════════════════════════════════
   VALEURS
═══════════════════════════════════════ */
.values-section { background: var(--white); padding: 100px 0; }
.values-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 64px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; background: var(--cream-dark);
}
.val-card {
  background: var(--white); padding: 52px 40px;
  position: relative; overflow: hidden; transition: transform 0.3s var(--ease);
  cursor: default;
}
.val-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--gold); transition: width 0.4s var(--ease);
}
.val-card:hover::after { width: 100%; }
.val-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(0,0,0,0.07); }
.val-num {
  font-family: var(--font-serif); font-size: 64px; font-weight: 700;
  color: var(--cream-dark); line-height: 1; margin-bottom: 20px; transition: color 0.3s;
}
.val-card:hover .val-num { color: rgba(200,151,58,0.12); }
.val-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--dark); margin-bottom: 12px; }
.val-card p { font-size: 14px; font-weight: 300; color: var(--grey); line-height: 1.85; }

/* ═══════════════════════════════════════
   PRODUITS
═══════════════════════════════════════ */
.products-section { background: var(--cream); padding: 100px 0; }
.products-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 56px;
}
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3px; background: var(--cream-dark);
}
.prod-card {
  background: var(--white); position: relative; overflow: hidden;
  cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  aspect-ratio: 1 / 1.15; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.12); z-index: 2; }
.prod-img-wrap { flex: 1; overflow: hidden; position: relative; background: var(--cream-dark); }
.prod-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
.prod-card:hover .prod-img { transform: scale(1.07); }
.prod-body {
  padding: 16px 18px 18px; background: var(--white);
  border-top: 2px solid transparent; transition: border-color 0.3s; position: relative;
}
.prod-card:hover .prod-body { border-top-color: var(--gold); }
.prod-name { font-family: var(--font-serif); font-size: 15px; font-weight: 300; color: var(--dark); margin-bottom: 3px; }
.prod-sub { font-size: 10px; font-weight: 400; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grey-light); }
.prod-arrow {
  position: absolute; bottom: 16px; right: 16px; font-size: 14px; color: var(--gold);
  opacity: 0; transform: translateX(-6px); transition: all 0.3s;
}
.prod-card:hover .prod-arrow { opacity: 1; transform: translateX(0); }
.products-cta { text-align: center; margin-top: 52px; }

/* ═══════════════════════════════════════
   B CORP
═══════════════════════════════════════ */
.bcorp-section { background: var(--dark); padding: 100px 0; position: relative; overflow: hidden; }
.bcorp-ring, .bcorp-ring2 {
  position: absolute; border-radius: 50%; pointer-events: none;
  right: -100px; top: 50%; transform: translateY(-50%);
}
.bcorp-ring  { width: 520px; height: 520px; border: 1px solid rgba(200,151,58,0.08); }
.bcorp-ring2 { width: 380px; height: 380px; border: 1px solid rgba(200,151,58,0.05); }
.bcorp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; position: relative; }
.bcorp-badge {
  width: 108px; height: 108px; border-radius: 50%; background: var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 36px;
}
.bcorp-badge .b { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--dark); line-height: 1; }
.bcorp-badge .c { font-size: 9px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); }
.bcorp-section h2 { color: var(--white); }
.bcorp-section .section-sub { color: rgba(255,255,255,0.38); margin-top: 16px; max-width: 100%; }
.bcorp-points { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
.bcorp-point { display: flex; align-items: flex-start; gap: 14px; }
.bcorp-point-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(200,151,58,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 12px; font-weight: 500;
}
.bcorp-point p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.75; }
.bcorp-point strong { display: block; color: var(--white); font-weight: 400; margin-bottom: 2px; }

/* ═══════════════════════════════════════
   BANDE CTA
═══════════════════════════════════════ */
.cta-band { background: var(--gold); padding: 60px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h3 { font-family: var(--font-serif); font-size: 34px; font-weight: 300; color: var(--dark); }
.cta-band p { font-size: 15px; font-weight: 300; color: rgba(13,13,13,0.55); margin-top: 6px; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: var(--dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 52px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.28); line-height: 1.85; margin-top: 20px; max-width: 260px; }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-col li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; padding-bottom: 16px; }
.footer-social a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }
.footer-social a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.2); }
.footer-bottom span { color: var(--gold); }

/* ═══════════════════════════════════════
   PAGE HERO (pages intérieures)
═══════════════════════════════════════ */
.page-hero { background: var(--dark); padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,151,58,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(36px, 5vw, 70px);
  font-weight: 300; color: var(--white); line-height: 1.08; margin: 16px 0 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .section-sub { color: rgba(255,255,255,0.4); margin-top: 0; }

/* ═══════════════════════════════════════
   PAGE SOCIETE
═══════════════════════════════════════ */
.about-section { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid.reverse .about-text { order: 2; }
.about-grid.reverse .about-visual { order: 1; }
.about-visual {
  aspect-ratio: 4 / 5; background: var(--cream-dark); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 15px; font-weight: 300; color: var(--grey); line-height: 1.85; margin-bottom: 16px; }

/* ═══════════════════════════════════════
   PAGE CONTACT
═══════════════════════════════════════ */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 56px; }
.contact-items { display: flex; flex-direction: column; gap: 36px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon {
  width: 48px; height: 48px; background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 300; color: var(--dark); margin-bottom: 4px; }
.contact-item p { font-size: 14px; font-weight: 300; color: var(--grey); line-height: 1.7; }
.contact-item a { color: var(--gold); }
.contact-map {
  height: 420px; background: var(--cream-dark); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--grey-light);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 42px; }
  .hero-stats { display: none; }
  .values-head, .products-head, .bcorp-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════
   MENU HAMBURGER (mobile / tablette)
═══════════════════════════════════════ */
.nav-toggle { display: none; }

@media (max-width: 900px) {

  /* Bouton hamburger */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 44px; height: 44px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 0; z-index: 120;
  }
  .nav-toggle span {
    display: block; width: 26px; height: 2px; background: var(--gold);
    border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Panneau de navigation déroulant */
  nav.nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200,151,58,0.18);
    padding: 8px 24px 28px;
    max-height: calc(100vh - 68px); overflow-y: auto;
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform 0.38s var(--ease), opacity 0.25s var(--ease);
  }
  nav.nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  nav.nav-links a {
    font-size: 14px; letter-spacing: 1.5px; padding: 16px 4px; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  nav.nav-links a::after { display: none; }

  .lang-switch {
    padding: 16px 4px 4px; margin-top: 4px; border-left: none;
    justify-content: flex-start; gap: 10px;
  }

  .nav-cta {
    margin-top: 18px; text-align: center; justify-content: center;
    padding: 14px 20px !important;
  }
}

/* ═══════════════════════════════════════
   CORRECTIONS 09.2026 — catégories shop + nav
═══════════════════════════════════════ */
/* Grille catégories 3 colonnes (nouvelles catégories du shop) */
.products-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Illustrations (Nouveautés / Promos / Suisse) : image entière, fond crème */
.prod-img-wrap:has(.prod-img--illu) { background: var(--white); }
.prod-img.prod-img--illu { object-fit: contain; padding: 12%; }
.values-section .products-grid { background: var(--cream-dark); }

/* Nav desktop : espacement FR | DE resserré et stable */
.lang-switch a { width: auto; }
@media (max-width: 1100px) and (min-width: 901px) {
  nav { gap: 22px; }
  .header-inner { gap: 20px; }
}

@media (max-width: 768px) {
  .products-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .prod-card:hover { transform: none; }
}
@media (max-width: 420px) {
  .prod-name { font-size: 14px; }
  .prod-body { padding: 12px 12px 14px; }
}
