


/* ============================================
   SKANDIKAT — Global Stylesheet
   Luxury Modern Cat Furniture
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   @FONT-FACE — Prepared for .woff2 files
   ============================================ */

/* Title fonts — Jost */
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/03_Other_Jost/Jost-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/03_Other_Jost/Jost-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Lato variants */
@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-thin-webfont.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-bolditalic-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/02_Text_Lato/lato-lightitalic-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
/* ── DARK THEME ── */
:root {
  --color-bg: #0F0E0B;
  --color-card-bg: #322d28;
  --color-text-dark: #fafafa;
  --color-muted: #a89e95;
  --color-muted-2: #7a7068;
  --color-muted-3: #c0b8b0;
  --color-muted-4: #b0a89f;
  --color-divider: rgba(255, 255, 255, 0.1);
  --color-divider-strong: rgba(255, 255, 255, 0.15);
  --color-product-card-bg: #3a3530;

  /* Font stacks */
  --font-titre-01: 'Jost', 'Helvetica Neue', Helvetica, sans-serif;
  --font-titre-02: 'Jost', 'Helvetica Neue', Helvetica, sans-serif;
  --font-header: 'Lato', 'Helvetica Neue', sans-serif;
  --font-categories: 'Lato', 'Helvetica Neue', sans-serif;
  --font-product-title: 'Lato', 'Helvetica Neue', sans-serif;
  --font-product-subtitle: 'Lato', 'Helvetica Neue', sans-serif;
  --font-produit-titre: 'Lato', 'Helvetica Neue', sans-serif;
  --font-produit-desc: 'Lato', 'Helvetica Neue', sans-serif;
  --font-produit-detail: 'Lato', 'Helvetica Neue', sans-serif;
  --font-footer: 'Lato', 'Helvetica Neue', sans-serif;

  --max-width: 1440px;
  --header-height: 64px;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  --color-bg: #0F0E0B;
  --color-card-bg: #322d28;
  --color-text-dark: #fafafa;
  --color-muted: #a89e95;
  --color-muted-2: #7a7068;
  --color-muted-3: #c0b8b0;
  --color-muted-4: #b0a89f;
  --color-divider: rgba(255, 255, 255, 0.1);
  --color-divider-strong: rgba(255, 255, 255, 0.15);
  --color-product-card-bg: #3a3530;
}

/* ============================================
   FONT UTILITY CLASSES
   ============================================ */
.font-titre-01 {
  font-family: var(--font-titre-01);
  font-weight: 300;
  color: #fafafa;
}

.font-titre-02 {
  font-family: var(--font-titre-02);
  font-weight: 400;
  color: #fafafa;
}

.font-header {
  font-family: var(--font-header);
  font-weight: 400;
  color: #fafafa;
}

.font-categories {
  font-family: var(--font-categories);
  font-weight: 400;
  color: #fafafa;
}

.font-product-title {
  font-family: var(--font-product-title);
  font-weight: 700;
  font-style: italic;
}

.font-product-subtitle {
  font-family: var(--font-product-subtitle);
  font-weight: 300;
  font-style: italic;
}

.font-produit-titre {
  font-family: var(--font-produit-titre);
  font-weight: 700;
}

.font-produit-desc {
  font-family: var(--font-produit-desc);
  font-weight: 300;
}

.font-produit-detail {
  font-family: var(--font-produit-detail);
  font-weight: 100;
}

.font-footer {
  font-family: var(--font-footer);
  font-weight: 100;
  color: #fafafa;
}

/* ============================================
   PLACEHOLDER IMAGE (Red box with "Pic")
   ============================================ */
.placeholder-img {
  background-color: #c0392b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 4/3;
}

.placeholder-img--square {
  aspect-ratio: 1/1;
}

.placeholder-img--portrait {
  aspect-ratio: 3/4;
}

.placeholder-img--wide {
  aspect-ratio: 16/9;
}

.placeholder-img--hero {
  aspect-ratio: unset;
  min-height: 100vh;
}

/* ============================================
   HEADER — Full-page hero
   ============================================ */
.hero-header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-header__bg .placeholder-img {
  min-height: 100vh;
  aspect-ratio: unset;
}

.hero-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top bar overlay */
.hero-header__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center; /* nav centrée */
  padding: clamp(16px, 2vw, 28px) clamp(16px, 3.3vw, 48px);
  min-height: 80px;
}

/* Brand block — dans le flux flex, à gauche */
.hero-header__brand {
  position: absolute;
  left: -40px;
  top: 120%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-header__logo-placeholder {
  width: clamp(200px, 40vw, 3
00px);
  height: auto;
  max-height: 200px;
  background: rgba(255,255,255,0);
  border: 1px solid rgba(255,255,255,0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fafafa;
  letter-spacing: 0.1em;
  object-fit: contain;
}

/* Navigation — center */
.hero-header__nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fafafa;
  transition: opacity var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fafafa;
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 1;
}

/* Right icons — top right */
.hero-header__actions {
  position: absolute;
  right: clamp(16px, 3.3vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-selector {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #fafafa;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lang-selector option {
  background: #0f0f0f;
  color: #fafafa;
}

.icon-btn {
  color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #0f0f0f;
  color: #fafafa;
  font-size: 0.55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
}

/* ============================================
   STICKY NAV (used on non-home pages)
   ============================================ */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  transition: background-color 0.3s ease;
}

.sticky-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
}

.sticky-nav__brand {
  font-family: var(--font-titre-01);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fafafa;
}

.sticky-nav__links {
  display: flex;
  gap: 36px;
}

.sticky-nav__links .nav-link {
  color: #fafafa;
}

.sticky-nav__links .nav-link::after {
  background: #fafafa;
}

.sticky-nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-nav__actions .icon-btn {
  color: #fafafa;
}

.sticky-nav__actions .lang-selector {
  color: #fafafa;
  border-color: rgba(0,0,0,0.2);
}

.sticky-nav__actions .lang-selector option {
  background: var(--color-bg);
  color: #fafafa;
}

.sticky-nav__actions .cart-count {
  background: #fafafa;
  color: #fafafa;
}

/* ============================================
   CATEGORY BAND — Horizontal scroll
   ============================================ */
.category-band {
  background: var(--color-bg);
  padding: 40px 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-band::-webkit-scrollbar {
  display: none;
}

.category-band__grid {
  display: flex;
  gap: 32px;
  /* Centré quand les catégories tiennent sur l'écran ; scroll si elles débordent */
  justify-content: center;
  flex-wrap: nowrap;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.category-card__img {
  width: 140px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}

.category-card__img .placeholder-img {
  min-height: unset;
  height: 100%;
  font-size: 0.7rem;
}

.category-card__name {
  font-family: var(--font-categories);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #fafafa;
  text-align: center;
}

/* ============================================
   HOME — Interior gallery sections
   ============================================ */
.home-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-gallery__section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-gallery__section .placeholder-img {
  aspect-ratio: 16/7;
  min-height: clamp(240px, 30vw, 420px);
}

.home-gallery__text {
  position: absolute;
  top: 40px;
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #fafafa;
  text-transform: uppercase;
  max-width: 260px;
  line-height: 1.8;
  z-index: 2;
}

.home-gallery__text--left {
  left: 48px;
}

.home-gallery__text--right {
  right: 48px;
  text-align: right;
}

/* Duo row: 2/3 + 1/3 */
.home-gallery__duo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
}

.home-gallery__duo .placeholder-img {
  aspect-ratio: unset;
  min-height: clamp(280px, 40vw, 560px);
}

/* ============================================
   CATEGORY PAGE — Product grid
   ============================================ */
.category-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(24px, 3.3vw, 48px);
}

.category-page__title {
  font-family: var(--font-titre-02);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 48px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__img-wrap {
  background: var(--color-product-card-bg);
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.product-card__img-wrap .placeholder-img,
.product-card__img-wrap img {
  min-height: unset;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quick add button */
.product-card__quick-add {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fafafa;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card__quick-add {
  opacity: 1;
}

.product-card__divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 12px;
}

.product-card__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.product-card__name {
  font-family: var(--font-product-title);
  font-weight: 700;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fafafa;
}

.product-card__material {
  font-family: var(--font-product-subtitle);
  font-weight: 300;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.product-card__pricing {
  text-align: right;
  white-space: nowrap;
}

.product-card__price {
  font-family: var(--font-produit-titre);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fafafa;
}

.product-card__price-old {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--color-muted-2);
  text-decoration: line-through;
  margin-left: 8px;
}

/* ============================================
   PRODUCT PAGE — see full rules at bottom of file
   ============================================ */

.product-info__badge {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.product-info__title {
  font-family: var(--font-produit-titre);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #fafafa;
  margin-bottom: 16px;
}

.product-info__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-info__price {
  font-family: var(--font-produit-titre);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #fafafa;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.product-info__stars {
  color: #fafafa;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.product-info__separator {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 20px;
}

/* Color selector */
.product-info__color-label {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.product-info__color-label strong {
  font-weight: 700;
  font-family: var(--font-produit-titre);
}

.product-info__colors {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.color-swatch--active,
.color-swatch:hover {
  border-color: #fafafa;
}

/* Description */
.product-info__description {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-muted-3);
  margin-bottom: 24px;
}

/* CTA buttons */
.product-info__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-add-cart {
  width: 100%;
  padding: 16px;
  border: 1px solid #fafafa;
  background: transparent;
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fafafa;
  transition: all var(--transition);
}

.btn-add-cart:hover {
  background: #fafafa;
  color: #0f0f0f;
}

.btn-buy-now {
  width: 100%;
  padding: 16px;
  background: #fafafa;
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0f0f0f;
  transition: opacity var(--transition);
}

.btn-buy-now:hover {
  opacity: 0.85;
}

/* Tags row */
.product-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.product-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--color-divider);
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-muted-4);
}

.product-tag svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-muted-4);
  fill: none;
  stroke-width: 1.5;
}

/* Accordion sections */
.accordion {
  border-top: 1px solid var(--color-divider);
}

.accordion__item {
  border-bottom: 1px solid var(--color-divider);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
}

.accordion__title {
  font-family: var(--font-produit-detail);
  font-weight: 100;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fafafa;
}

.accordion__icon {
  font-size: 1.2rem;
  color: #fafafa;
  transition: transform 0.3s ease;
  font-weight: 100;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion__item.is-open .accordion__content {
  max-height: 400px;
  padding-bottom: 24px;
}

.accordion__content ul {
  list-style: disc;
  padding-left: 20px;
}

.accordion__content ul li {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--color-muted-3);
}

.accordion__content p {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-muted-3);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider-strong);
  padding: 48px;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col__title {
  font-family: var(--font-footer);
  font-weight: 100;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 20px;
  opacity: 1;
}

.footer-col a,
.footer-col p {
  font-family: var(--font-footer);
  font-weight: 100;
  font-size: 0.82rem;
  color: #fafafa;
  line-height: 2.2;
  display: block;
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__copy {
  font-family: var(--font-footer);
  font-weight: 100;
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.site-footer__social {
  display: flex;
  gap: 16px;
}

.site-footer__social a {
  font-family: var(--font-footer);
  font-weight: 100;
  font-size: 0.72rem;
  color: var(--color-muted);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 48px;
}

.contact-page__title {
  font-family: var(--font-titre-01);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 16px;
}

.contact-page__intro {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-muted-4);
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-produit-detail);
  font-weight: 100;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.88rem;
  padding: 14px 16px;
  border: 1px solid var(--color-divider);
  background: var(--color-card-bg);
  color: #fafafa;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #fafafa;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  padding: 16px 48px;
  background: #fafafa;
  color: #0f0f0f;
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  transition: opacity var(--transition);
}

.btn-submit:hover {
  opacity: 0.8;
}

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 48px;
}

.legal-page h1 {
  font-family: var(--font-titre-01);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-family: var(--font-produit-titre);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #fafafa;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-family: var(--font-produit-titre);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #fafafa;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-page p {
  font-family: var(--font-produit-desc);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-muted-3);
  margin-bottom: 12px;
}

.legal-page strong {
  font-weight: 700;
  color: #fafafa;
}

.legal-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 48px 0;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .hero-header__topbar {
    padding: 20px 28px;
  }

  .hero-header__nav {
    gap: 24px;
  }

  .category-band {
    padding: 32px 28px;
  }

  .product-page {
    padding: 0 28px 60px;
    gap: 32px;
  }

  .product-info {
    padding-left: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .category-page {
    padding: 36px 28px;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  .hero-header__topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-header__brand {
    left: 20px;
    top: 16px;
    transform: none;
  }

  .hero-header__logo-placeholder {
    width: clamp(800px, 70vw, 140px);
    max-height: 80px;
  }

  .hero-header__actions {
    top: 20px;
    right: 20px;
    transform: none;
    gap: 16px;
  }

  .hero-header__nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .hero-header__brand-name {
    font-size: 1.1rem;
  }

  .category-band {
    padding: 24px 20px;
  }

  .category-card__img {
    width: 100px;
  }

  .category-card__name {
    font-size: 0.7rem;
  }

  /* Home gallery duo becomes stacked */
  .home-gallery__duo {
    grid-template-columns: 1fr;
  }

  .home-gallery__text {
    font-size: 0.75rem;
    top: 24px;
  }

  .home-gallery__text--left { left: 20px; }
  .home-gallery__text--right { right: 20px; }

  /* Product grid to single column */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Product page stacked */
  .product-page {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .product-info {
    position: static;
    padding: 24px 0 0;
  }

  .product-info__title {
    font-size: 1.2rem;
  }

  /* Footer single column */
  .site-footer {
    padding: 36px 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Contact & Legal */
  .contact-page,
  .legal-page {
    padding: 48px 20px;
  }

  .contact-page__title,
  .legal-page h1 {
    font-size: 1.4rem;
  }

  /* Sticky nav mobile */
  .sticky-nav__inner {
    padding: 12px 20px;
  }

  .sticky-nav__links {
    gap: 16px;
  }

  .sticky-nav__brand {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sticky-nav__links {
    display: none; /* hamburger menu would go here */
  }

  .hero-header__actions {
    gap: 16px;
  }

  .product-info__tags {
    gap: 6px;
  }

  .product-tag {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
}

/* ============================================
   PAGE TRANSITION — Cross-blend symétrique 300ms
   ============================================ */
body {
  animation: pageFadeIn 0.3s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Classe ajoutée par JS avant navigation */
body.is-leaving {
  animation: pageFadeOut 0.3s ease forwards;
}

@keyframes pageFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}


/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 48px;
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.breadcrumb a {
  color: var(--color-muted);
  font-weight: 400;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fafafa;
  opacity: 1;
}

/* ============================================
   PRODUCT PAGE — accordion BELOW images (left col)
   ============================================ */
.product-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 3.3vw, 48px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left column: images + accordions stacked */
.product-left {
  display: flex;
  flex-direction: column;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-images__item {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.product-images__item .placeholder-img {
  aspect-ratio: 1/1;
  min-height: unset;
}

.product-images__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* Accordion below images */
.product-left .accordion {
  margin-top: 24px;
}

/* ============================================
   RIGHT column: info without accordions
   ============================================ */
.product-info {
  position: sticky;
  top: 100px;
  padding: 48px 0 48px 24px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img-wrap {
  position: relative;
  max-width: 80vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img-wrap .placeholder-img,
.lightbox__img-wrap img {
  max-width: 80vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  min-height: unset;
  display: block;
}

/* Controls — visible only on hover */
.lightbox__controls {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox__img-wrap:hover .lightbox__controls {
  opacity: 1;
}

.lightbox__close {
  position: fixed;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 1010;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox:hover .lightbox__close {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox:hover .lightbox__prev,
.lightbox:hover .lightbox__next {
  opacity: 1;
}

.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(0,0,0,0.6);
}

/* Click outside area */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* ============================================
   RESPONSIVE overrides for product page
   ============================================ */
@media (max-width: 1024px) {
  .product-page {
    padding: 0 28px 60px;
    gap: 32px;
  }
  .product-info {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .product-page {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }
  .product-info {
    position: static;
    padding: 24px 0 0;
  }
  .product-info__title {
    font-size: 1.2rem;
  }
  .breadcrumb {
    padding: 12px 20px;
  }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}


