




@font-face {
  font-family: 'Brighta Norwich';
  src: url('fonts/BrightaNorwichRegular.woff2') format('woff2'),
       url('fonts/BrightaNorwichRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Book.woff2') format('woff2'),
       url('fonts/Gotham-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-BookItalic.woff2') format('woff2'),
       url('fonts/Gotham-BookItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2'),
       url('fonts/Gotham-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2'),
       url('fonts/Gotham-Medium.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Bold.woff2') format('woff2'),
       url('fonts/Gotham-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Black.woff2') format('woff2'),
       url('fonts/Gotham-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Light.woff2') format('woff2'),
       url('fonts/Gotham-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  
  --bg:       #18131c;   
  --bg2:      #211828;   /* fond secondaire */
  --bg3:      #2c2038;   /* fond tertiaire */
  --gold:     #9a5fbe;   
  --gold2:    #b27fd6;   /* violet lumineux */
  --gold-dim: rgba(154,95,190,0.22);
  --bone:     #f2ebe6;   
  --bone2:    #d8c8e0;   
  --text:     #c8aed8;   /* texte principal, teinte violette */
  --text2:    #9878b0;   /* texte secondaire */
  --border:   rgba(154,95,190,0.28);

  /* Fonts : Brighta Norwich pour titres, Gotham pour textes et labels */
  --f-title: 'Brighta Norwich', 'Uncial Antiqua', serif;
  --f-sub:   'Gotham', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body:  'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --sidebar-w: 0px;

  
  --green:     #1c3d2c;   
  --green2:    #25523a;   /* vert moyen */
  --green3:    #2e6847;   /* vert lumineux */
  --green-dim: rgba(45,104,71,0.22);
  --green-text:#7ab896;   /* texte sur fond vert */
}


body.light-mode {
  
  --bg:       #eae4dc;   /* parchemin chaud */
  --bg2:      #e0d8ce;   
  --bg3:      #d4cbc0;   
  --gold:     #7a4a9e;   
  --gold2:    #9468b8;   /* violet moyen */
  --gold-dim: rgba(122,74,158,0.14);
  --bone:     #1e1620;   
  --bone2:    #2e2038;   
  --text:     #4a3848;   
  --text2:    #7a6070;   
  --border:   rgba(122,74,158,0.16);

  
  --green:      #c8ddd0;
  --green2:     #b8d0c4;
  --green3:     #2e6847;
  --green-dim:  rgba(46,104,71,0.10);
  --green-text: #285a3c;
}


body.light-mode #hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #ddd4c8 0%, #d4c8bc 55%, #ccc0b4 100%),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(40,90,60,0.08) 0%, transparent 60%);
}


body.light-mode #collections {
  background: linear-gradient(160deg, #c8d8cc 0%, #bcd0c4 55%, #c4d4c8 100%);
}


body.light-mode #commandes {
  background: linear-gradient(160deg, #c8c0b0 0%, #c0b8a8 55%, #c4bcac 100%);
}
body.light-mode .commandes-frame {
  background: linear-gradient(135deg, rgba(40,30,20,0.07), rgba(46,104,71,0.09));
  border-color: rgba(46,104,71,0.22);
}

/* Cards, blocs, formulaires */
body.light-mode .card,
body.light-mode .sidebar-block,
body.light-mode .contact-right,
body.light-mode .contact-note,
body.light-mode .cta-block,
body.light-mode #footer,
body.light-mode #page-top { background: var(--bg2); }

body.light-mode .col-info {
  background: linear-gradient(to top, rgba(208,198,188,0.98) 0%, rgba(208,198,188,0.55) 65%, transparent 100%);
}
body.light-mode .produit-details li { border-color: rgba(122,74,158,0.12); }
body.light-mode .atelier-img-placeholder {
  background: linear-gradient(135deg, #d4c8bc, #c8bab0);
}
body.light-mode .form-field input,
body.light-mode .form-field select,
body.light-mode .form-field textarea,
body.light-mode .newsletter-form input {
  background: #ddd5cc;
  color: var(--bone2);
  border-color: rgba(122,74,158,0.2);
}

/* Sidebar */
body.light-mode #sidebar { background: var(--bg2); border-color: var(--border); }
body.light-mode .sidebar-links a:hover { background: var(--bg3); }
body.light-mode .sidebar-links a.active {
  background: linear-gradient(135deg, rgba(122,74,158,0.18) 0%, rgba(90,50,120,0.12) 100%);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(122,74,158,0.25);
}


body.light-mode ::-webkit-scrollbar-track { background: var(--bg); }
body.light-mode ::-webkit-scrollbar-thumb { background: rgba(122,74,158,0.4); }
body.light-mode ::selection { background: rgba(122,74,158,0.25); color: var(--bone); }

/* Order section */
body.light-mode .order-quick-section {
  background: linear-gradient(135deg, #ddd4c8, #d8d0c4);
  border-color: rgba(122,74,158,0.22);
}
body.light-mode .oqs-header { border-color: rgba(122,74,158,0.16); }

/* Mobile nav */
body.light-mode #mobile-topbar {
  background: rgba(224,216,206,0.97);
  box-shadow: 0 4px 24px rgba(30,22,32,0.12);
}
body.light-mode .mtb-name { color: var(--bone); }
body.light-mode #mobile-nav {
  background: rgba(218,210,200,0.97);
  box-shadow: 0 -8px 40px rgba(30,22,32,0.1), 0 -1px 0 rgba(122,74,158,0.12);
}
body.light-mode .mobile-nav-item       { color: rgba(74,56,72,0.4); }
body.light-mode .mobile-nav-item.active { color: var(--gold); }

/* Mobile full menu */
body.light-mode #mobile-fullmenu { background: var(--bg); }
body.light-mode .mfm-link { border-color: rgba(122,74,158,0.12); }
body.light-mode .mfm-link:first-child { border-color: rgba(122,74,158,0.12); }

/* Toggle buttons */
body.light-mode .toggle-btn {
  background: var(--bg2);
  box-shadow: 0 2px 10px rgba(30,22,32,0.1);
}
body.light-mode .toggle-btn:hover { box-shadow: 0 5px 16px rgba(122,74,158,0.18); }
body.light-mode .toggle-btn.active { box-shadow: 0 0 12px rgba(122,74,158,0.2), 0 2px 8px rgba(30,22,32,0.08); }

/* Filter cards mode clair */
body.light-mode .filter-card          { background: #ddd5cc; border-color: rgba(122,74,158,0.15); }
body.light-mode .filter-card:hover    { background: #d4cab8; }
body.light-mode .filter-card.active   { background: linear-gradient(160deg, #d4cab8, rgba(122,74,158,0.10)); }
body.light-mode .filter-card-count    { color: var(--bone); }

/* Atelier placeholder */
body.light-mode .atelier-img-placeholder { color: var(--text2); }


body.light-mode #page-top {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%);
}



.social-panel {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  cursor: pointer;
  border-radius: 50%;
  contain: paint;
  box-shadow: 0 2px 14px rgba(0,0,0,0.3);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease;
}
.social-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(154,95,190,0.22);
}
.social-btn:hover svg {
  transform: scale(1.15);
}
.social-btn:active {
  transform: translateY(0) scale(0.96);
}


.lang-panel {
  position: fixed;
  top: 1.2rem;
  left: 1.4rem;
  z-index: 9999;
  display: flex;
  align-items: center;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2rem;
  contain: paint;
  box-shadow: 0 2px 14px rgba(0,0,0,0.3);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease;
  white-space: nowrap;
}
.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(154,95,190,0.22);
}
.lang-btn:active { transform: translateY(0) scale(0.96); }
.lang-icon {
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.lang-btn:hover .lang-icon { transform: rotate(18deg) scale(1.18); }
.lang-label {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

/* SECTION COMMANDE RAPIDE */
.order-quick-section {
  background: linear-gradient(135deg, #211828, #2c2038);
  border: 1px solid var(--border);
  padding: 1.8rem 2rem 1.6rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.order-quick-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.oqs-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(45,104,71,0.3);
}
.oqs-title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  flex: 1;
  text-align: center;
}
.oqs-deco { color: var(--gold); font-size: 0.7rem; opacity: 0.7; }

.oqs-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}
.oqs-item-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text2);
}
.oqs-item-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}
.oqs-gem { color: var(--gold); font-size: 0.65rem; flex-shrink: 0; }
.oqs-item-name strong {
  font-family: var(--f-title);
  font-size: 1.1rem;
  color: var(--bone);
  font-weight: 400;
}
.oqs-prix {
  margin-left: auto;
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}

.oqs-msg-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text2);
  display: block;
  margin-bottom: 0.35rem;
}
#order-msg-ta {
  width: 100%;
  min-height: 155px;
  resize: vertical;
  background: var(--bg);
  border: 1px solid rgba(154,95,190,0.18);
  color: var(--bone2);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s;
}
#order-msg-ta:focus { border-color: var(--gold); }

.oqs-footer {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  align-items: center;
}
.oqs-back {
  font-size: 0.68rem;
  padding: 0.65rem 1.2rem;
}
.oqs-submit {
  flex: 1;
  text-align: center;
  min-width: 200px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.88;
  overflow-x: hidden;
}




@keyframes overlayIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes overlayOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}


@keyframes sigilAppear {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.3) rotate(-40deg); filter: blur(20px); }
  40%  { opacity: 1; transform: translate(-50%,-50%) scale(1.05) rotate(4deg);  filter: blur(0); }
  60%  { opacity: 1; transform: translate(-50%,-50%) scale(0.98) rotate(-1deg); filter: blur(0); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg);     filter: blur(0); }
}
@keyframes sigilPulse {
  0%, 100% { filter: brightness(0.85) drop-shadow(0 0 20px rgba(154,95,190,0.5));  }
  50%       { filter: brightness(1.2)  drop-shadow(0 0 40px rgba(154,95,190,0.9)); }
}
@keyframes sigilDismiss {
  0%   { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg);    filter: blur(0); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(3) rotate(20deg);   filter: blur(30px); }
}
@keyframes haloExpand {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}
@keyframes runeRingRotate {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes runeRingRotateReverse {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(-360deg); }
}
@keyframes crackleSpark {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.2); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.8) rotate(180deg); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); opacity: 0.06; }
  100% { transform: translateY(100vh);  opacity: 0.06; }
}



#portal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at center, #1c0c28 0%, #0c0814 60%, #000000 100%);
  pointer-events: none;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#portal-overlay.entering {
  pointer-events: all;
  animation: overlayIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
#portal-overlay.leaving {
  animation: overlayOut 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


#portal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(154,95,190,0.015) 2px,
    rgba(154,95,190,0.015) 4px
  );
  pointer-events: none;
}

#portal-overlay::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(154,95,190,0.3), transparent);
  animation: scanline 1.4s linear infinite;
}


.portal-halo {
  position: absolute;
  left: 50%; top: 50%;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(154,95,190,0.25);
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
}
.portal-halo-1 { animation: haloExpand 0.9s cubic-bezier(0.2,0.8,0.4,1) 0.1s both; }
.portal-halo-2 { animation: haloExpand 0.9s cubic-bezier(0.2,0.8,0.4,1) 0.25s both; border-color: rgba(154,95,190,0.15); }
.portal-halo-3 { animation: haloExpand 0.9s cubic-bezier(0.2,0.8,0.4,1) 0.4s both;  border-color: rgba(154,95,190,0.08); }


.portal-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.3s;
}
#portal-overlay.entering .portal-ring { opacity: 1; }
.portal-ring-1 {
  width: 200px; height: 200px;
  border-top-color: rgba(154,95,190,0.35);
  border-right-color: rgba(154,95,190,0.15);
  animation: runeRingRotate 4s linear infinite;
}
.portal-ring-2 {
  width: 240px; height: 240px;
  border-bottom-color: rgba(154,95,190,0.25);
  border-left-color: rgba(154,95,190,0.1);
  animation: runeRingRotateReverse 6s linear infinite;
}
.portal-ring-3 {
  width: 170px; height: 170px;
  border-top-color: rgba(154,95,190,0.2);
  border-left-color: rgba(154,95,190,0.3);
  animation: runeRingRotate 2.5s linear infinite;
}


.portal-spark {
  position: absolute;
  left: 50%; top: 50%;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
}
.portal-spark-1 { animation: crackleSpark 0.8s ease 0.15s both; }
.portal-spark-2 { animation: crackleSpark 0.8s ease 0.25s both; transform-origin: 20px 20px; }
.portal-spark-3 { animation: crackleSpark 0.8s ease 0.35s both; }
.portal-spark-4 { animation: crackleSpark 0.8s ease 0.20s both; }


#portal-sigil {
  position: absolute;
  left: 50%; top: 50%;
  font-family: var(--f-title);
  font-size: 5rem;
  color: var(--gold2);
  opacity: 0;
  line-height: 1;
  user-select: none;
  transform: translate(-50%, -50%);
}
#portal-overlay.entering #portal-sigil {
  animation: sigilAppear 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.1s forwards,
             sigilPulse 1.2s ease-in-out 0.8s infinite;
}
#portal-overlay.leaving #portal-sigil {
  animation: sigilDismiss 0.5s ease-in forwards !important;
}


#portal-page-name {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(154,95,190,0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s 0.5s;
}
#portal-overlay.entering #portal-page-name { opacity: 1; }


#main-content {
  animation: opacityReveal 0.4s ease both;
}
@keyframes opacityReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Bounce arrow hero */
@keyframes bounce      { 0%,100%{transform:translateY(0);}    50%{transform:translateY(7px);} }
@keyframes fadeIn      { from{opacity:0;} to{opacity:1;} }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(32px);} to{opacity:1;transform:translateY(0);} }
@keyframes shimmer     { from{transform:translateX(-100%) translateZ(0);} to{transform:translateX(100%) translateZ(0);} }
@keyframes floatGlow {
  0%,100% { transform: translateY(0)    translateZ(0); opacity: 0.9; }
  50%     { transform: translateY(-5px) translateZ(0); opacity: 1; }
}
@keyframes runeRotate  { from{transform:rotate(0deg);}  to{transform:rotate(360deg);} }
  /* borderPulse removed */
}

/* Sections reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2){transition-delay:0.08s;}
.reveal:nth-child(3){transition-delay:0.16s;}
.reveal:nth-child(4){transition-delay:0.24s;}

/* Particules hero */
#hero::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 20% 30%,rgba(154,95,190,0.4) 0%,transparent 100%),
    radial-gradient(1px 1px at 75% 20%,rgba(154,95,190,0.3) 0%,transparent 100%),
    radial-gradient(1px 1px at 55% 70%,rgba(154,95,190,0.25) 0%,transparent 100%),
    radial-gradient(1px 1px at 10% 80%,rgba(154,95,190,0.2) 0%,transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 60%,rgba(154,95,190,0.35) 0%,transparent 100%);
  opacity: 0.8;
}

/* Hover cards */
.card:hover {
  border-color:rgba(154,95,190,0.6);
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,0.5),0 0 30px rgba(154,95,190,0.08);
}
.card:hover h4 {
  color: var(--gold2);
}
.col-card:hover {
  border-color:var(--gold); transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(0,0,0,0.5),0 0 24px rgba(154,95,190,0.1);
}
.sidebar-links a.active {
  background:linear-gradient(135deg,rgba(154,95,190,0.22) 0%,rgba(154,120,56,0.14) 100%);
  color:var(--gold); box-shadow:0 2px 10px rgba(154,95,190,0.2);
}
.deco-diamond,.frame-diamond{display:inline-block;animation:runeRotate 12s linear infinite;}
.cmd-fleur{display:inline-block;animation:floatGlow 4s ease-in-out infinite;}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
::selection { background: var(--gold); color: var(--bg); }


h1, h2, h3 {
  font-family: var(--f-title);
  color: var(--bone);
  line-height: 1.08;
  font-weight: 400;
  /* Renforcer Brighta Norwich */
  -webkit-text-stroke: 0.3px rgba(242,235,230,0.2);
  paint-order: stroke fill;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  letter-spacing: 0.005em;
  line-height: 1.08;
}
h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  letter-spacing: 0.005em;
}

h4 { font-family: var(--f-body); font-size: 0.72rem; font-weight: 500; color: var(--bone); letter-spacing: 0.14em; text-transform: uppercase; }
p  { font-size: clamp(0.95rem, 1.25vw, 1.05rem); color: var(--text); line-height: 1.88; }
strong { color: var(--bone2); }


#sidebar {
  position: fixed;
  top: 50%;
  left: 1.2rem;
  transform: translateY(-50%);
  z-index: 500;
  width: 62px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0;
  gap: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(154,95,190,0.12);
}

/* Sigil SVG decoratif haut/bas de la sidebar */
.sidebar-sigil {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  margin-bottom: 1.5rem;  /* Ajout de marge en bas */
}
.sidebar-sigil a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.ws-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(154,95,190,0.3));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.ws-logo:hover {
  filter: drop-shadow(0 0 12px rgba(154,95,190,0.5));
  transform: scale(1.05);
}
.ws-sigil {
  width: 28px;
  height: 28px;
  color: var(--gold);
  animation: sigilIdle 8s ease-in-out infinite;
}
.sidebar-sigil--bottom .ws-sigil {
  animation: sigilIdle 8s ease-in-out infinite reverse;
  opacity: 0.45;
  width: 22px;
  height: 22px;
}
@keyframes sigilIdle {
  0%, 100% { transform: rotate(0deg);   opacity: 0.55; }
  25%       { transform: rotate(22.5deg); opacity: 0.75; }
  50%       { transform: rotate(45deg);  opacity: 0.55; }
  75%       { transform: rotate(22.5deg); opacity: 0.7; }
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  padding: 0.2rem 0;
  width: 100%;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--text2);
  position: relative;
  transition: background 0.16s ease, color 0.16s ease;
}
.sidebar-links a svg { width: 19px; height: 19px; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.sidebar-links a:hover { background: var(--bg3); color: var(--gold2); }
.sidebar-links a:hover svg { transform: scale(1.18); }
.sidebar-links a.active {
  background: linear-gradient(135deg, rgba(154,95,190,0.18) 0%, rgba(154,120,56,0.12) 100%);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(154,95,190,0.3);
}

.sidebar-links a.active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 22px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  border-radius: 1px;
}


#portal-sigil-svg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  color: var(--gold2);
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(154,95,190,0.6));
}
#portal-overlay.entering #portal-sigil-svg {
  animation: sigilAppear 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.1s forwards,
             portalSigilSpin 3s linear 0.8s infinite;
}
#portal-overlay.leaving #portal-sigil-svg {
  animation: sigilDismiss 0.5s ease-in forwards !important;
}
@keyframes portalSigilSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); filter: drop-shadow(0 0 20px rgba(154,95,190,0.5)); }
  50%  { filter: drop-shadow(0 0 40px rgba(154,95,190,0.9)); }
  to   { transform: translate(-50%,-50%) rotate(360deg); filter: drop-shadow(0 0 20px rgba(154,95,190,0.5)); }
}


#article-page {
  padding: 0 0 6rem;
  background: var(--bg);
}


.article-page-top { padding-bottom: 0; }

.art-hero {
  margin-bottom: 4rem;
}
.art-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  padding-top: 2.5rem;
}
.art-cat {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(154,95,190,0.1);
  border: 1px solid rgba(154,95,190,0.25);
  padding: 0.25rem 0.8rem;
}
.art-sep-dot {
  color: var(--gold);
  opacity: 0.4;
  font-size: 0.6rem;
}
.art-date, .art-read {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text2);
}
.art-title {
  font-family: var(--f-title);
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--bone);
  line-height: 1.15;
  font-weight: 400;
  max-width: 820px;
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}
.art-intro {
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 2.5rem;  font-style: italic;
}

/* Image hero article */
.art-hero-img {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-hero-icon {
  font-size: 5rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(154,95,190,0.3));
  animation: heroIconFloat 5s ease-in-out infinite;
}
@keyframes heroIconFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-10px) scale(1.05); }
}
.art-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(154,95,190,0.015) 3px, rgba(154,95,190,0.015) 4px);
}


.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: start;
}


.art-body {
  min-width: 0;
}
.art-h2 {
  font-family: var(--f-title);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--bone);
  font-weight: 400;
  margin: 3rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  letter-spacing: 0.01em;
}

.art-h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--green3), var(--gold));
}
.art-p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 1.4rem;
}


.art-tip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--green) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green3);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  transition: border-color 0.3s;
}
.art-tip:hover { border-left-color: var(--green-text); }
.art-tip-icon {
  color: var(--green3);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
  animation: sigilIdle 6s ease-in-out infinite;
}
.art-tip p {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* Citation */
.art-quote {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  font-family: var(--f-title);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--bone2);
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.art-quote-mark {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

/* Tags */
.art-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.art-tag {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  transition: color 0.25s, border-color 0.25s;
}
.art-tag:hover { color: var(--gold); border-color: rgba(154,95,190,0.5); }

/* Navigation retour */
.art-nav { margin-top: 1.5rem; }
.art-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text2);
  transition: color 0.25s, gap 0.3s;
}
.art-nav-back:hover { color: var(--gold); gap: 1rem; }
.art-nav-back svg { transition: transform 0.3s; }
.art-nav-back:hover svg { transform: translateX(-4px); }


.art-sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.art-sidebar-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.6rem;
}
.art-sidebar-block h4 {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}


.art-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.art-toc li a {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-left: 2px solid var(--border);
  transition: color 0.25s, border-color 0.25s, padding-left 0.25s;
  line-height: 1.4;
}
.art-toc li a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 1rem;
}

/* Articles similaires */
.art-related-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s;
  line-height: 1.4;
}
.art-related-link:last-child { border-bottom: none; }
.art-related-link span { color: var(--gold); opacity: 0.6; font-size: 0.6rem; flex-shrink: 0; margin-top: 0.2rem; }
.art-related-link:hover { color: var(--gold); }

/* CTA sidebar */
.art-sidebar-cta {
  text-align: center;
  background: linear-gradient(160deg, var(--bg2), var(--bg3));
  position: relative;
  overflow: hidden;
}
.art-sidebar-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.art-cta-icon { font-size: 2rem; display: block; margin-bottom: 0.8rem; }
.art-sidebar-cta h4 {
  font-family: var(--f-title);
  font-size: 1rem;
  color: var(--bone);
  font-weight: 400;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.art-sidebar-cta p { font-family: var(--f-body); font-weight: 300; font-style: italic; font-size: 0.85rem; color: var(--text2); line-height: 1.65; margin-bottom: 1.2rem; }
.art-sidebar-cta .btn-gold { width: 100%; text-align: center; display: block; font-size: 0.65rem; }

/* Lien "Lire l'article" dans la liste blog */
.post-lire {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-top: 1rem;
  transition: gap 0.3s, opacity 0.25s;
}
.post-lire:hover { gap: 0.8rem; color: var(--green3); }


#main-content { width: 100%; min-height: 100vh; }


.btn-gold {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #9a5fbe, #7a3d9e);
  color: var(--bg);
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid #9a5fbe;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  will-change: transform;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b27fd6, #9a5fbe);
  box-shadow: 0 0 22px rgba(154,95,190,0.25);
  color: var(--bg);
}
.btn-dark {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--bone2);
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
  will-change: transform;
}
.btn-dark:hover { border-color: var(--gold); color: var(--gold2); }


.sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.deco-diamond { color: var(--gold); }


#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.80),      
      rgba(10, 8, 15, 0.88)      
    ),
    url('./images/banniere_header_wolfsbane_studio.jpg') center center / cover no-repeat,
    radial-gradient(ellipse 80% 60% at 50% 40%, #251c38 0%, #18131c 55%, #0e0c16 100%);
  text-align: center;
  padding: 4rem 3rem;
  overflow: hidden;
  contain: style;
}
.hero-deco-top, .hero-deco-bot {
  position: absolute;
  left: 3rem;
  right: 3rem;
  display: flex;
  align-items: center;
}
.hero-deco-top { top: 1.8rem; }
.hero-deco-bot { bottom: 1.8rem; }
.deco-icon, .deco-fleur { padding: 0 1rem; color: var(--gold); opacity: 0.55; font-size: 1rem; }


.deco-sigil-sm {
  padding: 0 1.2rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.deco-sigil-sm svg {
  width: 18px;
  height: 18px;
  animation: sigilIdle 10s ease-in-out infinite;
}
.deco-sigil-sm--bot svg {
  animation: sigilIdle 10s ease-in-out infinite reverse;
  opacity: 0.6;
}

/* Sigil losange dans "S T U D I O" */
.hero-studio-sigil {
  color: var(--gold);
  display: flex;
  align-items: center;
  opacity: 0.7;
}
.hero-studio-sigil svg {
  width: 20px;
  height: 20px;
  animation: sigilIdle 8s ease-in-out infinite;
}

.hero-body { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; width: 100%; }

.hero-title {
  font-family: var(--f-title);
  font-size: clamp(6rem, 16vw, 13rem);  
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 400;
  /* Renforcer la font avec text-stroke et ombres multiples */
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.3);
  text-shadow:
    0 0 120px rgba(154,95,190,0.3),
    0 4px 16px rgba(0,0,0,0.95),
    0 0 2px rgba(255,255,255,0.5);
  paint-order: stroke fill;
}
.hero-studio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.studio-text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(0.65rem, 1.4vw, 0.85rem);
  letter-spacing: 0.75em;
  color: var(--gold2);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-quote {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(242,235,230,0.78);
  max-width: 560px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}


.hero-icons {
  display: grid;
  grid-template-columns: repeat(5, 90px);
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.hero-nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.55;
  cursor: default;
  transition: opacity 0.35s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-nav-icon svg {
  width: 22px;
  height: 22px;
}
.hero-nav-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  /* Les SVGs ont des couleurs intégrées (brand) — on les laisse telles quelles */
}
.hero-nav-icon:hover {
  opacity: 1;
  transform: scale(1.2) translateY(-3px);
}
/* Le sigil central est plus grand */
.hero-nav-icon--sigil {
  opacity: 0.65;
}
.hero-nav-icon--sigil svg {
  width: 34px;
  height: 34px;
  animation: sigilIdle 9s ease-in-out infinite;
}
.hero-nav-icon--sigil:hover {
  opacity: 1;
  transform: scale(1.15) translateY(-2px);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.5;
  animation: bounce 2.2s ease-in-out infinite;
}


#atelier {
  padding: 7rem 0;
  background: var(--bg);
}
.atelier-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.atelier-img-wrap {
  position: relative;
  border: 1px solid var(--border);
  padding: 10px;
}
.atelier-img-wrap::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(154,95,190,0.1);
  pointer-events: none;
}
.frame-corner {
  position: absolute;
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.6;
  z-index: 2;
}
.frame-corner.tl { top: -0.5rem; left: -0.5rem; }
.frame-corner.tr { top: -0.5rem; right: -0.5rem; }
.frame-corner.bl { bottom: -0.5rem; left: -0.5rem; }
.frame-corner.br { bottom: -0.5rem; right: -0.5rem; }
.atelier-img-wrap img { width: 100%; display: block; object-fit: cover; }
.atelier-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #100c18, #1c160e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 4rem;
  color: var(--text2);
}
.atelier-img-placeholder small {
  font-family: var(--f-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.4;
}
.atelier-deco-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.atelier-deco-top .sep-line { flex: 1; }
#atelier h2 { margin-bottom: 1.5rem; }
.drop-cap::first-letter {
  font-family: var(--f-title);
  font-size: 4.2em;
  color: var(--gold);
  float: left;
  line-height: 0.75;
  margin-right: 0.07em;
  margin-top: 0.08em;
}
.atelier-text p { font-weight: 700; color: var(--text); margin-bottom: 1.1rem; line-height: 1.9; }
.atelier-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 2rem 0;
}
.atelier-values { display: flex; gap: 2.5rem; justify-content: space-around; }
.value { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.value-icon { font-size: 1.8rem; color: var(--gold); line-height: 1; }
.value span:last-child {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone2);
}

/* COLLECTIONS */
#collections {
  padding: 6rem 0;
  background: var(--green);
  position: relative;
}
#collections::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(154,95,190,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 10%, rgba(45,104,71,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.collections-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}
.collections-title h2 { font-family: var(--f-title); }
.collections-title-line {
  max-width: 180px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 auto 3.5rem;
}
.collections-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.col-card {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  display: block;
  transition: border-color 0.35s, transform 0.35s;
}
.col-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.col-img {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  transition: transform 0.5s;
  position: relative;
  overflow: hidden;
}
.col-card:hover .col-img { transform: scale(1.04); }
.col-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.5s; z-index: 1; }
.col-card:hover img { transform: scale(1.05); }

.col-img-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  font-size: 4.5rem;
  z-index: 2;
}
.col-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(14,10,6,0.98) 0%, rgba(14,10,6,0.5) 65%, transparent 100%);
  text-align: center;
}
.col-diamond {
  display: block; color: var(--gold); font-size: 0.8rem; margin-bottom: 0.5rem; }
.col-info h3 {
  color: var(--bone);
  font-family: var(--f-title);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.col-info p {
  color: var(--gold); font-family: var(--f-body); font-weight: 700; font-style: italic; font-size: 0.78rem; opacity: 0.75; letter-spacing: 0.04em; }
.collections-cta { text-align: center; margin-top: 3.5rem; }

/* COMMANDES */
#commandes { padding: 5rem 3rem; background: linear-gradient(180deg, var(--green) 0%, var(--bg) 100%); position: relative; }
.commandes-frame {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1e1810, #161208);
  padding: 4.5rem 4rem;
  position: relative;
  text-align: center;
}
.frame-diamond {
  position: absolute;
  color: var(--gold);
  font-size: 1.2rem;
}
.frame-diamond.tl { top: 1.2rem; left: 1.4rem; }
.frame-diamond.tr { top: 1.2rem; right: 1.4rem; }
.frame-diamond.bl { bottom: 1.2rem; left: 1.4rem; }
.frame-diamond.br { bottom: 1.2rem; right: 1.4rem; }
.commandes-body { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.cmd-fleur { font-size: 1.8rem; color: var(--gold); opacity: 0.6; }
.cmd-sub {
  font-family: var(--f-body);
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  max-width: 480px;
  text-align: center;
  line-height: 1.75;
}

/* CONTACT SECTION */
#contact { padding: 6rem 0; background: var(--bg2); border-top: 1px solid var(--border); }
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-left h2 { margin-bottom: 1rem; }
.contact-left p  { font-weight: 700; color: var(--text); margin-bottom: 1.5rem; font-style: italic; line-height: 1.85; }
.contact-infos   { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-infos li { font-family: var(--f-body); font-size: 0.95rem; font-weight: 400; color: var(--bone2); display: flex; gap: 0.5rem; align-items: center; }
.contact-infos li span { color: var(--gold); }

/* FORMULAIRE */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }
.form-field label {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text2);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid rgba(154,95,190,0.18);
  color: var(--bone2);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a96e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-field select option { background: var(--bg2); }
.form-mention { font-size: 0.75rem; color: var(--text2); margin-top: 0.75rem; font-style: italic; }
.btn-submit { width: 100%; font-size: 0.85rem; cursor: pointer; border: none; }

/* PAGE HAUT */
#page-top {
  padding: 1rem 3rem 0.75rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
#page-top h1 { margin-bottom: 0.4rem; }
#page-top p  { font-family: var(--f-body); font-weight: 300; font-style: italic; font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: var(--text2); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.breadcrumb {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text2);
  margin-bottom: 0.45rem;
}
.breadcrumb a { color: var(--gold); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold2); }


#catalogue-page { padding: 3.5rem 0 5rem; background: var(--bg); }


.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 0.75rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.3s,
    background   0.3s,
    transform    0.35s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow   0.3s;
}


.filter-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: border-color 0.3s, width 0.3s, height 0.3s;
}


.filter-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.filter-card:hover::after,
.filter-card.active::after { width: 100%; }
.filter-card:hover::before,
.filter-card.active::before {
  border-color: var(--gold);
  width: 24px; height: 24px;
}


.filter-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--text2);
  transition: color 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
.filter-card-icon svg {
  width: 26px; height: 26px;
}


.filter-card-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.25s;
  white-space: nowrap;
}

/* Sous-titre */
.filter-card-sub {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--text2);
  opacity: 0.55;
  font-style: italic;
  text-align: center;
  line-height: 1.3;
  transition: opacity 0.3s;
}


.filter-card-count {
  font-family: var(--f-title);
  font-size: 1.5rem;
  color: var(--bone2);
  line-height: 1;
  opacity: 0.25;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: opacity 0.3s, color 0.3s;
  margin-top: 0.15rem;
}

/* Barre de proportion */
.filter-card-bar {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 0.4rem;
  position: relative;
  overflow: visible;
}
.filter-card-bar-fill {
  position: absolute;
  top: -1px; left: 0;
  height: 3px;
  width: var(--pct);
  background: linear-gradient(to right, rgba(154,95,190,0.2), rgba(154,95,190,0.55));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s,
              background 0.3s;
}

/* Halo de lueur sur l'actif */
.filter-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(154,95,190,0.07) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}


.filter-card:hover {
  border-color: rgba(154,95,190,0.4);
  background: var(--bg3);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 0 1px rgba(154,95,190,0.1);
}
.filter-card:hover .filter-card-icon  { color: var(--gold2); transform: scale(1.15) translateY(-2px); }
.filter-card:hover .filter-card-label { color: var(--gold2); }
.filter-card:hover .filter-card-sub   { opacity: 0.8; }
.filter-card:hover .filter-card-count { opacity: 0.5; }
.filter-card:hover .filter-card-bar-fill { background: linear-gradient(to right, rgba(154,95,190,0.3), var(--gold)); }
.filter-card:hover .filter-card-glow  { opacity: 1; }


.filter-card.active {
  border-color: var(--green3);
  border-color: rgba(154,95,190,0.45);
  background: linear-gradient(160deg, var(--bg3) 0%, rgba(154,95,190,0.06) 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(154,95,190,0.12);
}
.filter-card.active .filter-card-icon  { color: var(--gold); transform: scale(1.1); }
.filter-card.active .filter-card-label { color: var(--gold); }
.filter-card.active .filter-card-sub   { opacity: 0.7; color: var(--text); }
.filter-card.active .filter-card-count { color: var(--gold); opacity: 0.7; }
.filter-card.active .filter-card-bar-fill {
  background: linear-gradient(to right, rgba(154,95,190,0.4), var(--gold));
  box-shadow: 0 0 8px rgba(154,95,190,0.4);
}
.filter-card.active .filter-card-glow { opacity: 1; }

.filter-card.active .filter-card-count {
  animation: countPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes countPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 0.7; }
}



/* responsive */
@media (max-width: 1000px) { .filters-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .filters-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-card-sub { display: none; }
  .filter-card { padding: 1rem 0.6rem 0.9rem; }
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}


.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card-link { color: inherit; display: flex; flex-direction: column; flex: 1; }
.card:hover {
  border-color: rgba(154,95,190,0.55);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.card.hidden { display: none; }
.card-img {
  aspect-ratio: 4/3;
  background: var(--bg3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  overflow: hidden;
  position: relative;
}
.card-img span:not(.card-variantes-badge)   { font-size: 3.8rem; transition: transform 0.4s; }
.card:hover .card-img span:not(.card-variantes-badge) { transform: scale(1.08); }
.card-img small  { font-family: var(--f-body); font-weight: 300; font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text2); }
.card-img img    { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }

.card-body em    { font-family: var(--f-body); font-weight: 500; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-style: normal; display: block; margin-bottom: 0.4rem; min-height: 2.3rem; }
.card-body h4    { font-family: var(--f-title); font-size: 1.15rem; color: var(--bone); font-weight: 700; margin-bottom: 0.4rem; letter-spacing: 0.01em; line-height: 1.2; text-transform: none !important }
.card-body p     { font-size: 0.88rem; color: var(--text); line-height: 1.65; margin-bottom: 0.75rem; font-weight: 400; flex: 1; }
.card-footer     { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.card-body strong { font-family: var(--f-body); font-style: italic; font-weight: 700; font-size: 1.05rem; color: var(--gold); }
.card-voir       { font-family: var(--f-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text2); transition: color 0.3s; }
.card:hover .card-voir { color: var(--gold); }


.card-variantes-badge {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  display: inline-block;
  width: auto;
  font-family: var(--f-body);
  font-size: 0.58rem !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(18, 14, 22, 0.78);
  border: 1px solid rgba(154, 95, 190, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.2em 0.55em;
  border-radius: 2px;
  pointer-events: none;
  line-height: 1.6;
  white-space: nowrap;
  z-index: 2;
  transition: border-color 0.3s;
}
.card:hover .card-variantes-badge {
  border-color: rgba(154, 95, 190, 0.55);
}
body.light-mode .card-variantes-badge {
  background: rgba(18, 14, 22, 0.72);
  color: #f0e8de;
  border-color: rgba(122, 74, 158, 0.28);
}


.card-unique-badge {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--f-body);
  font-size: 0.57rem !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a96e;
  background: rgba(12, 9, 18, 0.82);
  border: 1px solid rgba(201, 169, 110, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.22em 0.55em 0.22em 0.45em;
  border-radius: 2px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  transition: border-color 0.3s, color 0.3s;
}
.card-unique-badge svg {
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  stroke: #c9a96e;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.card:hover .card-unique-badge {
  border-color: rgba(201, 169, 110, 0.55);
  color: #dfc08a;
}
.card:hover .card-unique-badge svg {
  opacity: 1;
  stroke: #dfc08a;
}


.swatch--variante {
  
}

.cta-block {
  margin-top: 4rem;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
}
.cta-block h3 { font-family: var(--f-title); font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 0.75rem; letter-spacing: 0.01em; }
.cta-block p  { font-weight: 300; font-style: italic; color: var(--text2); max-width: 480px; margin: 0 auto 2rem; line-height: 1.75; }


#produit-page { padding: 0.5rem 0 2.5rem; background: var(--bg); }

.produit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}
.produit-img-wrap {
  position: relative;
  border: 1px solid var(--border);
  padding: 8px;
}
.produit-img-wrap img { width: 100%; display: block; }
.produit-placeholder {
  aspect-ratio: 4/5;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 6rem;
  color: var(--text2);
}
.produit-placeholder small { font-family: var(--f-body); font-weight: 300; font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.5; }
.produit-statut {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}

.produit-cat {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.produit-nom {
  font-family: var(--f-title);
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  color: var(--bone);
  margin-bottom: 0.4rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.produit-prix {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.produit-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
  margin: 0.75rem 0;
}
.produit-desc { font-size: 0.84rem; font-weight: 500; color: var(--text); line-height: 1.7; margin-bottom: 0.85rem; }
/* Stagger animation : chaque li entre en decale */
@keyframes detailFadeIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.produit-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}
.produit-details li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text2);
  line-height: 1.45;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(154,95,190,0.1);
  opacity: 0;
  animation: detailFadeIn 0.35s ease both;
}
.produit-details li:first-child {
  border-top: 1px solid rgba(154,95,190,0.1);
}
/* stagger delays */
.produit-details li:nth-child(1) { animation-delay: 0.05s; }
.produit-details li:nth-child(2) { animation-delay: 0.10s; }
.produit-details li:nth-child(3) { animation-delay: 0.15s; }
.produit-details li:nth-child(4) { animation-delay: 0.20s; }
.produit-details li:nth-child(5) { animation-delay: 0.25s; }
.produit-details li:nth-child(6) { animation-delay: 0.30s; }
.produit-details li:nth-child(7) { animation-delay: 0.35s; }
/* Hover subtil sur chaque ligne */
.produit-details li:hover {
  color: var(--bone2);
  transition: color 0.2s;
}
.produit-details strong {
  font-family: var(--f-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  min-width: 86px;
  flex-shrink: 0;
  padding-top: 0.05rem;
  transition: opacity 0.2s;
}
.produit-details li:hover strong {
  opacity: 1;
}
.produit-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.produit-note {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text2);
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* ── Note du Studio ── */
.produit-studio-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(154, 95, 190, 0.06);
  border: 1px solid rgba(154, 95, 190, 0.22);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 0.5rem;
}
.produit-studio-note__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.produit-studio-note__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.produit-studio-note__title {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.produit-studio-note__body p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text2);
  margin: 0;
}

.similaires { padding-top: 2rem; text-align: center; }
.similaires-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.similaires-title span {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}


#contact-page { padding: 3.5rem 0 6rem; background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon  { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.2rem; }
.contact-block strong { font-family: var(--f-body); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.2rem; }
.contact-block a, .contact-block span { font-family: var(--f-body); font-weight: 400; font-size: 0.95rem; color: var(--bone2); display: block; }
.contact-block a:hover { color: var(--gold2); }
.contact-block p { font-family: var(--f-body); font-weight: 300; font-size: 0.82rem; font-style: italic; color: var(--text2); margin-top: 0.15rem; line-height: 1.6; }
.contact-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.2rem;
  margin-top: 0.5rem;
}
.contact-note p { font-style: italic; font-size: 0.9rem; color: var(--text2); line-height: 1.7; }

.contact-right { background: var(--bg2); border: 1px solid var(--border); padding: 2.5rem; }
.success-box {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-icon { font-size: 2rem; color: var(--gold); }
.success-box h3 { font-family: var(--f-title); color: var(--bone); }
.success-box p  { color: var(--text); font-style: italic; max-width: 340px; }


#blog-page { padding: 3.5rem 0 6rem; background: var(--bg); }

.blog-grid { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.articles   { display: flex; flex-direction: column; gap: 2.5rem; }

.post { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.post.featured { grid-template-columns: 1fr; }
.post-img { display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: var(--bg2); border: 1px solid var(--border); aspect-ratio: 4/3; }
.post.featured .post-img { font-size: 6rem; aspect-ratio: 16/9; margin-bottom: 1.5rem; }
.post-meta { font-family: var(--f-body); font-weight: 300; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: none; color: var(--text2); margin-bottom: 0.5rem; }
.post-meta span { color: var(--gold); font-weight: 500; }
.post-body h2 { font-family: var(--f-title); font-size: 1.25rem; color: var(--bone); font-weight: 400; margin-bottom: 0.5rem; line-height: 1.25; transition: color 0.3s; }
.post:hover .post-body h2 { color: var(--gold2); }
.post.featured .post-body h2 { font-size: 2rem; line-height: 1.15; }
.post-body p  { font-size: 0.95rem; color: var(--text); margin-bottom: 0.75rem; line-height: 1.75; font-weight: 400; }
.post-body a  { font-family: var(--f-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

.sidebar { position: sticky; top: 2rem; }
.sidebar-block { background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-block h4 { font-family: var(--f-body); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.sidebar-block ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-block li { display: flex; flex-direction: column; }
.sidebar-block li a { font-family: var(--f-body); font-weight: 400; font-size: 0.92rem; color: var(--text); transition: color 0.3s; line-height: 1.45; }
.sidebar-block li a:hover { color: var(--bone); }
.sidebar-block li small { font-family: var(--f-body); font-weight: 300; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--green-text); opacity: 0.7; margin-top: 0.1rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-cloud a { font-family: var(--f-body); font-weight: 300; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.65rem; border: 1px solid var(--border); color: var(--text2); transition: border-color 0.3s, color 0.3s; }
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold); }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-right: none; color: var(--bone2); font-family: var(--f-body); font-size: 1rem; padding: 0.65rem 0.8rem; outline: none; }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { padding: 0.65rem 1rem; background: var(--gold); border: 1px solid var(--gold); color: var(--bg); font-family: var(--f-body); font-size: 0.65rem; font-weight: 700; cursor: pointer; letter-spacing: 0.16em; text-transform: uppercase; }


#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(154,95,190,0.1);
  margin-bottom: 2rem;
}
.footer-name { font-family: var(--f-title); font-size: 1.3rem; color: var(--bone); display: block; margin-bottom: 0.6rem; letter-spacing: 0.01em; }
.footer-logo p { font-size: 0.82rem; font-weight: 300; color: var(--text2); font-style: italic; line-height: 1.65; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a, .footer-social a { font-size: 0.88rem; font-weight: 700; color: var(--text2); transition: color 0.3s; letter-spacing: 0.03em; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold2); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p    {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--text2);
  text-align: center;
  line-height: 1.65;
}
.footer-bottom span { color: var(--gold); opacity: 0.4; }
.footer-credits {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.4rem;
  opacity: 0.75;
}
.footer-credit-link {
  color: var(--gold2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit-link:hover {
  color: var(--gold);
  text-decoration: underline;
}


.wrapper { max-width: 1180px; margin: 0 auto; padding: 0 3rem; }
.center  { text-align: center; margin-top: 2.5rem; }
.reveal  { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hidden  { display: none !important; }

/* PAGE PORTFOLIO
   D */

#workshop-page {
  background: var(--bg);
}


.atl-manifesto {
  padding: 5rem 0 4rem;
  display: flex;
  justify-content: center;
}
.atl-manifesto-inner {
  position: relative;
  max-width: 780px;
  width: 100%;
  margin: 0 3rem;
  padding: 3.5rem 4rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(30,25,18,0.95) 0%, rgba(24,19,28,0.9) 100%);
  border: 1px solid var(--border);
}

.atl-mf-corner {
  position: absolute;
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1;
}
.atl-mf-tl { top: 1rem; left: 1.2rem; }
.atl-mf-tr { top: 1rem; right: 1.2rem; }
.atl-mf-bl { bottom: 1rem; left: 1.2rem; }
.atl-mf-br { bottom: 1rem; right: 1.2rem; }


.atl-manifesto-inner::before,
.atl-manifesto-inner::after {
  content: '';
  position: absolute;
  left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.atl-manifesto-inner::before { top: 1.8rem; }
.atl-manifesto-inner::after  { bottom: 1.8rem; }

.atl-mf-quote {
  font-family: var(--f-title);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: var(--bone);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.atl-mf-sub {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}


.atl-section {
  padding: 4rem 0 5rem;
}
.atl-section--dark {
  background: var(--green);
  border-top: 1px solid rgba(45,104,71,0.35);
  border-bottom: 1px solid rgba(45,104,71,0.35);
  position: relative;
}
.atl-section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(154,95,190,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.atl-section-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 3rem 4rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3rem;
  padding-bottom: 0;
  margin-bottom: 4rem;
}
.atl-sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border));
}
.atl-sep:last-child {
  background: linear-gradient(to left, transparent, var(--border));
}
.atl-section-header h2 {
  font-family: var(--f-title);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--bone);
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.01em;
}


.atl-steps {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.atl-step {
  display: grid;
  grid-template-columns: 90px 70px 1fr;
  gap: 0 2rem;
  align-items: start;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.atl-step:first-child { border-top: 1px solid var(--border); }

/* Ligne verticale gauche */
.atl-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  transition: background 0.4s;
}
.atl-step:hover::before {
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.atl-step:hover {
  background: linear-gradient(to right, rgba(154,95,190,0.03), transparent);
}


.atl-step-num {
  font-family: var(--f-body);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  padding-top: 0.3rem;
  letter-spacing: -0.04em;
  transition: color 0.3s;
  user-select: none;
}
.atl-step:hover .atl-step-num {
  color: rgba(154,95,190,0.35);
}


.atl-step-icon {
  font-size: 2rem;
  line-height: 1;
  padding-top: 0.6rem;
  text-align: center;
  transition: transform 0.35s ease;
}
.atl-step:hover .atl-step-icon {
  transform: scale(1.08) translateY(-2px);
}

/* Contenu texte */
.atl-step-body h3 {
  font-family: var(--f-title);
  font-size: 1.6rem;
  color: var(--bone);
  font-weight: 400;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.atl-step-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  max-width: 640px;
  font-weight: 700;
}


.atl-step--alt {
  padding-left: 2.5rem;
}
.atl-step--alt .atl-step-num {
  color: rgba(154,95,190,0.12);
}
.atl-step--alt .atl-step-body p {
  color: var(--text2);
}


.atl-values {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.atl-val {
  padding: 2.5rem 2rem 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.atl-val::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.atl-val:hover {
  border-color: rgba(154,95,190,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(154,95,190,0.06);
}
.atl-val:hover::after { transform: scaleX(1); }

.atl-val-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  display: block;
  transition: transform 0.3s ease;
}
.atl-val:hover .atl-val-icon {
  transform: scale(1.07) translateY(-2px);
}
.atl-val h4 {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.atl-val p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  font-weight: 700;
}


.atl-matieres {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.atl-mat {
  background: linear-gradient(160deg, var(--bg) 0%, rgba(28,61,44,0.18) 100%);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.3s;
  position: relative;
}
.atl-mat:hover {
  background: var(--bg2);
}
.atl-mat-em {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.2rem;
  transition: transform 0.3s ease;
}
.atl-mat:hover .atl-mat-em {
  transform: scale(1.1) translateY(-2px);
}
.atl-mat strong {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.atl-mat p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 700;
}


.atl-cta {
  text-align: center;
  padding: 5rem 3rem;
  position: relative;
}
.atl-cta-deco {
  display: block;
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  animation: runeRotate 10s linear infinite;
}
.atl-cta h3 {
  font-family: var(--f-title);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--bone);
  font-weight: 400;
  margin-bottom: 1rem;
}
.atl-cta p {
  font-size: 1rem;
  color: var(--text);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* MOBILE TOP BAR */
#mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 700;
  height: 58px;
  background: rgba(20,15,28,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transform: translateZ(0);
  will-change: transform;
  transform: translateZ(0);
  will-change: transform;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top, 0);
  box-shadow: 0 4px 28px rgba(0,0,0,0.6);
}
.mtb-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.mtb-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(154,95,190,0.25));
}
.mtb-sigil {
  width: 26px; height: 26px;
  color: var(--gold);
  flex-shrink: 0;
  animation: sigilIdle 9s ease-in-out infinite;
}
.mtb-name {
  font-family: var(--f-title);
  font-size: 1.05rem;
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1;
}
.mtb-right {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.mtb-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  color: var(--text2);
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mtb-toggle-btn:active { background: var(--gold-dim); color: var(--gold); }
.mtb-lang-label {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text2);
}
/* Burger */
.mtb-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  -webkit-tap-highlight-color: transparent;
  margin-left: 0.25rem;
}
.mtb-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--bone2);
  border-radius: 2px;
  transition:
    transform 0.35s cubic-bezier(0.77,0,0.175,1),
    opacity   0.2s,
    width     0.25s;
  transform-origin: center;
}
.mtb-burger:active { background: var(--gold-dim); border-color: var(--gold); }
.mtb-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mtb-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.mtb-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mtb-burger.open { border-color: var(--gold); background: var(--gold-dim); }




#mobile-fullmenu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 800;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:
    calc(72px + env(safe-area-inset-top, 0px))
    2.2rem
    calc(2rem + env(safe-area-inset-bottom, 0px))
    2.2rem;
  overflow-y: auto;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 42px) 29px);
  transition: clip-path 0.55s cubic-bezier(0.77,0,0.175,1);
}
#mobile-fullmenu.open {
  pointer-events: all;
  clip-path: circle(150% at calc(100% - 42px) 29px);
}

/* Overlay sombre */
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  transform: translateZ(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Scroll lock */
body.menu-open { overflow: hidden; }


.mfm-bg-sigil {
  position: absolute;
  right: -6vw;
  top: 50%;
  transform: translateY(-52%);
  width: 72vw;
  max-width: 380px;
  height: 72vw;
  max-height: 380px;
  color: var(--gold);
  pointer-events: none;
  opacity: 0.07;
}
.mfm-bg-sigil svg { width: 100%; height: 100%; }

/* Bouton fermer */
.mfm-close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 1rem;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text2);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
.mfm-close svg { width: 18px; height: 18px; }
.mfm-close:active {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg) scale(0.9);
}

/* Header tagline */
.mfm-header {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
}
#mobile-fullmenu.open .mfm-header {
  opacity: 1;
  transform: translateY(0);
}
.mfm-tagline {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.5;
  letter-spacing: 0.04em;
}


.mfm-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}
.mfm-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(154,95,190,0.12);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(28px);
  transition: color 0.25s, opacity 0.4s, transform 0.4s;
}
.mfm-link:first-child { border-top: 1px solid rgba(154,95,190,0.12); }


#mobile-fullmenu.open .mfm-link {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.12s + var(--i) * 0.07s);
}
.mfm-link.active { color: var(--gold); }


.mfm-link-num {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.45;
  min-width: 20px;
  transition: opacity 0.25s;
}
.mfm-link.active .mfm-link-num { opacity: 1; }

/* Label principal */
.mfm-link-label {
  font-family: var(--f-title);
  font-size: clamp(1.75rem, 7.5vw, 2.4rem);
  color: inherit;
  line-height: 1;
  flex: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.mfm-link.active .mfm-link-label { color: var(--gold); }


.mfm-link-arrow {
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.3s;
}
.mfm-link-arrow svg { width: 18px; height: 18px; }
.mfm-link.active .mfm-link-arrow,
.mfm-link:active .mfm-link-arrow {
  opacity: 0.8;
  transform: translateX(0);
}

/* Soulignement violet au press */
.mfm-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(to right, var(--gold), transparent);
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mfm-link:active::after { width: 80%; }


.mfm-link:active .mfm-link-label {
  letter-spacing: 0.03em;
}


.mfm-footer {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s 0.5s, transform 0.4s 0.5s;
}
#mobile-fullmenu.open .mfm-footer {
  opacity: 1;
  transform: translateY(0);
}
.mfm-social {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  padding: 0.4rem 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s;
}
.mfm-social:active { color: var(--gold); }
.mfm-social-sep { color: var(--gold); opacity: 0.35; font-size: 0.55rem; }




#mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 600;
  background: rgba(20,14,28,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateZ(0);
  will-change: transform;
  transform: translateZ(0);
  will-change: transform;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow:
    0 -8px 40px rgba(0,0,0,0.6),
    0 -1px 0 rgba(154,95,190,0.15);
}
.mobile-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.3rem 0.55rem;
  color: rgba(152,120,176,0.4);
  flex: 1;
  min-height: 56px;
  position: relative;
  transition: color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.mobile-nav-item svg {
  width: 20px; height: 20px;
  transition:
    transform 0.38s cubic-bezier(0.34,1.56,0.64,1),
    filter 0.3s;
  flex-shrink: 0;
}
.mobile-nav-item .mnav-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.42rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: opacity 0.22s;
  opacity: 0.6;
}
/* Active */
.mobile-nav-item.active { color: var(--gold); }
.mobile-nav-item.active .mnav-label { opacity: 1; }
.mobile-nav-item.active svg {
  transform: scale(1.18) translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(154,95,190,0.65));
}

.mobile-nav-item::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.mobile-nav-item.active::before { transform: scaleX(1); }
.mobile-nav-item:active svg {
  transform: scale(0.88) translateY(1px);
  transition-duration: 0.1s;
}



/* DESKTOP TOGGLE */

*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; min-width: 320px; }


#collections {
  background: linear-gradient(160deg, #1e1428 0%, #18131c 55%, #201530 100%);
}
.collections-title h2 { color: var(--bone); }

/* SECTION COMMANDES */
#commandes {
  background: linear-gradient(160deg, #0d2018 0%, #122819 55%, #0e1e15 100%);
}
.commandes-frame {
  background: linear-gradient(135deg,
    rgba(46,104,71,0.18) 0%,
    rgba(30,80,55,0.12) 100%);
  border-color: rgba(46,104,71,0.35);
}
.commandes-frame::before,
.commandes-frame::after {
  border-color: rgba(46,104,71,0.2);
}
.frame-diamond { color: #3d8a5e; }
.cmd-fleur { color: #3d8a5e; }
#commandes h2 { color: var(--bone); }
#commandes .cmd-sub { color: #7ab896; }


.wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: 100%;
}



/* Atelier */
.atelier-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
}
.atelier-img-wrap { flex: 1 1 280px; min-width: 0; }
.atelier-text     { flex: 1 1 280px; min-width: 0; }

/* Contact */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}
.contact-left  { flex: 1 1 240px; min-width: 0; }
.contact-right { flex: 1.8 1 300px; min-width: 0; }

/* Blog */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.articles { flex: 1 1 360px; min-width: 0; }
.sidebar  { flex: 0 0 275px; min-width: 0; position: sticky; top: 2rem; }

/* Form row */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-row .form-field { flex: 1 1 170px; min-width: 0; }

/* Grille produits */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.4rem;
}

/* Collections */
.collections-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  justify-content: center;
}
.col-card { flex: 1 1 195px; max-width: 275px; }

/* Filters */
.filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter-card { flex: 1 1 115px; min-width: 100px; }


@media (min-width: 901px) {
  #mobile-topbar  { display: none !important; }
  #mobile-nav     { display: none !important; }
  #mobile-fullmenu { display: none !important; }
  #mobile-menu-overlay { display: none !important; }
  .social-panel   { display: flex !important; }
  .lang-panel     { display: flex !important; }
  #sidebar        { display: flex !important; }
}

/* TABLETTE LARGE */
@media (max-width: 1100px) {
  .col-card { flex: 1 1 170px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
  .sidebar  { flex: 0 0 240px; }
}

/* TABLETTE PORTRAIT */
@media (max-width: 900px) {
  /* Navigation swap */
  #sidebar        { display: none !important; }
  #mobile-topbar  { display: flex !important; }
  #mobile-nav     { display: flex !important; }
  .social-panel   { display: none !important; }
  .lang-panel     { display: none !important; }

  #main-content { width: 100%; padding-top: 58px; margin-left: 0 !important; }
  #hero         { padding-top: 1.5rem !important; min-height: calc(100svh - 58px); }
  #footer       { padding-bottom: calc(2.5rem + 56px + env(safe-area-inset-bottom, 0px)); }

  
  .atelier-inner    { flex-direction: column; gap: 3rem; }
  .atelier-img-wrap { flex: none; width: 100%; max-width: 480px; margin: 0 auto; }
  .atelier-text     { flex: none; width: 100%; }

  
  .contact-grid  { flex-direction: column; gap: 2rem; }
  .contact-left  { flex: none; width: 100%; }
  .contact-right { flex: none; width: 100%; padding: 2rem 1.5rem; }

  
  .blog-grid { flex-direction: column; gap: 2rem; }
  .articles  { flex: none; width: 100%; }
  .sidebar   { flex: none; width: 100%; position: static; }

  
  .produit-grid { grid-template-columns: 1fr; gap: 0; }
  .produit-img-wrap {
    border-left: none; border-right: none; border-radius: 0;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 3rem));
  }
  .produit-info { padding: 0 clamp(1rem, 4vw, 3rem); }
  .produit-placeholder { aspect-ratio: 4/5; }
  .produit-mobile-cta {
    display: block !important;
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    left: 1rem; right: 1rem;
    z-index: 550;
    text-align: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.82rem;
    box-shadow: 0 4px 28px rgba(0,0,0,0.5), 0 0 20px rgba(154,95,190,0.25);
    animation: fabSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
  }
  @keyframes fabSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .produit-actions .btn-gold { display: none; }

  /* Portfolio */
  .atl-values   { grid-template-columns: 1fr; }
  .atl-matieres { grid-template-columns: repeat(2, 1fr); }
  .atl-step     { grid-template-columns: 55px 48px 1fr; gap: 0 1rem; }
  .atl-step--alt { padding-left: 1rem; }

  /* Article */
  .art-layout  { grid-template-columns: 1fr; gap: 2.5rem; }
  .art-sidebar { position: static !important; }
  .art-hero-img { height: 240px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  #page-top { padding: 1.6rem clamp(1rem, 4vw, 3rem) 1.3rem; }
}

/* MOBILE */
@media (max-width: 680px) {
  .wrapper { padding: 0 1.1rem; }

  /* Hero */
  #hero {
    padding: 2rem 1.2rem 3rem;
    min-height: calc(100svh - 58px);
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-deco-top, .hero-deco-bot { display: none; }
  .hero-body { align-items: center; gap: 0.85rem; padding-bottom: 3rem; max-width: 100%; }
  .hero-title { font-size: clamp(3.2rem, 18vw, 5.5rem); line-height: 0.9; text-align: center; }
  .hero-studio { justify-content: center; }
  .studio-text { font-size: clamp(0.6rem, 2.4vw, 0.85rem); letter-spacing: 0.42em; }
  .hero-quote  { font-size: 0.9rem; font-weight: 300; text-align: center; max-width: 90%; }
  .hero-icons  { display: none !important; }
  .hero-scroll { display: none !important; }
  .hero-btns   { gap: 0.65rem; flex-wrap: wrap; justify-content: center; }
  .hero-btns .btn-gold,
  .hero-btns .btn-dark { font-size: 0.7rem; padding: 0.75rem 1.2rem; }

  
  #collections { padding: 3rem 0 2.5rem; }
  .collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1.1rem;
    flex-wrap: unset;
    overflow-x: unset;
    justify-content: unset;
  }
  .collections-grid::-webkit-scrollbar { display: none; }
  .col-card { flex: unset; max-width: unset; scroll-snap-align: unset; }
  .col-img  { aspect-ratio: 1 / 1; font-size: 3.2rem; }

  /* Commandes */
  .commandes-frame { padding: 2.2rem 1.3rem; }
  #commandes       { padding: 3rem 1.1rem; }

  /* Page top */
  #page-top { padding: 1.1rem 1.1rem 0.9rem; text-align: left; }
  #page-top h1 { font-size: clamp(1.5rem, 7.5vw, 2.3rem); text-align: left; }
  .breadcrumb { text-align: left; }

  /* Filtres scroll horizontal */
  .filters-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
  }
  .filters-grid::-webkit-scrollbar { display: none; }
  .filter-card {
    flex: 0 0 auto;
    min-width: 85px;
    padding: 0.9rem 0.7rem 0.8rem;
    scroll-snap-align: start;
    gap: 0.22rem;
  }
  .filter-card-sub   { display: none; }
  .filter-card-count { font-size: 1.1rem; }
  .filter-card-icon  { width: 28px; height: 28px; }
  .filter-card-icon svg { width: 16px; height: 16px; }

  /* Grille produits 2 colonnes */
  .products { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .card-img       { aspect-ratio: 1 / 1; }
  .card-img span  { font-size: 2.8rem; }
  .card-body      { padding: 0.8rem; }
  .card-body em   { font-size: 0.52rem; }
  .card-body h4   { font-size: 0.85rem; line-height: 1.25; }
  .card-body p    { display: none; }
  .card-body strong { font-size: 0.9rem; }
  .card-voir      { font-size: 0.52rem; }

  /* Blog liste compacte */
  .blog-grid { gap: 1.5rem; flex-direction: column; }
  .post {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .post.featured { flex-direction: column; gap: 0; }
  .post-img { width: 80px; height: 80px; flex-shrink: 0; aspect-ratio: 1; font-size: 2rem; border: none; border-radius: 8px; }
  .post.featured .post-img { width: 100%; height: 160px; font-size: 3.8rem; border-radius: 0; aspect-ratio: unset; margin-bottom: 0.9rem; }
  .post-body h2 { font-size: 0.95rem; }
  .post.featured .post-body h2 { font-size: 1.25rem; }
  .post-body p  { font-size: 0.85rem; }
  .post-meta    { font-size: 0.52rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  #footer { padding: 2rem 1.1rem calc(2rem + env(safe-area-inset-bottom, 0px)); }

  /* Contact */
  .contact-block { gap: 0.75rem; }
  .contact-icon  { font-size: 1.25rem; }
  .contact-right { padding: 1.5rem 1.1rem; }

  /* Portfolio */
  .atl-matieres        { grid-template-columns: 1fr; }
  .atl-section-header  { padding: 0 1.1rem; margin-bottom: 1.8rem; }
  .atl-steps, .atl-values, .atl-matieres { padding: 0 1.1rem; }
  .atl-manifesto-inner { margin: 0 1.1rem; padding: 1.8rem 1.3rem; }
  .atl-step     { grid-template-columns: 42px 36px 1fr; gap: 0 0.65rem; padding: 1.5rem 0; }
  .atl-step-num { font-size: 1.8rem; }
  .atl-step--alt { padding-left: 0; }
  .atl-cta      { padding: 2.5rem 1.1rem; }
  .atl-val      { padding: 1.6rem 1.2rem; }

  /* Article */
  .art-title     { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .art-hero-img  { height: 180px; }
  .art-hero-icon { font-size: 3.2rem; }
  .art-quote     { padding: 1.3rem 1.1rem; font-size: 0.95rem; }
  .art-tip       { padding: 0.9rem 1.1rem; }
  .art-hero-meta { gap: 0.3rem; flex-wrap: wrap; }

  /* Formulaire */
  .form-row { flex-direction: column; }
  .form-row .form-field { flex: none; width: 100%; }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 1rem; padding: 0.85rem 0.8rem; }
  .form-field textarea { min-height: 105px; }

  /* CTA */
  .cta-block    { padding: 2rem 1.1rem; }
  .cta-block h3 { font-size: 1.1rem; }
}

/* PETIT MOBILE */
@media (max-width: 430px) {
  .hero-title { font-size: clamp(2.8rem, 19vw, 4.5rem); }
  .hero-btns  { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-gold,
  .hero-btns .btn-dark { text-align: center; width: 100%; }
  .col-card { max-width: unset; }
  .produit-prix    { font-size: 1.35rem; }
  .produit-details { margin-bottom: 1.5rem; }
  .produit-details li { font-size: 0.76rem; gap: 0.6rem; padding: 0.5rem 0; }
  .produit-details strong { min-width: 74px; font-size: 0.52rem; }
  .produit-nom { font-size: clamp(1.3rem, 7vw, 1.9rem); }
  .cta-block h3 { font-size: 1rem; }
  .tag-cloud a  { font-size: 0.52rem; padding: 0.28rem 0.65rem; }
  .atl-manifesto-inner { padding: 1.4rem 0.9rem; }
  .atl-mf-quote { font-size: clamp(0.9rem, 4.5vw, 1.15rem); }
  .products { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 16/9; }
}

/* S PETIT */
@media (max-width: 360px) {
  .wrapper    { padding: 0 0.85rem; }
  #page-top   { padding: 0.9rem 0.85rem 0.75rem; }
  .hero-title { font-size: clamp(2.4rem, 20vw, 3.8rem); }
  .contact-right { padding: 1.2rem 0.85rem; }
  .card-body  { padding: 0.65rem; }
}


@media (hover: none) and (pointer: coarse) {
  .btn-gold, .btn-dark { min-height: 48px; }
  .sidebar-block li a  { padding: 0.5rem 0; display: block; min-height: 44px; }
  .tag-cloud a {
    padding: 0.4rem 0.85rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .filter-card    { min-height: 76px; }
  .post-lire      { padding: 0.5rem 0; min-height: 40px; display: inline-block; }
  .mobile-nav-item { min-height: 56px; }

  .card:hover        { transform: none; box-shadow: none; }
  .col-card:hover    { transform: none; }
  .filter-card:hover { transform: none; box-shadow: none; }
  .atl-val:hover     { transform: none; }

  .card:active        { border-color: rgba(154,95,190,0.5); }
  .col-card:active    { border-color: var(--gold); }
  .filter-card:active { background: var(--bg3); }
  .btn-gold:active    { opacity: 0.85; transform: scale(0.97); }
  .btn-dark:active    { opacity: 0.85; transform: scale(0.97); }
}

/* SCROLLBAR */
.filters-grid,
.collections-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.filters-grid::-webkit-scrollbar,
.collections-grid::-webkit-scrollbar { display: none; }

/* LIORATIONS GLOBALES
   I */


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


.card-img {
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card-img img { transform: scale(1.04); }

/* Image produit fiche */
.produit-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* Image atelier */
.atelier-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}


h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1rem, 2vw, 1.6rem); }
p  { font-size: clamp(0.95rem, 1.2vw, 1.05rem); }


#hero {
  background-attachment: scroll; 
}


.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}


.card-img {
  aspect-ratio: 4/3;
}
@media (min-width: 681px) {
  .card-img { aspect-ratio: 2/2; }
}


@media (max-width: 900px) {
  .blog-grid { display: flex; flex-direction: column; }
  .articles  { order: 1; }
  .sidebar   { order: 2; }
}


@media (min-width: 681px) and (max-width: 1024px) {
  .produit-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .atelier-inner {
    gap: 2.5rem;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}


#mobile-topbar {
  height: 58px;
  align-items: center;
}


.wrapper, .products, .collections-grid, .filters-grid {
  transition: none; 
}


section, .wrapper, #page-top, #hero, #footer {
  max-width: 100vw;
  overflow-x: clip;
}


.produit-placeholder {
  aspect-ratio: 4/3;
  min-height: 260px;
}

@media (max-width: 900px) {
  .produit-placeholder {
    aspect-ratio: 16/9;
    min-height: 200px;
  }
}


@media (min-width: 901px) {
  .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}


#mobile-topbar {
  transition: box-shadow 0.3s ease;
}
#mobile-topbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 1px 0 rgba(154,95,190,0.15);
}


@media (hover: none) {
  .btn-gold, .btn-dark, .mfm-link, .mtb-burger {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* Similaires : grid centré desktop, 2 col mobile */
.similaires .products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 260px)) !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}
.similaires .products .card {
  max-width: none;
  margin: 0;
}

@media (max-width: 700px) {
  .similaires .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}


@media (max-width: 900px) {
  .atelier-img-wrap {
    max-height: 360px;
    overflow: hidden;
  }
  .atelier-img-placeholder {
    aspect-ratio: 16/9;
    height: auto;
  }
}


.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
}


@media (min-width: 901px) {
  .art-sidebar {
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}


.produit-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--bg2) 0%, var(--bg3) 60%, var(--bg2) 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.produit-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(154,95,190,0.012) 3px,
      rgba(154,95,190,0.012) 4px
    );
  pointer-events: none;
}
.produit-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(154,95,190,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}
.placeholder-emoji {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: 1;
  filter: drop-shadow(0 0 24px rgba(154,95,190,0.3));
  animation: heroIconFloat 6s ease-in-out infinite;
}
.placeholder-sigil {
  position: absolute;
  width: clamp(180px, 50%, 280px);
  height: auto;
  color: var(--gold);
  opacity: 0.55;
  animation: sigilIdle 10s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.placeholder-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text2);
  margin-top: 0.3rem;
}
.placeholder-cat {
  font-family: var(--f-body);
  font-weight: 300;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold);
  opacity: 0.6;
}





.faq-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}


.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.faq-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.faq-title {
  font-family: var(--f-title);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--bone);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}
.faq-deco {
  color: var(--gold);
  font-size: 0.6rem;
  display: inline-block;
  animation: runeRotate 18s linear infinite;
  opacity: 0.6;
}


.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}


.faq-item {
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.5s ease var(--faq-delay, 0ms),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--faq-delay, 0ms),
    background 0.4s ease;
}
.faq-item:first-child { border-top: 1px solid var(--border); }


.faq-item--visible {
  opacity: 1;
  transform: translateY(0);
}


.faq-item.open {
  background: linear-gradient(
    100deg,
    rgba(201, 169, 110, 0.045) 0%,
    rgba(201, 169, 110, 0.018) 40%,
    transparent 70%
  );
}


@keyframes faqLineIn {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.faq-item.open::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, transparent);
  transform-origin: top center;
  animation: faqLineIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


.faq-item::after {
  content: attr(data-faq-num);
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-title);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.faq-item.open::after {
  opacity: 0.045;
}


.faq-question {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
  color: var(--text2);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s;
  position: relative;
  z-index: 1;
}
.faq-question:hover          { color: var(--bone2); }
.faq-item.open .faq-question { color: var(--bone2); }


.faq-q-icon {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--gold);
  opacity: 0.35;
  display: flex; align-items: center;
  transition: opacity 0.3s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-q-icon svg { width: 11px; height: 11px; }
.faq-item.open .faq-q-icon {
  opacity: 0.9;
  transform: rotate(45deg) scale(1.15);
}

/* Texte question */
.faq-q-text {
  flex: 1;
  font-family: var(--f-body);
  font-size: clamp(0.8rem, 1.15vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}


.faq-q-arrow {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--text2);
  opacity: 0.4;
  display: flex; align-items: center; justify-content: center;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s, opacity 0.25s;
}
.faq-q-arrow svg { width: 14px; height: 14px; }
.faq-item.open .faq-q-arrow {
  transform: rotate(180deg);
  color: var(--gold);
  opacity: 0.8;
}


.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; position: relative; z-index: 1; }


.faq-answer-inner::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 75%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity  0.35s ease 0.08s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}
.faq-item.open .faq-answer-inner::before {
  opacity: 0.28;
  transform: scaleX(1);
}

.faq-answer-inner p {
  padding: 0.6rem 1rem 1.3rem 1.85rem;
  font-size: clamp(0.78rem, 1.05vw, 0.86rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text2);
  line-height: 1.9;
}


.faq-count {
  display: block;
  text-align: center;
  font-family: var(--f-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 2rem;
}


.faq-cta {
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(154, 95, 190, 0.12);
  text-align: center;
}
.faq-cta p {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text2);
  opacity: 0.8;
}
.faq-cta-link {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.22s, letter-spacing 0.28s;
  margin-left: 0.35rem;
}
.faq-cta-link:hover {
  color: var(--gold2);
  letter-spacing: 0.3em;
}


@media (max-width: 680px) {
  .faq-section    { margin-top: 2.5rem; padding-top: 2rem; }
  .faq-header     { gap: 0.6rem; margin-bottom: 1.5rem; }
  .faq-title      { font-size: clamp(0.95rem, 4.5vw, 1.15rem); }
  .faq-q-text     { font-size: 0.8rem; }
  .faq-question   { padding: 0.95rem 0.1rem; gap: 0.6rem; }
  .faq-answer-inner p { padding: 0.4rem 0 1rem 1.5rem; font-size: 0.78rem; }
  .faq-deco       { display: none; }
  .faq-list       { max-width: 100%; }
}





.form-progress {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 1;
  transition: opacity 0.4s;
}

.form-progress-track {
  position: relative;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold2));
  border-radius: 2px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}


.form-progress-glow {
  position: absolute;
  top: 50%;
  left: var(--glow-x, 0%);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 8px;
  background: radial-gradient(ellipse, rgba(178, 127, 214, 0.6) 0%, transparent 70%);
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-progress-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.form-progress-sigil {
  color: var(--gold);
  font-size: 0.6rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0.5;
}

.form-progress-text {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text2);
  flex: 1;
  transition: color 0.3s;
}

.form-progress-steps {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text2);
  transition: color 0.3s;
}


.form-progress.ready .form-progress-sigil {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
  color: var(--gold2);
}
.form-progress.ready .form-progress-text,
.form-progress.ready .form-progress-steps {
  color: var(--gold);
}


.form-submit-wrap {
  margin-top: 1.6rem;
  overflow: hidden;
  
  max-height: 0;
  opacity: 0;
  transform: translateY(16px);
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity    0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform  0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.form-submit-wrap.revealed {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}


.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  padding: 1.1rem 2rem;
  cursor: pointer;
  border: none;
  letter-spacing: 0.22em;
  position: relative;
  overflow: hidden;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-submit-icon {
  font-size: 0.65rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  animation: runeRotate 8s linear infinite;
}

.btn-submit-text {
  flex: 1;
  text-align: center;
}

.btn-submit-arrow {
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0.7;
}

.btn-submit:not(:disabled):hover .btn-submit-arrow {
  transform: translateX(5px);
  opacity: 1;
}


@keyframes submitRevealShimmer {
  from { transform: translateX(-110%) skewX(-12deg) translateZ(0); }
  to   { transform: translateX(220%)  skewX(-12deg) translateZ(0); }
}

.form-submit-wrap.revealed .btn-submit:not(:disabled) {
  animation: submitRevealShimmer 1.4s ease-out both;
  
  /* removed: background-clip shimmer = repaint */
}

/* Mode clair */
body.light-mode .form-progress-track { background: rgba(122,74,158,0.12); }

@media (max-width: 680px) {
  .btn-submit      { font-size: 0.78rem; padding: 1rem 1.5rem; }
  .form-progress   { margin-top: 1.5rem; }
}




.form-bloc {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.8rem 0 0.4rem;
}


.form-bloc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.form-bloc-num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  color: var(--gold);
  background: rgba(154,95,190,0.1);
  border: 1px solid rgba(154,95,190,0.25);
  border-radius: 2rem;
  padding: 0.28rem 0.7rem;
  flex-shrink: 0;
  line-height: 1;
}

.form-bloc-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.form-bloc-title {
  font-family: var(--f-title);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--bone);
  font-weight: 700;
  line-height: 1;
}

.form-bloc-sub {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1;
}


.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.form-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.form-divider-sigil {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--gold);
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: runeRotate 14s linear infinite;
}
.form-divider-sigil svg {
  width: 22px;
  height: 22px;
}


.form-bloc:first-of-type {
  padding-top: 0;
}

/* Mode clair */
body.light-mode .form-bloc-num {
  background: rgba(122,74,158,0.08);
  border-color: rgba(122,74,158,0.2);
}

/* Mobile */
@media (max-width: 680px) {
  .form-bloc         { padding-top: 1.4rem; gap: 0.9rem; }
  .form-bloc-header  { gap: 0.75rem; margin-bottom: 0.4rem; }
  .form-bloc-title   { font-size: 0.95rem; }
  .form-bloc-sub     { font-size: 0.78rem; }
  .form-divider      { margin: 0.8rem 0 0; }
}




.produit-img-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: start;
  position: relative;
}


.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 1;
  grid-row: 1;
}
.gallery-thumb {
  width: 75px;
  height: 100px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: border-color 0.22s, transform 0.18s, box-shadow 0.22s;
  padding: 0;
  position: relative;
}
.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154,95,190,0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-thumb:hover::after,
.gallery-thumb.active::after { opacity: 1; }
.gallery-thumb:hover {
  border-color: var(--gold2);
  transform: translateX(2px);
}
.gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 16px rgba(154,95,190,0.3);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb span {
  font-size: 1.5rem;
  line-height: 1;
}


.gallery-main {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - 230px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}


.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.38s cubic-bezier(.4,0,.2,1), transform 0.38s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.33, 0, 0, 1);
  will-change: transform;
}
.gallery-main:hover .gallery-slide.active img {
  transform: scale(1.3);
}
.gallery-slide .produit-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}


.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(24,19,28,0.75);
  border: 1px solid var(--border);
  color: var(--bone);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  will-change: transform;
}
.gallery-arrow:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow--prev { left: 10px; }
.gallery-arrow--next { right: 10px; }


.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242,235,230,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}


.produit-statut {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
}


@media (max-width: 640px) {
  .produit-img-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .gallery-thumbs {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .gallery-thumb {
    flex-shrink: 0;
    transform: none !important;
  }
  .gallery-main {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .produit-statut {
    grid-column: 1;
    grid-row: 3;
  }
}



.produit-variantes {
  margin: 1.4rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.produit-variantes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.couleurs-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text2);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.couleurs-label-text { opacity: 0.75; }
.couleurs-chosen-name {
  color: var(--gold2);
  font-family: var(--f-body);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.couleurs-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.8rem;
}

/* Pastille individuelle */
.swatch {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: transparent;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.22s;
  outline: none;
}
.swatch-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--sw-color, #888);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.swatch:hover {
  transform: scale(1.18);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(154,95,190,0.25);
}
.swatch:hover .swatch-inner {
  transform: scale(0.92);
}
.swatch.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 14px rgba(154,95,190,0.4);
  transform: scale(1.12);
}
.swatch.selected .swatch-inner {
  transform: scale(0.88);
}

/* Checkmark */
.swatch-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
}
.swatch-check svg { width: 14px; height: 14px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }
.swatch.selected .swatch-check {
  opacity: 1;
  transform: scale(1);
}

.couleurs-note {
  font-size: 0.75rem;
  color: var(--text2);
  font-style: italic;
  opacity: 0.75;
  margin-top: 0.2rem;
}

/* Mode clair */
body.light-mode .produit-variantes {
  background: var(--bg2);
  border-color: var(--border);
}
body.light-mode .swatch-check svg { stroke: #1a1020; }


.hero-nav-icon--linked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
}
.hero-icon-label {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.hero-nav-icon--linked:hover .hero-icon-label { opacity: 1; }




.order-top-banner {
  background: linear-gradient(135deg, var(--bg2), rgba(154,95,190,0.08));
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  position: relative;
}
.order-top-banner::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.otb-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.otb-sigil {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  opacity: 0.8;
}
.otb-product {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  flex-wrap: wrap;
}
.otb-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.otb-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text2);
}
.otb-nom {
  font-family: var(--f-title);
  font-size: 1.05rem;
  color: var(--bone);
}
.otb-couleur {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-body);
  font-weight: 400;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold2);
}
.otb-couleur-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: inline-block;
}
.otb-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--text2);
  background: rgba(154,95,190,0.07);
  border: 1px solid rgba(154,95,190,0.18);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.otb-notice-icon {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}


.order-recap-block {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  position: relative;
}
.order-recap-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.order-recap-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(154,95,190,0.08);
}
.order-recap-row:last-child { border-bottom: none; }
.order-recap-key {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text2);
  flex-shrink: 0;
  min-width: 60px;
}
.order-recap-val {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--bone2);
  font-size: 0.92rem;
  flex-wrap: wrap;
}
.order-recap-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.order-recap-row--note .order-recap-val { flex-direction: column; align-items: flex-start; }
.order-recap-note {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--text2);
  font-style: italic;
  opacity: 0.75;
}

/* Optionnel label */
.field-optional {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  color: var(--text2);
  font-size: 0.82em;
}

/* Colour badge in JS-built order section */
.oqs-couleur-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(154,95,190,0.1);
  border: 1px solid rgba(154,95,190,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  margin-left: 0.5rem;
}
.oqs-couleur-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.oqs-couleur-text {
  font-family: var(--f-body);
  font-weight: 400;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold2);
}
.oqs-prix-note {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--text2);
  opacity: 0.7;
  margin: 0.3rem 0 0;
  font-style: italic;
}




.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;   
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  /* EN DERNIER */
  z-index: 9998;
  transform: translate3d(-9999px, -9999px, 0);
  background: radial-gradient(circle,
    rgba(154,95,190,0.12) 0%,
    rgba(154,95,190,0.05) 50%,
    transparent 70%
  );
  will-change: transform;
  
}


#gallery-color-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  mix-blend-mode: screen;
}

/* Burst animation : radial reveal depuis le centre */
@keyframes colorBurstIn {
  0%   { opacity: 0; background-size: 0% 0%; clip-path: circle(0% at 50% 50%); }
  30%  { opacity: 0.28; }
  60%  { clip-path: circle(75% at 50% 50%); }
  100% { opacity: 0.18; background-size: 200% 200%; clip-path: circle(150% at 50% 50%); }
}
@keyframes colorBurstOut {
  0%   { opacity: 0.18; }
  100% { opacity: 0; }
}
#gallery-color-overlay.burst {
  animation: colorBurstIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#gallery-color-overlay.burst-out {
  animation: colorBurstOut 0.4s ease forwards;
}

/* Shimmer ring qui explose depuis le centre de la galerie */
@keyframes shimmerRing {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.6; }
  60%  { opacity: 0.25; }
  100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}
.gallery-color-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid currentColor;
  pointer-events: none;
  z-index: 6;
  animation: shimmerRing 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Particules */
@keyframes particleFly {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.9; }
  100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}
.gallery-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 7;
  animation: particleFly 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Swatch pulse au clic */
@keyframes swatchPop {
  0%   { transform: scale(1.18) translateY(-2px); }
  35%  { transform: scale(1.38) translateY(-4px); }
  65%  { transform: scale(1.12) translateY(-1px); }
  100% { transform: scale(1.18) translateY(-2px); }
}
.swatch--variante.selected.popping {
  animation: swatchPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* SWATCH */
.swatch.selected .swatch-inner {
  transform: scale(0.78);
}
.swatch.selected {
  transform: scale(1.18) translateY(-2px);
  box-shadow:
    0 0 0 2px var(--sw-color, #9a5fbe),
    0 0 16px var(--sw-color, #9a5fbe),
    0 0 32px color-mix(in srgb, var(--sw-color, #9a5fbe) 40%, transparent);
}


@keyframes filterShimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%)  skewX(-20deg); }
}
.filter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  transition: none;
}
.filter-card:hover::after {
  animation: filterShimmer 0.65s ease forwards;
}


@keyframes cardRevealIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.products .card {
  animation: cardRevealIn 0.55s cubic-bezier(0.2, 0, 0.2, 1) both;
}
.products .card:nth-child(1) { animation-delay: 0.02s; }
.products .card:nth-child(2) { animation-delay: 0.06s; }
.products .card:nth-child(3) { animation-delay: 0.10s; }
.products .card:nth-child(4) { animation-delay: 0.13s; }
.products .card:nth-child(5) { animation-delay: 0.17s; }
.products .card:nth-child(6) { animation-delay: 0.20s; }
.products .card:nth-child(7) { animation-delay: 0.23s; }
.products .card:nth-child(8) { animation-delay: 0.26s; }
.products .card:nth-child(n+9) { animation-delay: 0.28s; }



.hero-title {
  animation: titleFlicker 8s infinite;
}

/* PAGE */
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
  }
}
#page-top h1 {
  animation: fadeSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) both 0.05s;
}
#page-top p {
  animation: fadeSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) both 0.15s;
}

/* SIDEBAR */
@keyframes sigilSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
#sidebar .sidebar-sigil svg {
  animation: sigilIdle 12s ease-in-out infinite;
  will-change: transform;
}
#sidebar .sidebar-sigil--bottom svg {
  animation: sigilIdle 16s ease-in-out infinite reverse;
}


@keyframes particleFloat {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.9; }
  100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}
.btn-gold {
  overflow: visible;
  position: relative;
}
.btn-gold .btn-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  animation: particleFloat 0.7s ease-out forwards;
}


.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(154,95,190,0.5);
  outline-offset: 1px;
  box-shadow: 0 0 12px rgba(154,95,190,0.15);
}

/* GALERIE */
@keyframes placeholderFloat {
  0%, 100% { transform: translateY(0px)    rotate(-1deg); }
  33%       { transform: translateY(-10px)  rotate(1deg); }
  66%       { transform: translateY(-5px)   rotate(0deg); }
}
.placeholder-emoji {
  animation: placeholderFloat 5s ease-in-out infinite;
  display: inline-block;
  will-change: transform;
}


@keyframes colCardShine {
  from { transform: translateX(-120%) skewX(-12deg) translateZ(0); }
  to   { transform: translateX(320%)  skewX(-12deg) translateZ(0); }
}
.col-card {
  position: relative;
  overflow: hidden;
}
.col-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}
.col-card:hover::before {
  opacity: 1;
  animation: colCardShine 0.6s ease forwards;
}


@keyframes mfmSigilPulse {
  0%, 100% { opacity: 0.04; transform: scale(1) rotate(0deg); }
  50%       { opacity: 0.07; transform: scale(1.03) rotate(3deg); }
}
.mfm-bg-sigil {
  animation: mfmSigilPulse 8s ease-in-out infinite;
}


@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  will-change: opacity, transform;
}
.reveal.revealed {
  animation: revealUp 0.7s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}


.order-recap-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.otb-couleur-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
}
.otb-couleur {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gold2);
  font-style: italic;
  margin-top: 2px;
}
.order-recap-val--couleur {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* HERO SCROLL */
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}
.hero-scroll {
  animation: heroBounce 2s ease-in-out infinite;
}

/* BLOG POST */

  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.post.featured {
  position: relative;
}
.post.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(270deg, var(--gold), rgba(154,95,190,0.6), var(--gold2), rgba(154,95,190,0.4));
  background-size: 100% 100%;
  opacity: 0.6;
  z-index: -1;
  opacity: 0.5;
}


.couleur-indicator-dot {
  flex-shrink: 0;
}


@keyframes numGlowOpacity {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}
.atl-step-num {
  animation: numGlowOpacity 4s ease-in-out infinite;
  will-change: opacity;
}



@media (prefers-reduced-motion: no-preference) {
  #hero {
    isolation: isolate; /* stacking context sans 3D */
  }
  .hero-deco-top {
    transform: translateY(-3px) translateZ(0);
    will-change: transform;
  }
  .hero-deco-bot {
    transform: translateY(3px) translateZ(0);
    will-change: transform;
  }
}



.card {
  --mx: 50%;
  --my: 50%;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 90px at var(--mx) var(--my),
    rgba(154,95,190,0.12) 0%,
    transparent 80%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.card:hover::after {
  opacity: 1;
}


.couleurs-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.couleurs-chosen-name {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.03em;
  transition: color 0.35s, text-shadow 0.35s;
}
.couleurs-label-text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2);
  opacity: 0.75;
}



#ws-order-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 340px;
  width: calc(100vw - 3rem);
}

.wsop-inner {
  background: linear-gradient(135deg, #1c1428 0%, #150f1e 100%);
  border: 1px solid rgba(154, 95, 190, 0.35);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.55),
    0 0 0 1px rgba(154,95,190,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* WSOP */
.wsop-inner {
  overflow: hidden;
}
.wsop-inner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(154,95,190,0.35) 40%,
    rgba(200,160,80,0.25) 60%,
    transparent
  );
  animation: wsopShimmer 3s linear infinite;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
@keyframes wsopShimmer {
  from { transform: translateX(0)    translateZ(0); }
  to   { transform: translateX(360%) translateZ(0); }
}

.wsop-sigil {
  font-size: 1.3rem;
  color: var(--gold, #c8a050);
  opacity: 0.85;
  flex-shrink: 0;
  animation: wsopPulse 2.5s ease-in-out infinite;
}
@keyframes wsopPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

.wsop-content {
  flex: 1;
  min-width: 0;
}

.wsop-label {
  display: block;
  font-family: var(--f-sub, 'Cinzel', serif);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2, #b08040);
  margin-bottom: 0.3rem;
  opacity: 0.8;
}

.wsop-product {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wsop-nom {
  font-family: var(--f-body, 'Cormorant Garamond', serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #e8dfd6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.wsop-couleur {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-body, serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold2, #b08040);
}

.wsop-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}

.wsop-prix {
  font-family: var(--f-sub, serif);
  font-size: 0.7rem;
  color: var(--text2, #9a8a78);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.wsop-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.wsop-btn-go {
  background: linear-gradient(135deg, var(--gold, #c8a050), var(--gold2, #b08040));
  color: #0e0a14;
  border: none;
  border-radius: 6px;
  padding: 0.42rem 0.85rem;
  font-family: var(--f-sub, serif);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.15s;
}
.wsop-btn-go:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.wsop-btn-cancel {
  background: transparent;
  border: 1px solid rgba(154,95,190,0.25);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-family: var(--f-sub, serif);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--text2, #9a8a78);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.wsop-btn-cancel:hover {
  border-color: rgba(200, 80, 80, 0.5);
  color: #e07070;
}


.couleurs-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.couleurs-label-text {
  font-family: var(--f-sub, serif);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text2, #9a8a78);
}
#couleur-chosen-name {
  font-family: var(--f-body, serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.35s, text-shadow 0.35s;
}

/* Recap couleur dans formulaire */
.order-recap-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.order-recap-val--couleur {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.recap-couleur-name {
  font-family: var(--f-body, serif);
  font-style: italic;
  font-size: 0.9rem;
}
.recap-couleur-hex {
  font-family: monospace;
  font-size: 0.7rem;
  opacity: 0.6;
}
.otb-couleur {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body, serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold2, #b08040);
  margin-top: 2px;
}
.otb-couleur-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  display: inline-block;
}




#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold2, #b08040) 20%,
    var(--gold, #c8a050) 50%,
    var(--gold2, #b08040) 80%,
    transparent 100%
  );
  z-index: 10000;
  pointer-events: none;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(200,160,80,0.6);
  will-change: width;
}


#constellation-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}


.trail-sigil {
  position: fixed;
  pointer-events: none;
  z-index: 9990;
  font-size: 0.65rem;
  color: var(--gold2, #b08040);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  animation: trailFade 1.1s ease-out forwards;
  user-select: none;
}
@keyframes trailFade {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(0.9) rotate(0deg); }
  100% { opacity: 0;   transform: translate(-50%, -90%) scale(0.3) rotate(40deg); }
}


.atl-sep,
.atelier-sep,
.commandes-title-line,
.collections-title-line {
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.77,0,0.18,1);
}
.atl-sep.revealed,
.atelier-sep.revealed,
.commandes-title-line.revealed,
.collections-title-line.revealed {
  transform: scaleX(1);
}


.rune-scramble {
  display: inline-block;
  cursor: default;
}
.rune-scramble .rs-char {
  display: inline-block;
  transition: color 0.05s;
}
.rune-scramble .rs-char.scrambling {
  color: var(--gold2, #b08040);
  opacity: 0.7;
  animation: charFlash 0.08s ease both;
}
@keyframes charFlash {
  0%   { transform: translateY(-3px) scale(1.15); }
  100% { transform: translateY(0)    scale(1); }
}


.ember {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--gold, #c8a050) 0%, transparent 70%);
  animation: emberFloat var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
  opacity: 0;
  will-change: transform, opacity;
}
@keyframes emberFloat {
  0%   { opacity: 0;    transform: translate(0, 0) scale(1); }
  15%  { opacity: 0.6; }
  85%  { opacity: 0.3; }
  100% { opacity: 0;    transform: translate(var(--dx,0px), -120px) scale(0.3); }
}


.card, .atl-val, .post {
  --card-gx: 50%;
  --card-gy: 50%;
}
.card::before, .atl-val::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 120px 80px at var(--card-gx) var(--card-gy),
    rgba(200,160,80,0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.card:hover::before, .atl-val:hover::before {
  opacity: 1;
}
.card, .atl-val { position: relative; overflow: hidden; }



@keyframes heroAura {
  0%, 100% { opacity: 0.18; transform: scale(1)    translateZ(0); }
  50%       { opacity: 0.38; transform: scale(1.08) translateZ(0); }
}
.hero-title {
  
  text-shadow: 0 0 60px rgba(154,95,190,0.2), 0 3px 6px rgba(0,0,0,0.8);
  position: relative;
}
.hero-title::after {
  content: '';
  position: absolute;
  inset: -30% -15%;
  background: radial-gradient(ellipse at center,
    rgba(154,95,190,0.45) 0%,
    rgba(120,60,180,0.15) 40%,
    transparent 70%
  );
  animation: heroAura 7s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: opacity, transform;
}


@keyframes colCardReveal {
  from { opacity: 0; transform: translateY(40px) skewY(-1deg); }
  to   { opacity: 1; transform: translateY(0)    skewY(0deg);  }
}
.col-card.revealed {
  animation: colCardReveal 0.75s cubic-bezier(0.2,0,0.1,1) both;
}
.col-card:nth-child(1).revealed { animation-delay: 0.03s; }
.col-card:nth-child(2).revealed { animation-delay: 0.09s; }
.col-card:nth-child(3).revealed { animation-delay: 0.15s; }
.col-card:nth-child(4).revealed { animation-delay: 0.21s; }


@keyframes navGlowOpacity {
  0%,100% { opacity: 0.4; transform: scaleX(1)   translateZ(0); }
  50%      { opacity: 1;   transform: scaleX(1.08) translateZ(0); }
}
#sidebar .sidebar-links a.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(154,95,190,0.5), inset 0 0 14px rgba(154,95,190,0.15);
  animation: navGlowOpacity 2.5s ease-in-out infinite;
  pointer-events: none;
  will-change: opacity, transform;
}


@keyframes pageLeave {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-18px); }
}
body.leaving {
  animation: pageLeave 0.32s ease-in forwards;
  pointer-events: none;
}





.atl-section-header,
.collections-title {
  position: relative;
}
.atl-section-header::before,
.atl-section-header::after {
  content: 'ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¦';
  position: absolute;
  top: 50%;
  font-size: 0.55rem;
  color: var(--gold2, #b08040);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.4s, transform 0.5s;
}

/* WORKSHOP — ATELIER */
@keyframes stepReveal {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.atl-step.revealed {
  animation: stepReveal 0.65s cubic-bezier(0.2,0,0.2,1) both;
}
.atl-step--alt.revealed {
  animation: stepReveal 0.65s cubic-bezier(0.2,0,0.2,1) both;
  animation-name: stepRevealRight;
}
@keyframes stepRevealRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.atl-step:nth-child(1).revealed { animation-delay: 0.05s; }
.atl-step:nth-child(2).revealed { animation-delay: 0.15s; }
.atl-step:nth-child(3).revealed { animation-delay: 0.25s; }
.atl-step:nth-child(4).revealed { animation-delay: 0.35s; }


@keyframes postShimmer {
  from { transform: translateX(-100%) skewX(-8deg) translateZ(0); }
  to   { transform: translateX(300%)  skewX(-8deg) translateZ(0); }
}
.post {
  position: relative;
  overflow: hidden;
}
.post::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent, rgba(154,95,190,0.15), rgba(200,160,80,0.12), transparent
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}
.post:hover::after {
  opacity: 1;
  animation: postShimmer 1.2s ease forwards;
}




.ember,
.mfm-bg-sigil,
.deco-diamond,
.frame-diamond,
.hero-scroll,
.ws-sigil {
  will-change: transform;
}

/* Contain sur sections stables */
#footer   { contain: layout style; }
#page-top { contain: layout style; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* Masquer le curseur natif sur desktop uniquement */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}


.ws-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 999999;
  will-change: transform;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ws-cursor.ws-cursor--visible {
  opacity: 1;
}


.ws-cur-arrow {
  position: absolute;
  
  top: -2px;
  left: -2px;
  width: 20px;
  height: 26px;
  color: var(--gold2);
  filter: drop-shadow(0 0 5px rgba(154,95,190,0.55));
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
    color 0.22s ease,
    filter 0.22s ease;
  transform-origin: 2px 2px; /* origine = pointe */
}


.ws-cur-sigil {
  position: absolute;
  
  top: -17px;
  left: -17px;
  width: 34px;
  height: 34px;
  color: var(--gold2);
  opacity: 0;
  transform: scale(0.55) rotate(20deg);
  transition:
    opacity 0.28s cubic-bezier(0.34,1.56,0.64,1),
    transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
    color 0.22s ease,
    filter 0.22s ease;
  filter: drop-shadow(0 0 6px rgba(154,95,190,0.7));
}


.ws-cur-orbit {
  animation: ws-orbit-spin 5s linear infinite;
  transform-origin: 17px 17px;
}

@keyframes ws-orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* POINTER */
.ws-cursor.is-pointer .ws-cur-arrow {
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
}

.ws-cursor.is-pointer .ws-cur-sigil {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--bone2);
  filter:
    drop-shadow(0 0 8px rgba(154,95,190,0.85))
    drop-shadow(0 0 20px rgba(154,95,190,0.35));
}

/* CLICKING */
.ws-cursor.is-clicking .ws-cur-sigil {
  transform: scale(0.82) rotate(45deg);
  filter: drop-shadow(0 0 14px rgba(178,127,214,1));
}

.ws-cursor.is-clicking .ws-cur-arrow {
  transform: scale(0.85) rotate(-4deg);
  filter: drop-shadow(0 0 8px rgba(154,95,190,0.9));
}


body.light-mode .ws-cur-arrow {
  color: var(--gold);
  filter: drop-shadow(0 0 4px rgba(122,74,158,0.5));
}

body.light-mode .ws-cursor.is-pointer .ws-cur-sigil {
  color: var(--gold);
  filter:
    drop-shadow(0 0 7px rgba(122,74,158,0.8))
    drop-shadow(0 0 18px rgba(122,74,158,0.3));
}


@media (pointer: coarse) {
  .ws-cursor { display: none !important; }
}



@media (max-width: 900px) {

  
  .produit-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  
  .gallery-main {
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: 56vw;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    order: 1;
  }

  /* Miniatures : ligne horizontale sous la grande image */
  .gallery-thumbs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 8px 1rem;
    background: var(--bg2);
    scrollbar-width: none;
    border-bottom: 1px solid var(--border);
    order: 2;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }

  .gallery-thumb {
    flex: 0 0 52px;
    height: 52px;
    width: 52px;
    border-radius: 6px;
    transform: none !important;
  }

  /* Badge statut : inline sous les thumbs */
  .produit-statut {
    position: static;
    grid-column: unset;
    grid-row: unset;
    display: inline-block;
    margin: 0.6rem 1rem;
    font-size: 0.6rem;
  }

  
  .produit-info {
    padding: 0.75rem 1rem 8rem;  /* 8rem = espace pour le CTA fixe */
  }

  .produit-cat {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.3rem;
  }

  .produit-nom {
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.2rem;
  }

  .produit-prix {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
  }

  .produit-sep {
    margin: 0.4rem 0;
  }

  .produit-desc {
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: var(--text);
  }

  
  .produit-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(154,95,190,0.15);
    border-radius: 8px;
    overflow: hidden;
  }
  .produit-details li {
    flex-direction: column;
    gap: 0.18rem;
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(154,95,190,0.1);
    border-right: 1px solid rgba(154,95,190,0.1);
    animation: none;
    opacity: 1;
    background: var(--bg2);
  }
  .produit-details li:nth-child(even) {
    border-right: none;
  }
  .produit-details li:last-child,
  .produit-details li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .produit-details li:first-child {
    border-top: none;
  }
  .produit-details strong {
    font-size: 0.52rem;
    min-width: unset;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 0.1rem;
  }

  /* Variantes */
  .produit-variantes {
    margin: 0.75rem 0;
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
  }
  .couleurs-swatches {
    gap: 0.6rem;
    margin-top: 0.5rem;
  }
  .swatch--variante {
    width: 36px;
    height: 36px;
  }

  
  .produit-actions {
    margin-bottom: 0.5rem;
  }
  .produit-actions .btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    padding: 0.6rem 1rem;
    opacity: 0.7;
  }

  /* CTA fixe embelli */
  .produit-mobile-cta {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    letter-spacing: 0.12em;
    box-shadow:
      0 8px 32px rgba(0,0,0,0.6),
      0 0 24px rgba(154,95,190,0.3),
      inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }

  .produit-note {
    font-size: 0.68rem;
    padding-top: 0.5rem;
  }
}


@media (max-width: 480px) {
  .gallery-main {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .produit-details {
    grid-template-columns: 1fr;
  }
  .produit-details li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    border-right: none;
  }
  .produit-details li:last-child {
    border-bottom: none;
  }
  .produit-details strong {
    min-width: 72px;
    flex-shrink: 0;
  }

  .produit-info {
    padding: 0.75rem 0.9rem 8rem;
  }
}




@media (max-width: 680px) {
  
  .filters-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    flex-wrap: unset !important;
    overflow-x: unset !important;
    scroll-snap-type: unset !important;
    -webkit-overflow-scrolling: unset !important;
    gap: 0.5rem !important;
    margin-bottom: 1.75rem !important;
    padding-bottom: 0 !important;
  }

  .filter-card {
    flex: unset !important;
    min-width: unset !important;
    scroll-snap-align: unset !important;
    padding: 1rem 0.5rem 0.8rem !important;
    gap: 0.28rem !important;
    border-radius: 6px;
  }

  /* Carte "Tout" : mise en valeur subtile */
  .filter-card[data-cat="all"] {
    grid-column: span 1;
  }

  .filter-card-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .filter-card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .filter-card-label {
    font-size: 0.58rem !important;
    letter-spacing: 0.13em !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
  }

  .filter-card-count {
    font-size: 1rem !important;
    opacity: 0.3 !important;
    margin-top: 0 !important;
  }

  .filter-card.active .filter-card-count {
    opacity: 0.65 !important;
  }

  .filter-card-sub  { display: none !important; }
  .filter-card-bar  { display: none !important; }
}


@media (min-width: 681px) and (max-width: 900px) {
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: unset;
    flex-wrap: unset;
  }
  .filter-card {
    flex: unset;
    min-width: unset;
  }
}





.atl-step-body p {
  font-size: 0.9rem;
  line-height: 1.8;
}
.atl-val p {
  font-size: 0.85rem;
  line-height: 1.75;
}
.atl-mat p {
  font-size: 0.82rem;
  line-height: 1.65;
}
.atl-cta p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 440px;
}

@media (max-width: 900px) {
  /* Manifesto */
  .atl-manifesto {
    padding: 3rem 0 2.5rem;
  }
  .atl-mf-quote {
    font-size: clamp(1rem, 4vw, 1.5rem) !important;
    margin-bottom: 0.9rem;
  }
  .atl-mf-sub {
    font-size: 0.62rem;
  }

  /* Steps */
  .atl-section {
    padding: 2.5rem 0 3rem;
  }
  .atl-section-header {
    margin-bottom: 2.5rem;
  }
  .atl-section-header h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    white-space: normal;
    text-align: center;
  }

  .atl-step {
    padding: 1.6rem 0;
  }
  .atl-step-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
  }
  .atl-step-body p {
    font-size: 0.82rem;
    line-height: 1.7;
    max-width: 100%;
  }
  .atl-step-num {
    font-size: 2.2rem;
  }
  .atl-step-icon {
    font-size: 1.5rem;
    padding-top: 0.3rem;
  }

  /* Valeurs */
  .atl-val {
    padding: 1.5rem 1.2rem;
  }
  .atl-val-icon {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
  }
  .atl-val h4 {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }
  .atl-val p {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  
  .atl-mat {
    padding: 1.3rem 1.2rem;
    gap: 0.4rem;
  }
  .atl-mat-em {
    font-size: 1.4rem;
    margin-bottom: 0;
  }
  .atl-mat strong {
    font-size: 0.62rem;
  }
  .atl-mat p {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  /* CTA */
  .atl-cta h3 {
    font-size: clamp(1.1rem, 4vw, 1.7rem);
  }
  .atl-cta p {
    font-size: 0.82rem;
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 680px) {
  /* Manifesto interne */
  .atl-manifesto-inner {
    padding: 1.5rem 1.1rem !important;
    margin: 0 1rem !important;
  }
  .atl-mf-quote {
    font-size: clamp(0.92rem, 4.2vw, 1.2rem) !important;
    line-height: 1.55;
  }

  /* Steps */
  .atl-steps, .atl-values, .atl-matieres {
    padding: 0 1rem !important;
  }
  .atl-section-header {
    padding: 0 1rem !important;
    margin-bottom: 1.75rem !important;
    gap: 0.8rem;
  }
  .atl-step {
    grid-template-columns: 38px 32px 1fr !important;
    gap: 0 0.55rem !important;
    padding: 1.25rem 0 !important;
  }
  .atl-step-num {
    font-size: 1.5rem !important;
  }
  .atl-step-icon {
    font-size: 1.2rem !important;
    padding-top: 0.2rem !important;
  }
  .atl-step-body h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .atl-step-body p {
    font-size: 0.79rem !important;
    line-height: 1.65;
  }
  .atl-step--alt {
    padding-left: 0 !important;
  }

  
  .atl-matieres {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }
  .atl-mat {
    padding: 1rem 0.9rem !important;
    gap: 0.3rem !important;
  }
  .atl-mat-em { font-size: 1.2rem !important; }
  .atl-mat strong { font-size: 0.58rem !important; }
  .atl-mat p { font-size: 0.75rem !important; }

  /* Valeurs : 1 col */
  .atl-values {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }
  .atl-val {
    padding: 1.2rem 1rem !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .atl-val-icon {
    font-size: 1.6rem !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
    padding-top: 0.1rem;
  }
  .atl-val h4 {
    font-size: 0.63rem !important;
    margin-bottom: 0.3rem !important;
  }
  .atl-val p {
    font-size: 0.78rem !important;
    line-height: 1.6;
  }

  /* CTA */
  .atl-cta {
    padding: 2.2rem 1rem !important;
  }
  .atl-cta-deco {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
  }
  .atl-cta h3 {
    font-size: clamp(1rem, 4.5vw, 1.4rem) !important;
    margin-bottom: 0.6rem;
  }
  .atl-cta p {
    font-size: 0.8rem !important;
    margin-bottom: 1.4rem !important;
    max-width: 100% !important;
  }
}





@media (max-width: 900px) {

  /* Grouper prix + statut visuellement */
  .produit-prix-bloc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
  }

  /* Prix plus grand, mis en valeur */
  .produit-prix {
    font-size: 1.65rem !important;
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .produit-prix::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.4em;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.7;
    flex-shrink: 0;
  }

  /* Nom produit */
  .produit-nom {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem) !important;
    margin-bottom: 0.25rem !important;
  }

  
  .produit-sep {
    margin: 0.55rem 0 !important;
  }

  
  .produit-desc {
    font-size: 0.83rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0.75rem !important;
  }

  
  .produit-variantes {
    background: linear-gradient(135deg, var(--bg2) 0%, rgba(154,95,190,0.06) 100%);
    border: 1px solid rgba(154,95,190,0.3);
    border-radius: 10px;
    padding: 0.9rem 1rem !important;
    margin: 0.9rem 0 !important;
    position: relative;
    overflow: hidden;
  }
  .produit-variantes::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.6;
  }

  .couleurs-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem !important;
  }
  .couleurs-label-text {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text2);
    font-family: var(--f-body);
    font-weight: 500;
  }
  .couleurs-chosen-name {
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--f-body);
  }

  .couleurs-swatches {
    display: flex;
    gap: 0.7rem !important;
    margin-top: 0 !important;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .swatch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .swatch--variante {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    position: relative;
  }

  .couleurs-note {
    font-size: 0.64rem;
    color: var(--text2);
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.6rem;
    font-family: var(--f-body);
  }

  
  .produit-mobile-cta {
    display: block !important;
    position: fixed !important;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 550 !important;
    text-align: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.14em !important;
    border-radius: 8px !important;
    box-shadow:
      0 4px 24px rgba(0,0,0,0.55),
      0 0 20px rgba(154,95,190,0.2),
      inset 0 1px 0 rgba(255,255,255,0.07) !important;
    animation: fabSlideUp 0.45s cubic-bezier(0.22,1,0.36,1) both;
    backdrop-filter: blur(4px);
  }

  /* Masquer le btn-gold inline, garder le retour */
  .produit-actions .btn-gold {
    display: none !important;
  }
  .produit-actions {
    margin-bottom: 0.4rem !important;
  }
  .produit-actions .btn-dark {
    font-size: 0.68rem !important;
    padding: 0.55rem 0.9rem !important;
    opacity: 0.65;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  /* Note bas de page */
  .produit-note {
    font-size: 0.67rem !important;
    padding-top: 0.4rem !important;
    margin-bottom: 6.5rem; /* espace pour le CTA fixe */
  }

  
  .produit-info {
    padding-bottom: 7rem !important;
  }

  
  .produit-details {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    border: 1px solid rgba(154,95,190,0.15) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 0.85rem !important;
  }
  .produit-details li {
    flex-direction: column !important;
    gap: 0.15rem !important;
    padding: 0.6rem 0.7rem !important;
    border-bottom: 1px solid rgba(154,95,190,0.1) !important;
    border-right: 1px solid rgba(154,95,190,0.08) !important;
    animation: none !important;
    opacity: 1 !important;
    background: var(--bg2) !important;
    font-size: 0.79rem !important;
  }
  .produit-details li:nth-child(even) {
    border-right: none !important;
  }
  .produit-details li:first-child {
    border-top: none !important;
  }
  .produit-details strong {
    font-size: 0.5rem !important;
    min-width: unset !important;
    letter-spacing: 0.14em !important;
    opacity: 0.65 !important;
    margin-bottom: 0.05rem !important;
  }

  
  .produit-statut {
    position: static !important;
    display: inline-block !important;
    margin: 0.5rem 0 !important;
    font-size: 0.58rem !important;
    padding: 0.25rem 0.7rem !important;
  }

  /* Galerie main */
  .gallery-main {
    aspect-ratio: 4 / 3 !important;
    max-height: 60vw !important;
  }

  /* Thumbs horizontaux */
  .gallery-thumbs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding: 7px 0.9rem !important;
    background: var(--bg2) !important;
    scrollbar-width: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }

  .gallery-thumb {
    flex: 0 0 48px !important;
    height: 48px !important;
    width: 48px !important;
    border-radius: 5px !important;
  }
}


@media (max-width: 480px) {
  .produit-prix {
    font-size: 1.45rem !important;
  }
  .produit-details {
    grid-template-columns: 1fr !important;
  }
  .produit-details li {
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(154,95,190,0.1) !important;
  }
  .produit-details strong {
    min-width: 68px !important;
    flex-shrink: 0 !important;
  }
  .produit-details li:last-child {
    border-bottom: none !important;
  }
  .atl-matieres {
    grid-template-columns: 1fr !important;
  }
}


@media (max-width: 360px) {
  .filter-card-label {
    font-size: 0.52rem !important;
  }
  .filter-card {
    padding: 0.8rem 0.3rem 0.65rem !important;
  }
  .produit-mobile-cta {
    font-size: 0.72rem !important;
    padding: 0.8rem 1rem !important;
  }
}


/* ── Prix bloc desktop ────────────────────────────────────────── */
.produit-prix-bloc {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

/* Le prix — bien visible */
.produit-prix {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Ligne secondaire : statut + port côte à côte */
.produit-prix-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Avec variantes : statut et port l'un sous l'autre */
.produit-prix-variantes:has(.produit-variantes-inline) .produit-prix-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* Ligne prix + livraison offerte — conservé pour compat mobile */
.produit-prix-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}


.produit-port-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2, #a090b0);
  border: 1px solid rgba(160, 144, 176, 0.22);
  background: rgba(160, 144, 176, 0.05);
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  border-radius: 2px;
  white-space: nowrap;
}
.produit-port-note svg {
  width: 13px;
  height: 13px;
  opacity: 0.85;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .produit-port-note {
    font-size: 0.6rem;
    padding: 0.25rem 0.55rem 0.25rem 0.45rem;
  }
  .produit-port-note svg {
    width: 11px;
    height: 11px;
  }
}

/* Statut inline dans le prix-bloc */
.produit-statut--inline {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}
/* Pastille verte/colorée selon le statut */
.produit-statut--inline::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .produit-img-wrap .produit-statut:not(.produit-statut--inline) {
    display: none !important;
  }
  .produit-prix-bloc {
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
  }
  .produit-statut--inline {
    font-size: 0.55rem;
    padding: 0.22rem 0.6rem;
    margin: 0;
  }
}

/* LIORATIONS */




.produit-variantes {
  margin: 1.6rem 0;
  padding: 1.3rem 1.5rem 1.1rem;
  background: linear-gradient(140deg, var(--bg2) 0%, rgba(154,95,190,0.07) 100%);
  border: 1px solid rgba(154,95,190,0.32);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}


.produit-variantes::before {
  opacity: 0.7;
  height: 2px;
}


.produit-variantes::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154,95,190,0.18), transparent);
}


.couleurs-label {
  margin-bottom: 1rem;
  gap: 0.6rem;
}
.couleurs-label-text {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  opacity: 0.6;
}
.couleurs-chosen-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold2);
  font-style: normal;
  letter-spacing: 0.01em;
}

/* Swatches : plus grands, avec label en dessous */
.couleurs-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  align-items: flex-end;
}

/* Wrapper swatch + label */
.swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.swatch-label {
  font-family: var(--f-body);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text2);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.swatch-wrap:has(.swatch.selected) .swatch-label {
  opacity: 1;
  color: var(--gold2);
}

/* Swatches plus grands */
.swatch--variante {
  width: 42px;
  height: 42px;
}

/* Note bas */
.couleurs-note {
  font-size: 0.7rem;
  color: var(--text2);
  opacity: 0.6;
  font-style: italic;
  margin-top: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(154,95,190,0.12);
}


.couleurs-preview-bar {
  height: 3px;
  border-radius: 2px;
  margin-bottom: 0.7rem;
  background: var(--gold);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
}
.couleurs-preview-bar.visible {
  opacity: 1;
}


@media (max-width: 900px) {
  .produit-variantes {
    margin: 1.2rem 0 !important;
    padding: 1.1rem 1.1rem 1rem !important;
    border-radius: 12px !important;
    border-color: rgba(154,95,190,0.35) !important;
  }
  .couleurs-label {
    margin-bottom: 0.85rem !important;
    flex-wrap: wrap;
    row-gap: 0.15rem;
  }
  .couleurs-chosen-name {
    font-size: 1.05rem !important;
    display: block;
    width: 100%;
  }
  .couleurs-label-text {
    font-size: 0.55rem !important;
    letter-spacing: 0.22em !important;
  }
  .swatch--variante {
    width: 46px !important;
    height: 46px !important;
  }
  .couleurs-swatches {
    gap: 1rem !important;
    margin-bottom: 0.75rem !important;
    align-items: flex-start !important;
  }
  .swatch-wrap {
    justify-content: flex-start !important;
  }
  .swatch-label {
    font-size: 0.5rem !important;
  }
  .couleurs-note {
    font-size: 0.65rem !important;
    padding-top: 0.55rem !important;
  }
}

@media (max-width: 480px) {
  .produit-variantes {
    padding: 0.9rem !important;
    margin: 0.9rem 0 !important;
  }
  .swatch--variante {
    width: 44px !important;
    height: 44px !important;
  }
  .couleurs-swatches {
    gap: 0.8rem !important;
  }
}





.atl-manifesto-inner::before,
.atl-manifesto-inner::after {
  opacity: 0.18 !important;
  left: 2rem;
  right: 2rem;
}


.atl-manifesto-inner {
  border-color: rgba(154,95,190,0.2) !important;
  background: linear-gradient(160deg, rgba(26,20,32,0.98) 0%, rgba(24,19,28,0.95) 100%) !important;
}


.atl-mf-corner {
  opacity: 0.4 !important;
  font-size: 0.75rem !important;
}


.atl-mf-quote {
  color: var(--bone) !important;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.2rem !important;
  text-shadow: 0 0 40px rgba(154,95,190,0.15);
  position: relative;
  z-index: 1;
}

.atl-mf-quote::before {
  content: '\201C';
  color: var(--gold);
  opacity: 0.35;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 0.1em;
  font-family: Georgia, serif;
}
.atl-mf-quote::after {
  content: '\201D';
  color: var(--gold);
  opacity: 0.35;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.5em;
  margin-left: 0.1em;
  font-family: Georgia, serif;
}


.atl-mf-sub {
  opacity: 0.6 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.32em !important;
}

/* Mobile : guillemets plus petits */
@media (max-width: 680px) {
  .atl-mf-quote::before,
  .atl-mf-quote::after {
    font-size: 2em;
    vertical-align: -0.35em;
  }
  .atl-manifesto-inner::before,
  .atl-manifesto-inner::after {
    left: 1.2rem !important;
    right: 1.2rem !important;
  }
}





@media (max-width: 900px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .contact-right {
    order: 0; /* Formulaire EN PREMIER */
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 1.6rem 1.1rem 2rem !important;
  }
  .contact-left {
    order: 1; 
    padding: 2rem 1.1rem 1.5rem;
    gap: 1rem !important;
    border-top: 1px solid var(--border);
  }
}


@media (max-width: 900px) {
  .order-top-banner {
    padding: 0.65rem 0;
  }
  .otb-inner {
    gap: 0.6rem;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .otb-sigil { display: none; }
  .otb-product {
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
  }
  .otb-label { font-size: 0.5rem; letter-spacing: 0.22em; }
  .otb-nom   { font-size: 0.88rem; }
  .otb-couleur { font-size: 0.78rem; }
  .otb-prix  {
    font-size: 1rem !important;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
  }
  .otb-notice {
    display: none; 
  }
}


@media (max-width: 900px) {

  /* Titres blocs */
  .form-bloc {
    padding-top: 1.2rem !important;
    gap: 0.8rem !important;
  }
  .form-bloc:first-of-type { padding-top: 0 !important; }

  .form-bloc-header {
    gap: 0.65rem !important;
    margin-bottom: 0.35rem !important;
    align-items: center;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(154,95,190,0.12);
  }

  
  .form-bloc-num {
    font-size: 0.52rem !important;
    padding: 0.22rem 0.6rem !important;
    letter-spacing: 0.2em !important;
    background: rgba(154,95,190,0.12) !important;
  }

  /* Titre section */
  .form-bloc-title {
    font-size: 0.88rem !important;
    line-height: 1.1 !important;
  }
  .form-bloc-sub {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    margin-top: 0.1rem;
  }

  
  .form-divider {
    margin: 0.6rem 0 0 !important;
    gap: 0.75rem !important;
  }
  .form-divider-sigil {
    width: 22px !important;
    height: 22px !important;
    opacity: 0.4 !important;
  }

  /* Labels et inputs */
  .form-field label {
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 0.35rem !important;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 0.95rem !important;
    padding: 0.75rem 0.85rem !important;
  }
  .form-field textarea {
    min-height: 95px !important;
    font-size: 0.88rem !important;
  }

  
  .form-row {
    flex-direction: row !important;
    gap: 0.6rem !important;
  }
  .form-row .form-field { flex: 1 1 0; min-width: 0; }

  /* Mention RGPD */
  .form-mention {
    font-size: 0.6rem !important;
    margin-top: 0.75rem !important;
    opacity: 0.6;
  }

  /* Barre de progression */
  .form-progress {
    margin-top: 1rem !important;
  }
  .form-progress-text  { font-size: 0.62rem !important; }
  .form-progress-steps { font-size: 0.62rem !important; }
  .form-progress-track { height: 2px !important; }

  /* Bouton submit */
  .form-submit-wrap { margin-top: 0.85rem !important; }
  .btn-submit {
    width: 100%;
    font-size: 0.75rem !important;
    padding: 0.9rem 1.5rem !important;
    letter-spacing: 0.14em !important;
    justify-content: center;
  }

  /* Boutons OQS (mode commande) */
  .oqs-footer {
    flex-direction: column-reverse !important;
    gap: 0.6rem !important;
    margin-top: 1.2rem !important;
  }
  .oqs-back {
    font-size: 0.68rem !important;
    text-align: center !important;
    padding: 0.6rem !important;
    opacity: 0.65;
  }
  .oqs-submit {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    padding: 0.9rem 1.5rem !important;
  }

  
  .order-recap-block {
    margin-bottom: 0.85rem !important;
    padding: 0.75rem 0.9rem !important;
  }
  .order-recap-key   { font-size: 0.55rem !important; min-width: 52px !important; }
  .order-recap-val   { font-size: 0.85rem !important; }
  .order-recap-note  { font-size: 0.58rem !important; }
}


@media (max-width: 900px) {
  .contact-block {
    gap: 0.75rem !important;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(154,95,190,0.08);
  }
  .contact-block:last-of-type { border-bottom: none; }

  .contact-icon {
    font-size: 1.1rem !important;
    margin-top: 0.1rem !important;
  }
  .contact-block strong {
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 0.1rem !important;
  }
  .contact-block a,
  .contact-block span {
    font-size: 0.82rem !important;
  }
  .contact-block p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }

  /* Notice commande */
  .contact-block--notice {
    background: linear-gradient(135deg, var(--bg2), rgba(154,95,190,0.05));
    border: 1px solid rgba(154,95,190,0.18);
    border-radius: 8px;
    padding: 0.9rem !important;
    gap: 0.75rem !important;
  }
  .contact-block--notice strong {
    font-size: 0.6rem !important;
    letter-spacing: 0.16em !important;
  }
  .contact-block--notice p {
    font-size: 0.73rem !important;
    margin-top: 0.25rem !important;
  }

  /* Note en bas */
  .contact-note {
    padding: 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: 6px;
    margin-top: 0.25rem !important;
  }
  .contact-note p {
    font-size: 0.75rem !important;
    line-height: 1.6 !important;
  }
  .contact-left .deco-diamond {
    font-size: 0.75rem;
    opacity: 0.5;
    flex-shrink: 0;
    padding-top: 0.1rem;
  }
}


@media (min-width: 680px) and (max-width: 900px) {
  .contact-left {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem 1.5rem !important;
    align-items: start;
  }
  /* notice et contact-note en pleine largeur */
  .contact-block--notice,
  .contact-note {
    grid-column: 1 / -1;
  }
}


@media (max-width: 680px) {
  #page-top + .order-top-banner,
  #page-top { padding-bottom: 0.7rem; }

  .otb-product { flex-direction: row; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
  .otb-prix { font-size: 1.05rem !important; }
}

/* PATCH */


@keyframes swatchPop { 0%,100% { transform: scale(1.12) translateY(-2px); } }
.swatch--variante.selected.popping { animation: none; }


.form-submit-wrap {
  max-height: 200px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.form-submit-wrap.revealed .btn-submit:not(:disabled) {
  animation: none;
}
.btn-submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
}


.produit-prix-variantes {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.produit-prix-variantes .produit-prix-bloc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
  justify-content: flex-start;
}


.produit-variantes-inline {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  margin: 0;
  position: relative;
}
.produit-variantes-inline::before { display: none; }
.produit-variantes-inline .couleurs-label {
  margin-bottom: 0.4rem;
  gap: 0.4rem;
}
.produit-variantes-inline .couleurs-label-text {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  opacity: 0.55;
}
.produit-variantes-inline .couleurs-chosen-name {
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold2);
}
.produit-variantes-inline .couleurs-swatches {
  gap: 0.65rem;
  margin-bottom: 0;
  flex-wrap: wrap;
  align-items: flex-end;
}
.produit-variantes-inline .swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.produit-variantes-inline .swatch-label {
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
}
.produit-variantes-inline .swatch-wrap:has(.swatch.selected) .swatch-label {
  opacity: 1;
  color: var(--gold2);
}
.produit-variantes-inline .swatch--variante {
  width: 34px;
  height: 34px;
}


@media (max-width: 900px) {

  /* Prix + variantes : empilement vertical sur mobile */
  .produit-prix-variantes {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    margin: 0.5rem 0 0.2rem !important;
    position: relative;
    overflow: hidden;
  }

  /* Trait doré gauche */
  .produit-prix-variantes::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), rgba(154,95,190,0.3));
    border-radius: 12px 0 0 12px;
    z-index: 1;
  }

  /* Bloc prix */
  .produit-prix-variantes .produit-prix-bloc {
    flex-shrink: 0;
    padding: 0.9rem 1rem 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(154,95,190,0.14);
    gap: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .produit-prix-variantes .produit-prix-row {
    display: contents;
  }

  .produit-prix-variantes .produit-prix {
    font-size: 1.9rem !important;
    margin-bottom: 0 !important;
    line-height: 1;
    flex-shrink: 0;
  }

  /* Ligne méta : statut + port côte à côte */
  .produit-prix-variantes .produit-prix-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .produit-prix-variantes .produit-statut--inline {
    font-size: 0.55rem !important;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.65rem;
  }

  /* Port calculé — discret, aligné avec le statut */
  .produit-prix-variantes .produit-port-note {
    font-size: 0.58rem;
    padding: 0.22rem 0.55rem 0.22rem 0.45rem;
    opacity: 0.75;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Variantes inline */
  .produit-variantes-inline {
    flex: 1 !important;
    min-width: 0;
    gap: 0.5rem !important;
    padding: 0.85rem 1rem 0.85rem 1.1rem !important;
    background: none;
    border: none;
  }

  .produit-variantes-inline .couleurs-label {
    margin-bottom: 0.3rem !important;
    flex-wrap: wrap;
    gap: 0.3rem !important;
    align-items: baseline;
  }

  .produit-variantes-inline .couleurs-label-text {
    font-size: 0.52rem !important;
    letter-spacing: 0.18em;
  }

  .produit-variantes-inline .couleurs-chosen-name {
    font-size: 0.88rem !important;
  }

  /* Swatches : grille fluide */
  .produit-variantes-inline .couleurs-swatches {
    gap: 0.6rem 0.65rem !important;
    flex-wrap: wrap !important;
  }

  .produit-variantes-inline .swatch--variante {
    width: 36px !important;
    height: 36px !important;
  }

  /* Labels : plus lisibles */
  .produit-variantes-inline .swatch-label {
    font-size: 0.5rem !important;
    max-width: 4.5rem;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
    opacity: 0.7;
    letter-spacing: 0.05em;
    text-transform: none !important;
  }

  .produit-variantes-inline .swatch-wrap:has(.swatch.selected) .swatch-label {
    opacity: 1;
    font-weight: 700;
  }

  /* Description de race */
  .variante-breed-desc {
    margin-top: 0.5rem;
    min-height: 0;
  }

  .breed-desc-item {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
  }

  /* Sans variantes : pas de separateur */
  .produit-prix-variantes:not(:has(.produit-variantes-inline)) .produit-prix-bloc {
    border-bottom: none;
    padding-bottom: 0.85rem;
  }

  /* Masquer l'ancien .produit-variantes */
  .produit-variantes:not(.produit-variantes-inline) {
    display: none;
  }
}

@media (max-width: 480px) {
  .produit-prix-variantes {
    border-radius: 10px;
  }
  .produit-prix-variantes .produit-prix-bloc {
    padding: 0.75rem 0.85rem 0.7rem 1rem;
  }
  .produit-prix-variantes .produit-prix {
    font-size: 1.4rem !important;
  }
  .produit-variantes-inline {
    padding: 0.75rem 0.85rem 0.75rem 1rem !important;
  }
  .produit-variantes-inline .swatch--variante {
    width: 34px !important;
    height: 34px !important;
  }
  .produit-variantes-inline .couleurs-swatches {
    gap: 0.5rem 0.6rem !important;
  }
}

/* PATCH */


.atl-manifesto-inner::before,
.atl-manifesto-inner::after {
  display: none !important;
}




@media (max-width: 900px) {
  #atelier {
    padding: 4.5rem 0 3.5rem;
  }
  .atelier-inner {
    gap: 2.2rem;
    padding: 0 clamp(1rem, 5vw, 2.5rem);
  }
  
  .atelier-img-wrap {
    max-width: 100% !important;
    max-height: none !important;
    border-radius: 4px;
  }
  .atelier-img-placeholder {
    aspect-ratio: 5/4 !important;
  }
  
  .frame-corner {
    font-size: 0.72rem;
  }
  /* Texte */
  .atelier-deco-top {
    margin-bottom: 1rem;
  }
  #atelier h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 1rem;
  }
  /* Drop cap moins envahissant */
  .drop-cap::first-letter {
    font-size: 3.2em;
    margin-right: 0.06em;
    line-height: 0.78;
  }
  .atelier-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.9rem;
  }
  .atelier-sep {
    margin: 1.4rem 0;
  }
  
  .atelier-values {
    gap: 0;
    justify-content: space-between;
  }
  .value {
    flex: 1;
    padding: 0.75rem 0.25rem;
    border-radius: 8px;
    background: rgba(154,95,190,0.06);
    border: 1px solid rgba(154,95,190,0.1);
    gap: 0.35rem;
  }
  .value + .value {
    margin-left: 0.5rem;
  }
  .value-icon {
    font-size: 1.4rem;
  }
  .value span:last-child {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}


@media (max-width: 680px) {
  #atelier {
    padding: 3rem 0 2.5rem;
  }
  .atelier-inner {
    gap: 1.75rem;
  }
  .atelier-img-placeholder {
    aspect-ratio: 4/3 !important;
  }
  /* Image plein bord */
  .atelier-img-wrap {
    margin: 0 calc(-1 * clamp(1rem, 5vw, 2.5rem));
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 6px;
  }
  #atelier h2 {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }
  .drop-cap::first-letter {
    font-size: 2.8em;
  }
  .atelier-text p {
    font-size: 0.92rem;
    line-height: 1.75;
  }
  
  .atelier-deco-top .sep-line {
    display: none;
  }
  .atelier-deco-top {
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 0.75rem;
  }
  .atelier-sep {
    margin: 1.1rem 0;
  }
  /* Valeurs : 3 colonnes compactes */
  .atelier-values {
    gap: 0;
  }
  .value {
    padding: 0.6rem 0.15rem;
  }
  .value + .value {
    margin-left: 0.4rem;
  }
  .value-icon {
    font-size: 1.2rem;
  }
  .value span:last-child {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
}


@media (max-width: 400px) {
  .atelier-values {
    flex-direction: column;
    gap: 0.4rem;
  }
  .value {
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
  }
  .value + .value {
    margin-left: 0;
  }
  .value-icon {
    font-size: 1.1rem;
  }
  .value span:last-child {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}




html:not(.lang-en) .lang-en { display: none; }

/* Quand l'anglais est actif : inverse */
html.lang-en .lang-fr { display: none; }





.couleurs-label--breed .couleurs-label-text {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  opacity: 0.7;
  margin-right: 0.35rem;
}

.couleurs-swatches--breed {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.breed-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 2rem;
  background: rgba(201, 169, 110, 0.05);
  color: var(--text2, #b0a0c0);
  font-size: 0.8rem;
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.15s;
  position: relative;
  outline: none;
}

.breed-chip:hover {
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold, #c9a96e);
  transform: translateY(-1px);
}

.breed-chip:active { transform: translateY(0); }

.breed-chip.selected {
  border-color: var(--sw-color, var(--gold, #c9a96e));
  background: rgba(201, 169, 110, 0.13);
  color: var(--gold, #c9a96e);
  box-shadow: 0 0 14px color-mix(in srgb, var(--sw-color, #c9a96e) 25%, transparent),
              0 2px 6px rgba(0,0,0,0.25);
  font-weight: 700;
}

.breed-chip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.22s, transform 0.22s;
}

.breed-chip.selected .breed-chip-dot {
  opacity: 1;
  transform: scale(1.3);
}

/* Description de race sous les chips */
.variante-breed-desc {
  margin-top: 1rem;
  min-height: 4.5rem;
}

.breed-desc-item {
  display: none;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text2, #b0a0c0);
  font-style: italic;
  padding: 0.75rem 1rem;
  border-left: 2px solid rgba(201, 169, 110, 0.25);
  background: rgba(201, 169, 110, 0.04);
  border-radius: 0 4px 4px 0;
  animation: breedFadeIn 0.3s ease;
}

.breed-desc-item.active { display: block; }

@keyframes breedFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}



.btn-perso {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 4px;
  background: transparent;
  color: var(--gold, #c9a96e);
  font-size: 0.82rem;
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.btn-perso::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-perso:hover {
  border-color: var(--gold, #c9a96e);
  background: rgba(201, 169, 110, 0.08);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.18), 0 2px 8px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.btn-perso:hover::before { opacity: 1; }
.btn-perso:active { transform: translateY(0); }

.btn-perso svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.btn-perso:hover svg { opacity: 1; }



.perso-top-banner {
  background: linear-gradient(135deg, rgba(201,169,110,0.07) 0%, rgba(201,169,110,0.02) 100%);
  border-top: 1px solid rgba(201,169,110,0.15);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding: 1.25rem 0;
  margin-bottom: 0;
}

.ptb-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ptb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  color: var(--gold, #c9a96e);
  flex-shrink: 0;
  background: rgba(201,169,110,0.06);
}

.ptb-icon svg { width: 22px; height: 22px; }

.ptb-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.ptb-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #c9a96e);
  opacity: 0.8;
}

.ptb-nom {
  font-size: 1.05rem;
  font-family: var(--font-display, 'Cinzel', serif);
  color: var(--text, #f0e8de);
  letter-spacing: 0.04em;
}

.ptb-race {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text2, #b0a0c0);
}

.ptb-race em {
  color: var(--gold, #c9a96e);
  font-style: normal;
  font-weight: 700;
}

.ptb-race-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold, #c9a96e);
  flex-shrink: 0;
}

.ptb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text2, #b0a0c0);
  text-decoration: none;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 2rem;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ptb-back:hover {
  border-color: rgba(201,169,110,0.4);
  color: var(--gold, #c9a96e);
}

.ptb-back svg { width: 13px; height: 13px; }

.ptb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(201,169,110,0.1);
}

.ptb-option {
  font-size: 0.75rem;
  color: var(--text2, #b0a0c0);
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .ptb-inner { gap: 0.85rem; }
  .ptb-back { display: none; }
  .ptb-options { gap: 0.4rem 1rem; }
  .ptb-option { font-size: 0.7rem; }
  .breed-chip { font-size: 0.77rem; padding: 0.4rem 0.85rem; }
  .couleurs-swatches--breed { gap: 0.4rem; }
}

.couleurs-swatches--breed {
  align-items: flex-start;
}
.couleurs-swatches--breed .swatch-wrap {
  justify-content: flex-start;
}
.couleurs-swatches--breed .swatch-label {
  max-width: 5.5rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.couleurs-label--breed .couleurs-label-text {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   FICHE PRODUIT — RESPONSIVE MOBILE (refonte complète)
   Override final — prend toujours le dessus
══════════════════════════════════════════════════════════════ */

/* ── Images : object-fit cover partout ────────────────────── */
.gallery-slide img,
.gallery-thumb img,
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Desktop : galerie plus haute ────────────────────────── */
.gallery-main {
  aspect-ratio: 4 / 5;
}

/* ══════════════════════════════════════════════════════════════
   TABLETTE (≤ 860px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {

  /* Galerie pleine largeur, image bien proportionnée */
  .produit-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none;
    padding: 0;
    margin: 0;
  }

  .gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
  }

  /* Thumbs horizontaux sous l'image */
  .gallery-thumbs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: var(--bg2);
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }

  .gallery-thumb {
    flex: 0 0 54px !important;
    height: 54px !important;
    width: 54px !important;
    border-radius: 6px !important;
    transform: none !important;
  }

  /* Bloc info : padding cohérent */
  .produit-info {
    padding: 1.5rem 0 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE (≤ 680px) — refonte prix / variantes / boutons
══════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {

  /* Galerie : légèrement plus haute sur mobile */
  .gallery-main {
    aspect-ratio: 4 / 5 !important;
    max-height: 80vw !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
  }

  .gallery-thumbs {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 8px 1rem !important;
    gap: 8px !important;
  }

  .gallery-thumb {
    flex: 0 0 52px !important;
    height: 52px !important;
    width: 52px !important;
  }

  /* Sortir la galerie bord-à-bord */
  .produit-img-wrap {
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem)) !important;
    border: none !important;
    border-radius: 0 !important;
  }

  /* ── Bloc prix ───────────────────────────────────────────── */
  .produit-prix-variantes {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 1.25rem !important;
  }

  .produit-prix-bloc {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    padding: 1rem 1rem 0.9rem !important;
    margin: 0 !important;
    background: rgba(201,169,110,0.05) !important;
    border: 1px solid rgba(201,169,110,0.15) !important;
    border-radius: 8px 8px 0 0 !important;
    border-bottom: none !important;
  }

  .produit-prix-row {
    display: contents !important;
  }

  .produit-prix {
    font-size: 2rem !important;
    line-height: 1 !important;
  }

  /* Ligne méta : statut + port côte à côte */
  .produit-prix-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .produit-statut--inline {
    font-size: 0.58rem !important;
    letter-spacing: 0.15em !important;
    padding: 0.28rem 0.7rem !important;
  }

  /* Port calculé — discret, à côté du statut */
  .produit-port-note {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.62rem !important;
    color: var(--text2) !important;
    opacity: 0.75 !important;
    letter-spacing: 0.04em !important;
    margin-left: 0 !important;
  }

  .produit-port-note svg {
    width: 13px !important;
    height: 13px !important;
    opacity: 0.65 !important;
    flex-shrink: 0 !important;
  }

  /* ── Sélecteur de variante / race ────────────────────────── */
  .produit-variantes-inline {
    padding: 1rem !important;
    margin: 0 !important;
    background: var(--bg2) !important;
    border: 1px solid rgba(201,169,110,0.15) !important;
    border-radius: 0 0 8px 8px !important;
    border-top: 1px solid rgba(201,169,110,0.08) !important;
  }

  /* Label "Race / Coloris" */
  .couleurs-label {
    margin-bottom: 0.7rem !important;
    gap: 0.35rem !important;
    align-items: baseline !important;
  }

  .couleurs-label-text {
    font-size: 0.62rem !important;
    letter-spacing: 0.16em !important;
    opacity: 0.65 !important;
  }

  .couleurs-chosen-name {
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  /* Grille de swatches : cercles bien espacés */
  .couleurs-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem 0.5rem !important;
    margin-top: 0.5rem !important;
    align-items: flex-start !important;
  }

  /* Chaque wrap swatch */
  .swatch-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.3rem !important;
    min-width: 44px !important;
  }

  /* Cercle de couleur : plus grand sur mobile = meilleure cible tactile */
  .swatch--variante {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
  }

  /* Label sous le cercle */
  .swatch-label {
    font-size: 0.58rem !important;
    text-align: center !important;
    line-height: 1.2 !important;
    max-width: 50px !important;
    color: var(--text2) !important;
    letter-spacing: 0.03em !important;
  }

  /* Swatch sélectionné : plus visible */
  .swatch.selected {
    transform: scale(1.2) translateY(-2px) !important;
  }

  /* Breed-swatch : même taille + label plus large */
  .couleurs-swatches--breed .swatch-wrap {
    min-width: 52px !important;
  }

  .couleurs-swatches--breed .swatch-label {
    max-width: 60px !important;
    font-size: 0.6rem !important;
  }

  /* Description de race */
  .variante-breed-desc {
    margin-top: 0.85rem !important;
    min-height: 0 !important;
  }

  .breed-desc-item {
    font-size: 0.82rem !important;
    padding: 0.65rem 0.85rem !important;
    line-height: 1.65 !important;
  }

  /* ── Boutons d'action ─────────────────────────────────────── */
  .produit-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 5rem !important; /* espace CTA fixe */
  }

  /* Masquer btn-gold inline (remplacé par le sticky) */
  .produit-actions .btn-gold {
    display: none !important;
  }

  /* Bouton personnaliser : pleine largeur */
  .btn-perso {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.8rem 1.2rem !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Retour catalogue */
  .produit-actions .btn-dark {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.72rem !important;
    opacity: 0.6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* CTA sticky mobile : bien visible */
  .produit-mobile-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    position: fixed !important;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 550 !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.08em !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 28px rgba(0,0,0,0.55), 0 0 22px rgba(201,169,110,0.2) !important;
    text-align: center !important;
    animation: fabSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) both !important;
  }

  /* ── Note bas de page ──────────────────────────────────────── */
  .produit-note {
    font-size: 0.65rem !important;
    opacity: 0.55 !important;
    padding: 0.5rem 0 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   TRÈS PETIT MOBILE (≤ 390px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 390px) {
  .produit-prix { font-size: 1.45rem !important; }
  .swatch--variante { width: 32px !important; height: 32px !important; }
  .gallery-thumb { flex: 0 0 44px !important; height: 44px !important; width: 44px !important; }
  .gallery-main { max-height: 85vw !important; }
}

/* =========================================================
   GALERIE PRODUIT - Images fluides plein cadre (override)
   ========================================================= */

.gallery-main {
  overflow: hidden;
  position: relative;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

@media (max-width: 860px) {
  .produit-img-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: none !important;
    padding: 0 !important;
    margin-left:  calc(-1 * clamp(0.75rem, 4vw, 2rem)) !important;
    margin-right: calc(-1 * clamp(0.75rem, 4vw, 2rem)) !important;
  }

  .gallery-main {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 82vw !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
  }

  .gallery-thumbs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8px !important;
    gap: 6px !important;
    width: 100% !important;
    background: var(--bg2) !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }

  .gallery-thumb {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 4px !important;
  }
}

@media (max-width: 480px) {
  .gallery-main {
    aspect-ratio: 1 / 1 !important;
    max-height: 100vw !important;
  }

  .gallery-thumb {
    flex: 0 0 60px !important;
    width: 80px !important;
    height: 75px !important;
}
}

/* ════════════════════════════════════════════════════════
   OVERRIDES & NOUVEAUX STYLES — 2025
   ════════════════════════════════════════════════════════ */

/* ── 1. BOUTON LANGUE — masqué temporairement ── */
.lang-panel,
.lang-btn,
.mtb-toggle-btn {
  display: none !important;
}

/* ── 2. COLLECTIONS homepage — overlay & image fluid ── */
.col-img {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}

/* Overlay dégradé au survol sur toutes les cartes collection */
.col-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(201,169,110,0.18) 0%,
    rgba(154,95,190,0.22) 60%,
    rgba(0,0,0,0.5) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 2;
  pointer-events: none;
}
.col-card:hover .col-img::after { opacity: 1; }

/* Overlay texte "Découvrir" au hover */
.col-img::before {
  content: 'Découvrir →';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  pointer-events: none;
}
.col-card:hover .col-img::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Image fluid dans les col-cards */
.col-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  display: block;
}
.col-card:hover img { transform: scale(1.07); }

/* ── 3. CARTES CATALOGUE — images fluides & ratio harmonieux ── */
.card-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--bg3) 0%, rgba(30,20,40,0.8) 100%);
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card-img img { transform: scale(1.06); }

/* Léger vignettage sur les cartes catalogue */
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Badge variantes et unique doivent passer au-dessus du vignettage */
.card-variantes-badge,
.card-unique-badge {
  z-index: 3;
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
}

/* ── 4. FOOTER — redesign magnifique & responsive ── */
#footer {
  background: var(--bg2);
  border-top: 1px solid rgba(154,95,190,0.15);
  padding: 0;
  color: var(--text2);
  position: relative;
}

.footer-sigil-top {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0;
  color: var(--gold);
  opacity: 0.6;
}
.footer-sigil-top svg {
  width: 120px;
  height: 8px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem) 2.5rem;
  border-bottom: 1px solid rgba(154,95,190,0.1);
}

/* Bloc marque */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.footer-logo-img {
  width: 2.2rem;
  height: 2.2rem;
  opacity: 0.85;
  flex-shrink: 0;
}
.footer-name {
  font-family: var(--f-title);
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: 0.02em;
  display: block;
}
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text2);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* Réseaux sociaux footer */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text2);
  text-decoration: none;
  background: transparent;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
}
.footer-social-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.footer-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold2);
  background: rgba(201,169,110,0.07);
  transform: translateY(-2px);
}
.footer-social-btn:hover svg { opacity: 1; }

/* Blocs navigation footer */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-title {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.3rem;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.25s, padding-left 0.25s;
  line-height: 1.4;
}
.footer-links a:hover {
  color: var(--gold2);
  padding-left: 0.35rem;
}

/* Barre du bas */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.4rem clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.footer-deco {
  color: var(--gold);
  opacity: 0.35;
  font-size: 0.85rem;
}
.footer-bottom-text {
  text-align: center;
}
.footer-bottom-text p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--text2);
  margin: 0 0 0.2rem;
  line-height: 1.5;
}
.footer-credits {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
}
.footer-credit-link {
  color: var(--gold2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit-link:hover { color: var(--gold); }

/* ── Footer responsive ── */
@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 1.25rem 1.75rem;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-social-btn {
    padding: 0.45rem 0.8rem 0.45rem 0.6rem;
    font-size: 0.7rem;
  }
  .footer-links a { font-size: 0.85rem; }
}

@media (max-width: 380px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ── 5. CATALOGUE — grille produits plus fluide ── */
@media (min-width: 600px) and (max-width: 900px) {
  .products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
  }
  .card-img { aspect-ratio: 3/4; }
}

@media (min-width: 901px) {
  .products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  .card-img { aspect-ratio: 4/5; }
}

/* ── Assurer que le bouton langue du desktop est bien caché ── */
@media (min-width: 901px) {
  .lang-panel { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   CATALOGUE — IMAGES RESPONSIVE (override des règles conflictuelles)
   Corrige : aspect-ratio 16/9 à ≤430px, grille 1 colonne parasite,
   et assure un rendu portrait sur tous les breakpoints.
══════════════════════════════════════════════════════════════ */

/* Base : toujours portrait, objet aligné en haut (visages/têtes visibles) */
.card-img {
  aspect-ratio: 3 / 4 !important;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Tablette (600–900px) — 3 colonnes max, ratio portrait */
@media (min-width: 600px) and (max-width: 900px) {
  .products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important; gap: 1.2rem !important; }
  .card-img { aspect-ratio: 3 / 4 !important; }
}

/* Desktop (>900px) — ratio légèrement plus allongé */
@media (min-width: 901px) {
  .products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 1.5rem !important; }
  .card-img { aspect-ratio: 4 / 5 !important; }
}

/* Mobile (≤599px) — 2 colonnes, ratio portrait */
@media (max-width: 599px) {
  .products { grid-template-columns: repeat(2, 1fr) !important; gap: 0.7rem !important; }
  .card-img { aspect-ratio: 3 / 4 !important; }
}

/* Très petit mobile (≤380px) — 2 colonnes compactes, portrait conservé */
@media (max-width: 380px) {
  .products { grid-template-columns: repeat(2, 1fr) !important; gap: 0.5rem !important; }
  .card-img { aspect-ratio: 3 / 4 !important; }
  .card-body { padding: 0.6rem; }
  .card-body h4 { font-size: 0.8rem; }
  .card-body em, .card-voir { font-size: 0.5rem; }
  .card-body strong { font-size: 0.82rem; }
}

/* ══════════════════════════════════════════════════════════════
   COLLECTIONS — OVERLAY TOUJOURS VISIBLE SUR MOBILE / TACTILE
   Sur écrans sans hover (touch), l'overlay et le label
   "Découvrir →" sont affichés en permanence.
══════════════════════════════════════════════════════════════ */

/* Appareils tactiles (hover non disponible) */
@media (hover: none) {
  .col-img::after {
    opacity: 1 !important;
  }
  .col-img::before {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* Sécurité supplémentaire : petits écrans (<= 900px) même si hover déclaré */
@media (max-width: 900px) {
  .col-img::after {
    opacity: 0.85;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.08) 0%,
      rgba(154,95,190,0.18) 50%,
      rgba(0,0,0,0.62) 100%
    );
  }
  .col-img::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    bottom: 0.75rem;
    font-size: 0.6rem;
  }
}

/* col-info (titre sous image) reste lisible à tous formats */
.col-info {
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════════
   COLLECTIONS HOMEPAGE — RESPONSIVE COMPLET (override total)
   Grille, ratios, col-info, overlay : harmonieux à toutes tailles
══════════════════════════════════════════════════════════════ */

/* ── BASE : grille 4 colonnes desktop ── */
.collections-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.2rem !important;
  padding: 0 clamp(1.2rem, 4vw, 3rem) !important;
  flex-wrap: unset !important;
  overflow-x: unset !important;
  justify-content: unset !important;
  max-width: 1280px;
  margin: 0 auto;
}

.col-card {
  flex: unset !important;
  max-width: unset !important;
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  display: block;
  border-radius: 2px;
  transition: border-color 0.35s, transform 0.35s;
}

/* Ratio portrait unifié toutes tailles */
.col-img {
  aspect-ratio: 3 / 4 !important;
  position: relative;
  overflow: hidden;
  display: block;
}

/* col-info — overlay ancré en bas, bien dimensionné */
.col-info {
  position: absolute !important;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1rem 1rem !important;
  background: linear-gradient(
    to top,
    rgba(10,6,16,0.97) 0%,
    rgba(10,6,16,0.65) 55%,
    transparent 100%
  ) !important;
  z-index: 4;
}

.col-diamond {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  margin-bottom: 0.3rem;
}

.col-info h3 {
  font-family: var(--f-title);
  color: var(--bone);
  font-size: clamp(0.85rem, 1.5vw, 1.15rem) !important;
  font-weight: 400;
  margin-bottom: 0.2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.col-info p {
  color: var(--gold);
  font-family: var(--f-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.65rem, 1vw, 0.78rem) !important;
  opacity: 0.8;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── TABLETTE (600–1024px) : 2 colonnes ── */
@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .col-img { aspect-ratio: 4 / 3 !important; } /* plus large sur tablette */
  .col-info { padding: 1.1rem 1rem 0.9rem !important; }
  .col-info h3 { font-size: clamp(1rem, 2.5vw, 1.2rem) !important; }
  .col-info p   { font-size: 0.72rem !important; }
}

/* ── MOBILE (≤ 599px) : 2 colonnes compactes portrait ── */
@media (max-width: 599px) {
  #collections { padding: 2.5rem 0 2rem !important; }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    padding: 0 0.85rem !important;
  }
  .col-card { border-radius: 3px; }
  .col-img  { aspect-ratio: 3 / 4 !important; } /* portrait sur mobile */
  .col-info {
    padding: 0.75rem 0.6rem 0.65rem !important;
    background: linear-gradient(
      to top,
      rgba(10,6,16,0.98) 0%,
      rgba(10,6,16,0.7) 50%,
      transparent 100%
    ) !important;
  }
  .col-diamond  { font-size: 0.6rem; margin-bottom: 0.2rem; }
  .col-info h3  { font-size: 0.78rem !important; margin-bottom: 0.15rem; }
  .col-info p   { font-size: 0.6rem !important; letter-spacing: 0.02em; }
  .collections-cta { margin-top: 2rem; }
}

/* ── TRÈS PETIT (≤ 380px) : 1 colonne si vraiment trop étroit ── */
@media (max-width: 380px) {
  .collections-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }
  .col-img { aspect-ratio: 4 / 3 !important; }
  .col-info h3 { font-size: 1rem !important; }
  .col-info p  { font-size: 0.72rem !important; }
}

/* ── Overlay "Découvrir →" : s'adapte au conteneur ── */
@media (max-width: 599px) {
  .col-img::before {
    font-size: 0.52rem !important;
    letter-spacing: 0.16em !important;
    bottom: 0.6rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   CORRECTIONS FINALES — 3 points
══════════════════════════════════════════════════════════════ */

/* ── 1. COLLECTIONS : 2 colonnes conservées même à ≤380px ── */
@media (max-width: 380px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0 0.7rem !important;
  }
  .col-img { aspect-ratio: 3 / 4 !important; }
}

/* ── 2. ICÔNE ARTISANAT — SVG scissors bien dimensionné ── */
.value-icon--svg {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.value-icon--svg svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--gold);
  stroke: var(--gold);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .value-icon--svg svg { width: 1.25rem; height: 1.25rem; }
}
@media (max-width: 680px) {
  .value-icon--svg svg { width: 1.1rem; height: 1.1rem; }
}

/* ── 3. VALEURS (Créativité · Authenticité · Artisanat) — mobile discret ── */
@media (max-width: 680px) {
  /* Supprimer les boîtes individuelles */
  .value {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 0.3rem !important;
  }
  .value + .value { margin-left: 0 !important; }

  /* Conteneur : séparateurs légers entre items */
  .atelier-values {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    border-top: 1px solid rgba(154,95,190,0.12);
    border-bottom: 1px solid rgba(154,95,190,0.12);
    padding: 0.8rem 0;
    margin-top: 0.5rem;
  }

  /* Séparateur vertical entre chaque valeur */
  .value + .value {
    border-left: 1px solid rgba(154,95,190,0.15);
    padding-left: 1.1rem !important;
    margin-left: 1.1rem !important;
  }

  .value-icon { font-size: 1rem !important; opacity: 0.75; }
  .value-icon--svg svg { width: 0.95rem !important; height: 0.95rem !important; opacity: 0.75; }

  .value span:last-child {
    font-size: 0.55rem !important;
    letter-spacing: 0.12em !important;
    color: var(--text2) !important;
    opacity: 0.85;
  }
}

/* Très petit mobile : idem mais encore plus compact */
@media (max-width: 400px) {
  .atelier-values {
    flex-direction: row !important;
    padding: 0.65rem 0 !important;
  }
  .value {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex: 1;
    padding: 0 !important;
  }
  .value + .value {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .value-icon { font-size: 0.9rem !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   COOKIE BANNER — Bandeau RGPD esthétique & responsive
   ═══════════════════════════════════════════════════════════════════ */

/* ── Bandeau principal ────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════
   COOKIE BANNER — Wolfsbane Studio
   Bandeau compact coin bas-droite + panneau paramètres
   ══════════════════════════════════════════════════════════════════ */

#ws-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: min(360px, calc(100vw - 2rem));
  background: rgba(18, 12, 26, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(154, 95, 190, 0.3);
  border-radius: 12px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(154, 95, 190, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.4rem 1.4rem 1.2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
  animation: ws-cookie-slide-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

#ws-cookie-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent);
}

#ws-cookie-banner.ws-cookie-hidden {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

@keyframes ws-cookie-slide-up {
  from { transform: translateY(calc(100% + 2rem)); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── Sigil décoratif ── */
.ws-cookie-sigil {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.ws-cookie-sigil svg {
  width: 18px; height: 18px;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}
.ws-cookie-sigil-label {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

/* ── Texte ── */
.ws-cookie-text {
  font-family: var(--f-body);
  margin-bottom: 1.1rem;
}
.ws-cookie-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 0.35rem;
  font-family: var(--f-sub);
  letter-spacing: 0.01em;
}
.ws-cookie-text p {
  font-size: 0.78rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text2);
}
.ws-cookie-text a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 169, 110, 0.4);
  transition: all 0.2s;
  font-size: 0.75rem;
}
.ws-cookie-text a:hover {
  color: var(--bone);
  border-bottom-color: var(--bone);
}

/* ── Boutons ── */
.ws-cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-direction: column;
}
.ws-cookie-actions-row {
  display: flex;
  gap: 0.6rem;
}
.ws-cookie-btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  font-family: var(--f-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex: 1;
}
.ws-cookie-btn--accept {
  background: linear-gradient(135deg, #7a3fa0 0%, #9a5fbe 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(154, 95, 190, 0.35);
}
.ws-cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(154, 95, 190, 0.5);
  background: linear-gradient(135deg, #8a4fb0 0%, #aa6fce 100%);
}
.ws-cookie-btn--decline {
  background: rgba(30, 22, 42, 0.8);
  color: var(--text2);
  border: 1px solid rgba(154, 95, 190, 0.2);
}
.ws-cookie-btn--decline:hover {
  background: rgba(40, 30, 55, 0.9);
  color: var(--bone2);
  border-color: rgba(154, 95, 190, 0.35);
}
.ws-cookie-btn--settings {
  background: transparent;
  color: var(--text2);
  border: 1px solid rgba(154, 95, 190, 0.15);
  font-size: 0.72rem;
  padding: 0.5rem 0.8rem;
}
.ws-cookie-btn--settings:hover {
  color: var(--gold);
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(201, 169, 110, 0.05);
}

/* ══════════════════════════════════════════════════════════════════
   PANNEAU PARAMÈTRES
   ══════════════════════════════════════════════════════════════════ */

#ws-cookie-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10001;
  width: min(400px, calc(100vw - 2rem));
  background: rgba(14, 10, 20, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(154, 95, 190, 0.35);
  border-radius: 14px;
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(154, 95, 190, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.8rem 1.6rem;
  display: none;
  flex-direction: column;
  gap: 0;
  max-height: 85vh;
  overflow-y: auto;
}
#ws-cookie-panel.open { display: flex; animation: ws-panel-in 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) both; }

@keyframes ws-panel-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ws-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(154, 95, 190, 0.15);
}
.ws-panel-header-text {}
.ws-panel-title {
  font-family: var(--f-title);
  font-size: 1.1rem;
  color: var(--bone);
  margin: 0 0 0.3rem;
  letter-spacing: 0.02em;
}
.ws-panel-subtitle {
  font-size: 0.74rem;
  color: var(--text2);
  line-height: 1.5;
  margin: 0;
}
.ws-panel-close {
  background: rgba(154, 95, 190, 0.1);
  border: 1px solid rgba(154, 95, 190, 0.2);
  border-radius: 6px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}
.ws-panel-close:hover { background: rgba(154, 95, 190, 0.2); color: var(--bone); }

/* ── Catégories de cookies ── */
.ws-cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(154, 95, 190, 0.1);
}
.ws-cookie-category:last-of-type { border-bottom: none; }

.ws-cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.ws-cookie-category-name {
  font-family: var(--f-sub);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bone2);
  letter-spacing: 0.04em;
}
.ws-cookie-category-desc {
  font-size: 0.72rem;
  color: var(--text2);
  line-height: 1.55;
  margin: 0;
}

/* ── Toggle switch ── */
.ws-toggle {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.ws-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.ws-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: rgba(154, 95, 190, 0.15);
  border: 1px solid rgba(154, 95, 190, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}
.ws-toggle input:checked ~ .ws-toggle-track {
  background: rgba(154, 95, 190, 0.7);
  border-color: rgba(154, 95, 190, 0.8);
  box-shadow: 0 0 10px rgba(154, 95, 190, 0.3);
}
.ws-toggle input:disabled ~ .ws-toggle-track {
  cursor: not-allowed;
  opacity: 0.5;
}
.ws-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(154, 95, 190, 0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.ws-toggle input:checked ~ .ws-toggle-track .ws-toggle-thumb {
  transform: translateX(18px);
  background: #fff;
}
.ws-toggle-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-family: var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  background: rgba(154, 95, 190, 0.12);
  color: var(--text2);
  border: 1px solid rgba(154, 95, 190, 0.15);
  vertical-align: middle;
}
.ws-toggle-badge--required {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  border-color: rgba(201, 169, 110, 0.2);
}

/* ── Boutons panneau ── */
.ws-panel-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(154, 95, 190, 0.12);
}
.ws-panel-actions .ws-cookie-btn { padding: 0.65rem 1rem; }

/* ── Lien réouverture footer ── */
#ws-cookie-reopen {
  font-size: 0.65rem;
  font-family: var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
  opacity: 0.45;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  transition: all 0.2s;
}
#ws-cookie-reopen:hover { opacity: 0.8; color: var(--gold); }

/* ── Scrollbar panneau ── */
#ws-cookie-panel::-webkit-scrollbar { width: 4px; }
#ws-cookie-panel::-webkit-scrollbar-track { background: transparent; }
#ws-cookie-panel::-webkit-scrollbar-thumb { background: rgba(154, 95, 190, 0.3); border-radius: 2px; }

/* ── Mobile ── */
@media (max-width: 480px) {
  #ws-cookie-banner,
  #ws-cookie-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 14px 14px 0 0;
    border-bottom: none;
  }
  #ws-cookie-banner.ws-cookie-hidden {
    transform: translateY(100%);
  }
  @keyframes ws-cookie-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
}


/* ── Accessibilité ────────────────────────────────────────────────── */
.ws-cookie-btn:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

#ws-cookie-modal:focus {
  outline: none;
}

/* Réduction des mouvements pour accessibilité */
@media (prefers-reduced-motion: reduce) {
  #ws-cookie-banner,
  #ws-cookie-modal,
  #ws-cookie-modal > div,
  .ws-cookie-icon,
  .ws-cookie-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Dark mode support (au cas où) ────────────────────────────────── */
@media (prefers-color-scheme: light) {
  /* Le site est déjà en mode sombre, pas de changement nécessaire */
}

/* ── Sélecteur Stickers (mode bouton texte) ─────────────────────── */
/* ── Grille 3×3 pour les variantes stickers ─────────────────────── */
.couleurs-swatches--grid3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.75rem 0.5rem !important;
  margin-bottom: 0;
  align-items: stretch;
  justify-items: center;
}

.couleurs-swatches--grid3 .swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.couleurs-swatches--grid3 .swatch-label {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  opacity: 0.55;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  max-width: 5rem;
  transition: opacity 0.2s, color 0.2s;
}

.couleurs-swatches--grid3 .swatch-wrap:has(.swatch.selected) .swatch-label {
  opacity: 1;
  color: var(--gold2);
}

@media (max-width: 900px) {
  .couleurs-swatches--grid3 {
    gap: 0.65rem 0.4rem !important;
  }
  .couleurs-swatches--grid3 .swatch-label {
    font-size: 0.46rem;
    max-width: 4.5rem;
  }
}

@media (max-width: 480px) {
  .couleurs-swatches--grid3 {
    gap: 0.55rem 0.35rem !important;
  }
  .couleurs-swatches--grid3 .swatch-label {
    font-size: 0.42rem;
    max-width: 4rem;
  }
}
