/* ==========================================================================
   Sidelab — Couche "Futur"
   Se charge après style.css et ne fait que le surcharger : même contenu, même
   structure, habillage plus futuriste (verre dépoli, repères HUD, lueur orange).
   Pour revenir à l'ancien look, il suffit de ne plus charger ce fichier.
   ========================================================================== */

:root {
  --fx-ink: #0C0D0F;
  --fx-ink-2: #16181C;
  --fx-paper: #F4F3EF;
  --fx-orange: #FF6600;
  --fx-orange-soft: #FF8A3D;
  --fx-glow: rgba(255, 102, 0, 0.35);
  --fx-line: rgba(12, 13, 15, 0.10);
  --fx-line-strong: rgba(12, 13, 15, 0.22);
  --fx-glass: rgba(255, 255, 255, 0.62);
  --fx-glass-strong: rgba(255, 255, 255, 0.82);
  --fx-muted: rgba(12, 13, 15, 0.58);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --fx-radius-sm: 10px;
  --fx-radius: 18px;
  --fx-radius-lg: 28px;
  --fx-chamfer: 12px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* --------------------------------------------------------------------------
   Fond : papier millimétré + halo orange, fixés derrière toute la page
   -------------------------------------------------------------------------- */
body {
  background-color: var(--fx-paper);
  color: var(--fx-ink);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(var(--fx-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--fx-line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

body::after {
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(255, 102, 0, 0.16), transparent 70%),
    radial-gradient(500px 360px at -5% 60%, rgba(255, 138, 61, 0.10), transparent 70%);
}

::selection {
  background: var(--fx-orange);
  color: #FFFFFF;
}

a {
  transition: color 150ms ease;
}

/* Les sections laissent voir le fond commun au lieu d'empiler leurs grilles */
.hero-section,
.bg-light {
  background: transparent;
}

.bg-light {
  border-top: 1px solid var(--fx-line);
  border-bottom: 1px solid var(--fx-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4,
.hero-title,
.intro-headline,
.engagement-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.intro-headline {
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 0.98;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
}

.hero-desc {
  color: var(--fx-muted);
  opacity: 1;
}

/* Étiquette HUD : voyant lumineux + texte mono espacé */
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--fx-ink);
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border: 1px solid var(--fx-line-strong);
  border-radius: 999px;
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tech-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18), 0 0 10px var(--fx-glow);
  opacity: 1;
  flex-shrink: 0;
  animation: fxBeacon 2.4s ease-in-out infinite;
}

@keyframes fxBeacon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* --------------------------------------------------------------------------
   En-tête : barre flottante en verre dépoli
   -------------------------------------------------------------------------- */
.site-header {
  background: transparent;
  border-bottom: 0;
  padding: 0.85rem 1rem;
  top: 0;
}

.site-header .container {
  max-width: calc(var(--container-width) - 1rem);
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 30px rgba(12, 13, 15, 0.06);
  transition: box-shadow 250ms var(--ease-out), background-color 250ms ease;
}

/* Connecté à WordPress : la barre d'administration occupe le haut de l'écran */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  /* Sous 600px, la barre d'administration défile avec la page */
  .admin-bar .site-header {
    top: 0;
  }
}

.site-header.is-scrolled .container {
  background: var(--fx-glass-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 14px 40px rgba(12, 13, 15, 0.12);
}

/* Logo détouré (logo-transparent.png) : il se pose directement sur le verre */
.site-branding img {
  max-height: 34px !important;
  width: auto;
  height: auto;
}

.main-nav ul {
  gap: 0.25rem;
  counter-reset: fxnav;
}

.main-nav li {
  counter-increment: fxnav;
}

.main-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}

.main-nav a::before {
  content: counter(fxnav, decimal-leading-zero);
  font-size: 0.6rem;
  color: var(--fx-orange);
  opacity: 0.9;
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    color: var(--fx-ink);
    background: rgba(12, 13, 15, 0.06);
  }
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: var(--fx-ink);
  color: #FFFFFF;
}

/* Panier : pastille sombre avec compteur lumineux */
.cart-customlocation {
  width: 44px;
  height: 44px;
  justify-content: center;
  border-radius: 50%;
  background: var(--fx-ink);
  color: #FFFFFF;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}

.cart-customlocation:hover {
  color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
  .cart-customlocation:hover {
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.18), 0 0 18px var(--fx-glow);
  }
}

.cart-customlocation:active {
  transform: scale(0.95);
}

.cart-icon {
  display: inline-flex;
  font-size: 1rem;
}

.cart-icon svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  box-shadow: 0 0 0 2px var(--fx-paper), 0 0 10px var(--fx-glow);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background-color: var(--fx-ink);
}

@media (max-width: 768px) {
  .site-header .container {
    border-radius: var(--fx-radius);
    padding: 0.45rem 0.5rem 0.45rem 1rem;
  }

  .main-nav {
    top: calc(100% - 0.25rem);
    left: 1rem;
    right: 1rem;
    width: auto;
    padding: 0.75rem;
    background: var(--fx-glass-strong);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius);
    box-shadow: 0 20px 50px rgba(12, 13, 15, 0.15);
  }

  .main-nav ul {
    gap: 0.25rem;
    align-items: stretch;
  }

  .main-nav a {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   Boutons : coins biseautés, lueur orange, flèche qui glisse
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  gap: 0.75rem;
  padding: 1.05rem 1.6rem 1.05rem 1.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 0;
  border-radius: 0;
  clip-path: polygon(var(--fx-chamfer) 0, 100% 0, 100% calc(100% - var(--fx-chamfer)), calc(100% - var(--fx-chamfer)) 100%, 0 100%, 0 var(--fx-chamfer));
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400);
  color: #FFFFFF !important;
  box-shadow: none;
  transition: transform 160ms var(--ease-out), filter 200ms ease;
}

.btn::after {
  content: '→';
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400);
    color: #FFFFFF !important;
    box-shadow: none;
    filter: brightness(1.08) drop-shadow(0 0 14px var(--fx-glow));
  }

  .btn:hover::after {
    transform: translateX(4px);
  }
}

.btn:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: var(--fx-ink);
  color: #FFFFFF !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: var(--fx-ink-2);
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 14px rgba(12, 13, 15, 0.25));
  }
}

/* Boutons WooCommerce (pages classiques) */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce button.button,
.woocommerce a.button {
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em !important;
  border-radius: 0 !important;
  clip-path: polygon(var(--fx-chamfer) 0, 100% 0, 100% calc(100% - var(--fx-chamfer)), calc(100% - var(--fx-chamfer)) 100%, 0 100%, 0 var(--fx-chamfer));
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400) !important;
  transition: transform 160ms var(--ease-out), filter 200ms ease !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400) !important;
  transform: none !important;
  filter: brightness(1.08) drop-shadow(0 0 14px var(--fx-glow));
}

.woocommerce button.button:active,
.woocommerce a.button:active {
  transform: scale(0.97) !important;
}

/* Boutons des blocs Panier / Commande */
.wc-block-components-button:not(.is-link) {
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--fx-radius-sm) !important;
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  transition: transform 160ms var(--ease-out), filter 200ms ease;
}

.wc-block-components-button:not(.is-link):hover {
  filter: brightness(1.08) drop-shadow(0 0 14px var(--fx-glow));
}

.wc-block-components-button:not(.is-link):active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   Repères d'angle HUD (réutilisés sur l'accueil et les visuels)
   -------------------------------------------------------------------------- */
.intro-section .container,
.organic-image-wrapper,
.carousel-wrapper {
  position: relative;
}

.intro-section .container::after,
.organic-image-wrapper::before,
.carousel-wrapper::before {
  --c: var(--fx-orange);
  --l: 20px;
  --t: 2px;
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 3;
  border: 0;
  opacity: 1;
  width: auto;
  height: auto;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
}

.intro-section .container::after {
  inset: -1.5rem 0;
  --c: var(--fx-line-strong);
  --l: 28px;
  --t: 1px;
}

/* --------------------------------------------------------------------------
   Accueil : intro
   -------------------------------------------------------------------------- */
.intro-section {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: visible;
}

/* Halo lumineux derrière le grand titre */
.intro-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(720px, 90vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 102, 0, 0.22) 0%, rgba(255, 138, 61, 0.08) 38%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
  animation: fxDrift 14s ease-in-out infinite alternate;
}

@keyframes fxDrift {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-46%, -54%) scale(1.08); }
}

.intro-desc {
  font-size: 1.15rem;
  color: var(--fx-muted);
}

/* Barre de données : trois cellules en verre */
.intro-stats {
  gap: 0;
  margin-top: 2.75rem;
  display: inline-flex;
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius);
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.intro-stat-sep {
  display: none;
}

.intro-stat {
  padding: 1.1rem 2rem;
  gap: 0.45rem;
  border-right: 1px solid var(--fx-line);
}

.intro-stat:last-child {
  border-right: 0;
}

.intro-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fx-ink);
}

.intro-stat:first-child .intro-stat-value {
  color: var(--fx-orange);
  text-shadow: 0 0 22px var(--fx-glow);
}

.intro-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Visuels : panneau de verre avec ligne de balayage
   -------------------------------------------------------------------------- */
.organic-image-wrapper,
.carousel-wrapper {
  padding: 12px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg);
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(12, 13, 15, 0.25);
}

.organic-shape,
.organic-shape.shape-technical {
  border-radius: calc(var(--fx-radius-lg) - 10px) !important;
  animation: none;
  background: var(--fx-ink-2);
  position: relative;
}

.organic-shape img,
.shape-technical img {
  border-radius: 0;
}

/* Les repères d'angle de ::before suffisent : on neutralise l'ancien repère de ::after */
.organic-image-wrapper::after,
.carousel-wrapper::after {
  content: none;
}

.organic-image-wrapper,
.carousel-wrapper .css-carousel {
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
}

/* Le panneau coupe ce qui dépasse : les repères d'angle se placent à l'intérieur */
.organic-image-wrapper::before,
.carousel-wrapper::before {
  inset: 4px;
}

.carousel-slide .organic-shape {
  width: 100%;
}

.carousel-hint {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  padding-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   Bandeau "Fabriqué en France" : panneau sombre lumineux
   -------------------------------------------------------------------------- */
.section-engagement {
  position: relative;
  overflow: hidden;
  background: var(--fx-ink);
  border-top: 0;
  border-bottom: 0;
  padding: 6rem 0;
  isolation: isolate;
}

.section-engagement::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 100%);
}

.section-engagement::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 102, 0, 0.45), transparent 65%);
  filter: blur(20px);
}

.engagement-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.engagement-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto;
}

.btn-engagement {
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400) !important;
  color: #FFFFFF !important;
}

.btn-engagement:hover {
  background: linear-gradient(135deg, var(--fx-orange-soft), var(--fx-orange) 55%, #E65400) !important;
  color: #FFFFFF !important;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Notice de montage : planche claire posée sur un écran sombre
   -------------------------------------------------------------------------- */
.blueprint-section {
  position: relative;
  background-color: var(--fx-ink);
  background-image:
    radial-gradient(700px 360px at 50% 0%, rgba(255, 102, 0, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  border-top: 1px solid rgba(255, 102, 0, 0.6);
  border-bottom: 0;
  box-shadow: 0 -1px 24px rgba(255, 102, 0, 0.25);
  padding: 5rem 0;
}

.blueprint-header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.blueprint-desc {
  color: rgba(255, 255, 255, 0.65);
}

.technical-sheet-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--fx-radius);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 30px 80px -20px rgba(255, 102, 0, 0.35);
  transition: box-shadow 300ms ease;
}

.technical-sheet-card:hover {
  transform: none;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 30px 90px -20px rgba(255, 102, 0, 0.45);
}

.hero-content h2:not(.hero-title) {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.btn-blueprint {
  border-radius: 999px;
  color: var(--fx-orange) !important;
  border: 1px solid rgba(255, 102, 0, 0.6);
  transition: background-color 150ms ease, color 150ms ease;
}

.btn-blueprint:hover {
  background-color: var(--fx-orange);
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */
.product-specs {
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-line-strong);
  border-left: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius);
  padding: 0.35rem 1.25rem;
}

.product-specs li,
.product-specs li.spec-item {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--fx-line-strong);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--fx-muted);
  gap: 0.75rem;
}

.product-specs li:last-child {
  border-bottom: 0;
}

.product-specs li strong,
.product-specs .spec-label {
  flex-shrink: 0;
  width: 110px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-orange);
  padding-top: 0.2rem;
}

.product-price-pop,
.woocommerce .product p.price,
.woocommerce .product span.price {
  font-family: var(--font-display) !important;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 2rem !important;
  color: var(--fx-ink) !important;
}

.woocommerce .product .product_title {
  font-family: var(--font-display);
  font-weight: 600;
}

.woocommerce .product form.cart {
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius);
  padding: 1.4rem;
}

.woocommerce .product form.cart .variations td.label,
.woocommerce .product form.cart .variations th.label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.woocommerce .product form.cart .quantity input.qty {
  height: 52px;
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius-sm);
  background: #FFFFFF;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce .product form.cart .quantity input.qty:focus {
  border-color: var(--fx-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18);
  outline: none;
}

.woocommerce .product form.cart .reset_variations {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

/* Pastilles de couleur : anneau lumineux */
.color-swatch {
  border: 3px solid var(--fx-paper);
  box-shadow: 0 0 0 1px var(--fx-line-strong), 0 4px 12px rgba(12, 13, 15, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .color-swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--fx-orange), 0 6px 14px rgba(12, 13, 15, 0.18);
  }
}

.color-swatch:not(:hover) {
  transform: none;
}

.color-swatch.is-active {
  transform: none;
  box-shadow: 0 0 0 2px var(--fx-orange), 0 0 0 6px rgba(255, 102, 0, 0.15), 0 0 20px var(--fx-glow);
}

.color-swatch::after {
  background: var(--fx-ink);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.color-swatch::before {
  border-top-color: var(--fx-ink);
}

/* --------------------------------------------------------------------------
   Boutique, panier, commande
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product {
  padding: 12px 12px 1.25rem !important;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg);
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 200ms ease;
}

.woocommerce ul.products li.product:hover {
  transform: none;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: 0 24px 50px -24px rgba(255, 102, 0, 0.45);
  }
}

.woocommerce ul.products li.product a img {
  border-radius: calc(var(--fx-radius-lg) - 10px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.woocommerce ul.products li.product .price {
  color: var(--fx-ink) !important;
}

.woocommerce table.shop_table {
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius);
  background: var(--fx-glass);
}

.woocommerce table.shop_table th {
  background: var(--fx-ink);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.woocommerce table.shop_table td {
  border-top-color: var(--fx-line);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select,
.woocommerce table.shop_table td.actions .coupon .input-text {
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius-sm);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--fx-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18);
}

.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control input,
.wc-block-components-select select {
  border-radius: var(--fx-radius-sm) !important;
}

.wc-block-components-text-input input:focus {
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18) !important;
  border-color: var(--fx-orange) !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--fx-radius-sm);
  background: var(--fx-glass-strong);
}

/* --------------------------------------------------------------------------
   Pages Curiosités, À propos, légales
   -------------------------------------------------------------------------- */
.curiosity-card {
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius-lg);
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.curiosity-card.highlight {
  border-color: rgba(255, 102, 0, 0.5);
  background: linear-gradient(160deg, rgba(255, 102, 0, 0.10), rgba(255, 255, 255, 0.6));
  box-shadow: 0 24px 60px -30px rgba(255, 102, 0, 0.5);
}

/* Article mis en avant : photo verticale au format 4:5 */
.curiosity-feature {
  margin-top: 3rem;
}

.curiosity-feature .organic-shape {
  aspect-ratio: 4 / 5;
}

.legal-content h2 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fx-line);
}

.legal-content p {
  color: var(--fx-muted);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--fx-ink);
  padding: 4rem 0 2rem;
  text-align: left;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fx-orange), transparent);
  box-shadow: 0 0 18px var(--fx-glow);
}

.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-copy,
.footer-legal-nav,
.footer-slogan {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Apparition au défilement (classe posée par sidelab.js)
   -------------------------------------------------------------------------- */
.fx-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}

.fx-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out),
    filter 700ms var(--ease-out);
  transition-delay: calc(var(--fx-i, 0) * 70ms);
}

/* Barre de défilement */
::-webkit-scrollbar-track {
  background: var(--fx-paper);
}

/* --------------------------------------------------------------------------
   Mouvement réduit : on garde les fondus, on retire les déplacements
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .tech-label::before,
  .intro-section::before {
    animation: none !important;
  }

  .fx-reveal {
    transform: none;
    filter: none;
  }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .intro-section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .intro-section .container::after {
    display: none;
  }

  .intro-stats {
    display: flex;
    width: 100%;
  }

  .intro-stat {
    flex: 1;
    padding: 0.9rem 0.5rem;
  }

  .intro-stat-value {
    font-size: 1.5rem;
  }

  .intro-stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .section-engagement {
    padding: 4rem 0;
  }

  .product-specs li strong,
  .product-specs .spec-label {
    width: auto;
  }
}
