/* GFD — design « Nuit GFD » : bleu nuit + or du logo. Photos produits originales, sans détourage. */
/* Polices hébergées sur le site (licence SIL Open Font) : aucun appel externe. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --night: #051A2E;
  --deep: #02101E;
  --navy: #033461;
  --card: #0B2743;
  --card-2: #0E2E4E;
  --gold: #E3AA3B;
  --gold-soft: #F3D28A;
  --ink: #F3F6FA;
  --text: #D3DDE8;
  --muted: #A9B9CB;
  --dim: #7F93A8;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.16);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: Manrope, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --page: min(1320px, calc(100% - 64px));
  --ease: cubic-bezier(.2,.75,.25,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--night); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--night); overflow-x: clip; line-height: 1.5; }
body.dialog-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--night); }

/* Lumières d'ambiance */
.ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ambient i { position: absolute; border-radius: 50%; }
.ambient .a1 { top: -380px; right: -340px; width: 1200px; height: 1200px; background: radial-gradient(circle, rgba(227,170,59,.26), rgba(227,170,59,.08) 36%, rgba(227,170,59,0) 66%); animation: drift 14s ease-in-out infinite alternate; }
.ambient .a2 { top: 300px; left: -420px; width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(40,110,195,.30), rgba(40,110,195,0) 62%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(4%,5%) scale(1.1); } }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px max(32px, calc((100% - 1320px) / 2)); background: rgba(5,26,46,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: background .3s; }
.topbar.is-scrolled { background: rgba(3,16,30,.92); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 84px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); line-height: 1.5; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 600; }
.main-nav > a, .products-menu-toggle { text-decoration: none; padding: 8px 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: color .25s; }
.main-nav > a:hover, .products-menu-toggle:hover, .products-menu-toggle[aria-expanded="true"] { color: var(--gold); }
.products-menu-toggle svg { width: 13px; height: 13px; transition: transform .3s; }
.products-menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-products { position: relative; }
.search-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; }
.search-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.search-toggle svg { width: 19px; height: 19px; }

/* Menu Produits */
.products-menu { position: fixed; top: 82px; right: max(24px, calc((100% - 1320px) / 2)); width: min(880px, calc(100vw - 48px)); max-height: calc(100dvh - 110px); overflow: auto; padding: 22px; border-radius: 24px; background: #082038; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: menuIn .25s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.products-menu-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.products-menu-head span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.products-menu-head strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.products-menu-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.products-menu-columns { display: flex; gap: 14px; overflow-x: auto; }
.products-menu-column { flex: 1; min-width: 220px; }
.products-menu-column h3 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.products-menu-list { display: flex; flex-direction: column; gap: 4px; }
.products-menu-item, .products-menu-all { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.products-menu-item:hover, .products-menu-item.is-selected { background: rgba(227,170,59,.14); color: var(--gold-soft); }
.products-menu-item span:first-child { flex: 1; }
.products-menu-item small { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.menu-chevron { color: var(--gold); font-size: 18px; }
.products-menu-all { background: var(--gold); color: var(--night); font-weight: 700; margin-bottom: 6px; }
.products-menu-all:hover { background: var(--gold-soft); }

/* Recherche */
.search-panel { position: sticky; top: 75px; z-index: 40; display: flex; gap: 12px; align-items: center; padding: 14px max(32px, calc((100% - 1320px) / 2)); background: rgba(3,16,30,.95); border-bottom: 1px solid var(--line); }
.search-panel input { flex: 1; height: 50px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); padding: 0 22px; font: 500 15px var(--body); }
.search-panel a { padding: 14px 20px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Héros : animation F */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 40px; }
.f-stage { --h0: 545px; --h1: 510px; --s: 1; position: relative; z-index: 1; height: var(--h0); perspective: 1300px; perspective-origin: 50% 45%; cursor: crosshair; animation: fStageH 16s cubic-bezier(.65,0,.25,1) forwards; }
@keyframes fStageH { 0%,42% { height: var(--h0); } 50%,100% { height: var(--h1); } }
.f-fit { position: absolute; left: 0; right: 0; top: 0; height: 580px; transform: scale(var(--s)); transform-origin: 50% 0; perspective: 1300px; perspective-origin: 50% 45%; }
.f-spot { position: absolute; left: 50%; top: 278px; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,140,.16), rgba(255,215,140,0) 60%); pointer-events: none; transition: left .35s ease-out, top .35s ease-out; }
.f-glow { position: absolute; left: 50%; top: 278px; width: 1100px; height: 700px; margin: -350px 0 0 -550px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(227,170,59,.36), rgba(227,170,59,.08) 42%, rgba(227,170,59,0) 68%); filter: blur(12px); pointer-events: none; animation: fGlowIn 16s ease-in-out forwards, fBreathe 4.5s ease-in-out 12s infinite alternate; }
@keyframes fGlowIn { 0%,14% { opacity: .12; transform: scale(.8); } 24%,40% { opacity: 1; transform: scale(1.05); } 45% { opacity: .5; transform: scale(.9); } 52%,100% { opacity: 1; transform: scale(1.08); } }
@keyframes fBreathe { from { opacity: 1; transform: scale(1.08); } to { opacity: .72; transform: scale(.97); } }
.f-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s ease-out; pointer-events: none; }
.f-floaty { position: absolute; inset: 0; transform-style: preserve-3d; animation: fFloaty 9s ease-in-out 12s infinite alternate; }
@keyframes fFloaty { 0% { transform: rotateY(0deg) rotateX(0deg) translateY(0); } 50% { transform: rotateY(7deg) rotateX(-2deg) translateY(-8px); } 100% { transform: rotateY(-7deg) rotateX(2deg) translateY(5px); } }
.f-shrink { position: absolute; inset: 0; transform-style: preserve-3d; animation: fShrink 16s cubic-bezier(.65,0,.25,1) forwards; }
@keyframes fShrink { 0%,42% { transform: translateY(0) scale(1); } 50%,100% { transform: translateY(-60px) scale(.8); } }
.f-logo { position: absolute; left: 50%; top: 278px; width: 0; height: 0; transform-style: preserve-3d; animation: fApproach 16s ease-in-out forwards; }
@keyframes fApproach { 0% { transform: rotateY(-16deg) rotateX(8deg) translateZ(-200px); } 24% { transform: rotateY(-6deg) rotateX(2deg) translateZ(0); } 45% { transform: rotateY(10deg) rotateX(-3deg) translateZ(40px); } 70%,100% { transform: rotateY(0deg) rotateX(0deg) translateZ(0); } }
.px { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; transform-style: preserve-3d; opacity: 0; }
.fc { display: block; width: 100%; height: 100%; border-radius: 10px; padding: 3px; background: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.4); }
.px.g .fc { background: var(--gold); box-shadow: 0 12px 26px rgba(0,0,0,.4), 0 0 22px rgba(227,170,59,.55); }
.fc img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; background: #fff; }
@keyframes fAssemble { 0% { opacity: 0; transform: translate3d(var(--sx),var(--sy),var(--sz)) rotateX(var(--rx)) rotateY(var(--ry)) scale(.5); } 6% { opacity: 1; } 22%,100% { opacity: 1; transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg) scale(1); } }
@keyframes fFlip { 0%,27% { transform: rotateX(0deg) translateZ(0) scale(1); } 31% { transform: rotateX(180deg) translateZ(0) scale(1); } 34%,100% { transform: rotateX(360deg) translateZ(0) scale(1); } }
@keyframes fRipple { 0%,78% { transform: rotateX(360deg) translateZ(0) scale(1); } 88% { transform: rotateX(360deg) translateZ(60px) scale(1.6); } 96%,100% { transform: rotateX(360deg) translateZ(0) scale(1); } }
.f-shock { position: absolute; left: 50%; top: 278px; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 50%; border: 2px solid rgba(255,215,140,.85); box-shadow: 0 0 40px rgba(227,170,59,.6), inset 0 0 40px rgba(227,170,59,.4); opacity: 0; pointer-events: none; animation: fShock 16s ease-out forwards; }
.f-shock.s2 { border-color: rgba(127,182,240,.7); box-shadow: 0 0 40px rgba(127,182,240,.4); animation-delay: .18s; }
@keyframes fShock { 0%,21% { opacity: 0; transform: scale(.2); } 22% { opacity: 1; transform: scale(.3); } 30% { opacity: 0; transform: scale(3.2); } 49% { opacity: 0; transform: scale(.2); } 50% { opacity: 1; transform: scale(.3); } 58%,100% { opacity: 0; transform: scale(3.2); } }
.f-spark { position: absolute; left: 50%; top: 278px; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%; background: #FFE3A6; box-shadow: 0 0 14px 4px rgba(255,205,105,.9); opacity: 0; pointer-events: none; }
@keyframes fBurst { 0%,21% { opacity: 0; transform: translate(0,0) scale(1); } 22% { opacity: 1; transform: translate(0,0) scale(1.4); } 32% { opacity: 0; transform: translate(var(--dx),var(--dy)) scale(.4); } 49% { opacity: 0; transform: translate(0,0) scale(1); } 50% { opacity: 1; transform: translate(0,0) scale(1.4); } 60%,100% { opacity: 0; transform: translate(calc(var(--dx) * -1),var(--dy)) scale(.4); } }
.f-sweep { position: absolute; left: 50%; top: 278px; width: 260px; height: 520px; margin: -260px 0 0 -130px; background: linear-gradient(90deg, rgba(255,226,160,0), rgba(255,226,160,.22), rgba(255,226,160,0)); filter: blur(10px); opacity: 0; pointer-events: none; animation: fSweepIn 16s ease-in-out forwards, fSweepLoop 7s ease-in-out 16s infinite; }
@keyframes fSweepIn { 0%,24% { opacity: 0; transform: translateX(-640px) skewX(-18deg); } 27% { opacity: 1; } 37% { opacity: 1; transform: translateX(640px) skewX(-18deg); } 38%,54% { opacity: 0; transform: translateX(-640px) skewX(-18deg); } 57% { opacity: 1; } 67% { opacity: 1; transform: translateX(640px) skewX(-18deg); } 68%,100% { opacity: 0; transform: translateX(640px) skewX(-18deg); } }
@keyframes fSweepLoop { 0% { opacity: 0; transform: translateX(-640px) skewX(-18deg); } 8% { opacity: .6; } 32% { opacity: .6; transform: translateX(640px) skewX(-18deg); } 34%,100% { opacity: 0; transform: translateX(640px) skewX(-18deg); } }
.f-words { position: absolute; left: -600px; right: -600px; top: 420px; text-align: center; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 76px; letter-spacing: -.03em; line-height: 1; perspective: 800px; pointer-events: none; animation: fWordsFloat 6s ease-in-out 12s infinite alternate; }
@keyframes fWordsFloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.f-words .l { display: inline-block; opacity: 0; text-shadow: 0 8px 40px rgba(2,14,26,.9); animation: fLetterIn 16s cubic-bezier(.2,.8,.2,1) forwards; }
.f-words .sp { display: inline-block; width: .32em; }
.f-words .gold { color: var(--gold); animation: fLetterIn 16s cubic-bezier(.2,.8,.2,1) forwards, fGoldPulse 2.6s ease-in-out infinite alternate; }
@keyframes fLetterIn { 0%,46% { opacity: 0; transform: translateY(50px) rotateX(-90deg); } 52%,100% { opacity: 1; transform: translateY(0) rotateX(0deg); } }
@keyframes fGoldPulse { from { text-shadow: 0 0 18px rgba(227,170,59,.35); } to { text-shadow: 0 0 40px rgba(255,205,105,.85); } }
.f-cap { position: absolute; left: 0; right: 0; top: 492px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .3em; color: var(--gold); opacity: 0; pointer-events: none; animation: fCap 16s ease-in-out forwards; }
@keyframes fCap { 0%,20% { opacity: 0; letter-spacing: .6em; } 25%,40% { opacity: 1; letter-spacing: .3em; } 44%,100% { opacity: 0; letter-spacing: .3em; } }

/* L'animation attend que la page soit prête (polices + images) avant de démarrer, pour éviter les saccades */
.f-stage:not(.is-ready), .f-stage:not(.is-ready) * { animation-play-state: paused !important; }
.f-stage:not(.is-ready) .f-glow { opacity: 0; }
.px, .fc { will-change: transform, opacity; backface-visibility: hidden; }
/* Les tuiles sont placées à leur point de départ dès le chargement : rien n'apparaît d'un coup au démarrage */
.f-words .l { animation-fill-mode: both !important; }
/* Les tuiles et étincelles sont animées par le script (plus fiable sur iPhone que les variables CSS dans les animations) */

/* Texte du héros */
.content { position: relative; z-index: 2; width: min(980px, calc(100% - 64px)); margin: 0 auto; text-align: center; padding-top: 0; }
.eyebrow { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.eyebrow .dot { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.content h1 { margin: 24px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7vw, 92px); line-height: .92; letter-spacing: -.045em; }
.content h1 span { display: inline; }
.content h1 .headline-accent { color: var(--gold); }
.content h1 .headline-accent::before { content: " "; }
.content h1 .headline-accent::after { content: "."; }
.intro { margin: 26px auto 0; max-width: 700px; font-size: 20px; line-height: 1.6; color: var(--text); }
.promise { margin: 14px auto 0; max-width: 700px; font-size: 15px; color: var(--muted); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 19px 30px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s; }
.button { background: var(--gold); color: var(--night); }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(227,170,59,.3); }
.ghost-button { border: 1px solid var(--line-2); background: rgba(5,26,46,.6); color: var(--ink); font-weight: 600; }
.ghost-button:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.stats { position: relative; z-index: 2; width: var(--page); margin: 70px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 26px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats strong { display: block; font-family: var(--display); font-weight: 700; font-size: 44px; letter-spacing: -.03em; }
.stats span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { position: relative; padding: 80px 0; }
.section-inner { width: var(--page); margin: 0 auto; }
.section-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.05; }
.section-heading .num { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--gold); letter-spacing: .1em; margin-right: 16px; vertical-align: middle; }
.section-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.products-heading { align-items: flex-end; }
.products-heading::after { display: none; }
.products-heading > div { flex: 1; }
.eyebrow-dark { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.family-filter-status { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.outline-link { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); font: 700 13px var(--body); letter-spacing: .06em; cursor: pointer; text-decoration: none; transition: background .25s, border-color .25s, color .25s; }
.outline-link:hover { background: rgba(227,170,59,.14); border-color: rgba(227,170,59,.6); color: var(--gold-soft); }
.catalog-load-more { display: flex; margin: 40px auto 0; }

/* Familles */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.category-card { display: grid; grid-template-columns: 96px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 18px; row-gap: 6px; align-items: center; align-content: center; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: rgba(11,39,67,.78); text-decoration: none; transition: transform .35s var(--ease), border-color .35s; }
.category-card > .category-step-art, .category-card > .category-icon { grid-row: 1 / span 2; }
.category-card > strong { align-self: end; }
.category-card > .category-count { align-self: start; }
.category-card:hover, .category-card.is-active { transform: translateY(-4px); border-color: rgba(227,170,59,.6); }
.category-step-art, .category-icon { flex: 0 0 96px; height: 96px; border-radius: 16px; background: #F2F5F9; display: grid; place-items: center; overflow: hidden; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 26px; }
.category-step-art img, .category-icon img { width: 84px; height: 84px; object-fit: contain; }
.category-card strong { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.category-card > strong { min-width: 0; overflow-wrap: break-word; }
.category-count { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gold); white-space: nowrap; }

/* Bandeau de catégorie (navigation dans les familles) */
.catalog-route-banner { margin-bottom: 36px; }
.catalog-route-title { margin: 14px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; }
.catalog-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.catalog-breadcrumb button { border: 0; background: none; padding: 4px 0; color: var(--muted); cursor: pointer; letter-spacing: inherit; text-transform: inherit; font: inherit; }
.catalog-breadcrumb button:hover { color: var(--ink); }
.catalog-breadcrumb button[aria-current="page"] { color: var(--gold); }
.crumb-separator { color: var(--dim); }

/* Catalogue */
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.product-search { flex: 1 1 320px; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); padding: 0 22px; font: 500 15px var(--body); }
.product-search::placeholder, .search-panel input::placeholder { color: var(--dim); }
.filter-status { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); text-decoration: none; transform: perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.product-card:hover { border-color: rgba(227,170,59,.6); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.product-art { height: 220px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; box-sizing: border-box; }
.product-photo { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.catalog-no-image { font-family: var(--mono); font-size: 12px; color: #6B7B8B; }
.product-details { padding: 16px 18px 20px; }
.product-details h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.product-details p { margin: 8px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.catalog-empty { margin: 30px 0 0; text-align: center; color: var(--muted); }
.catalog-enter { animation: catalogIn .5s var(--ease) both; animation-delay: var(--catalog-delay, 0ms); }
@keyframes catalogIn { from { opacity: 0; transform: translateY(14px); } }

/* Aperçu (conservé pour le script, masqué) */
.preview-grid { display: none; }

/* Promotions */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.promo-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; display: grid; place-items: center; }
.promo-card img { display: block; width: 100%; height: 440px; object-fit: contain; }

/* Pourquoi GFD */
.why-row { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 32px 0 32px 28px; border-bottom: 1px solid var(--line); transition: background .3s; }
.why-row:hover { background: rgba(255,255,255,.025); }
.why-row::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--gold); transition: height .35s; }
.why-row:hover::before { height: 100%; }
.why-row .n { flex: 0 0 110px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--gold); }
.why-row h3 { flex: 1 1 320px; margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.025em; }
.why-row p { flex: 1 1 360px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Contact WhatsApp */
.contact-strip { position: relative; width: var(--page); margin: 40px auto 90px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 56px; border-radius: 32px; border: 1px solid var(--line-2); background: rgba(11,39,67,.72); }
.contact-intro { flex: 1 1 420px; min-width: 0; display: flex; gap: 26px; align-items: flex-start; }
.contact-icon { flex: 0 0 72px; width: 72px; height: 72px; padding: 18px; border-radius: 22px; background: rgba(227,170,59,.14); border: 1px solid rgba(227,170,59,.4); color: var(--gold); }
.contact-intro h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.04; letter-spacing: -.035em; }
.contact-intro h2 em { font-style: normal; color: var(--gold); }
.contact-intro p { margin: 16px 0 0; font-size: 18px; color: var(--text); }
.contact-actions { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.whatsapp-link { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 22px; background: #fff; color: var(--night); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.whatsapp-link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37,211,102,.25); }
.whatsapp-link svg { flex: 0 0 52px; width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: #25D366; color: #fff; }
.whatsapp-link span { flex: 1; font-weight: 700; font-size: 17px; line-height: 1.35; }
.whatsapp-link span small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: #5A6B7D; }

/* Pied de page */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 44px 0 30px; background: rgba(2,16,30,.5); }
.footer-inner { width: var(--page); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.footer-nav a, .site-footer a { text-decoration: none; }
.footer-nav a:hover, .site-footer a:hover { color: var(--gold); }
.contact-footer { margin-top: 34px; align-items: flex-start; }
.contact-footer h2 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact-footer address { font-style: normal; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.footer-map { display: inline-flex; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line-2); }
.footer-map span { display: flex; align-items: center; gap: 10px; }
.footer-map svg { width: 18px; height: 18px; color: var(--gold); }
.site-footer small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font-weight: 800; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Fiche produit */
.product-dialog-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2,10,20,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.product-dialog { position: relative; width: min(980px, 100%); max-height: 90dvh; overflow-y: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; padding: 40px; border-radius: 28px; background: var(--night); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: menuIn .3s var(--ease); }
.product-dialog-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 24px; line-height: 1; cursor: pointer; }
.product-dialog-image { background: #fff; border-radius: 22px; padding: 22px; align-self: start; min-width: 0; }
.product-dialog-image > img { display: block; width: 100%; height: 400px; object-fit: contain; }
#product-gallery { display: flex; gap: 8px; overflow: auto; margin-top: 14px; }
#product-gallery button { flex-shrink: 0; border: 1px solid #DCE4EC; border-radius: 10px; background: #fff; padding: 5px; cursor: pointer; }
#product-gallery img { width: 48px; height: 48px; object-fit: contain; }
.product-dialog-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.product-dialog-copy h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: -.035em; overflow-wrap: anywhere; }
#product-dialog-description { margin: 20px 0 0; color: var(--text); font-size: 16px; line-height: 1.7; white-space: pre-line; }
.product-dialog-meta { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.product-dialog-link { margin-top: 28px; align-self: flex-start; }

/* Apparitions au défilement */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-motion-item] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--motion-delay, 0ms); }
[data-motion-item].is-inview { opacity: 1; transform: none; }
.category-card[data-motion-item].is-inview:hover { transform: translateY(-4px); }

/* Navigation dans le catalogue : le héros laisse la place */
.catalog-route .hero, .catalog-route #nouveautes, .catalog-route #promotions, .catalog-route #contact, .catalog-route #pourquoi, .catalog-route #aperçu { display: none; }
.catalog-route .categories-section, .catalog-route .products-section { opacity: 1; transform: none; }
.catalog-route .section { padding-top: 44px; }


/* Jeu de lumières en fond, sur tout le site : elles flottent et glissent au défilement */
.site-lights { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.site-lights > span { position: absolute; display: block; will-change: transform; transform: translate3d(0, calc(var(--sy, 0) * var(--k) * 1px), 0); }
.site-lights > span > b { display: block; width: 100%; height: 100%; border-radius: 50%; animation: lightDrift var(--t, 16s) ease-in-out infinite alternate; }
.site-lights .gold > b { background: radial-gradient(circle, rgba(227,170,59,.44), rgba(227,170,59,.14) 40%, rgba(227,170,59,0) 68%); }
.site-lights .blue > b { background: radial-gradient(circle, rgba(40,110,195,.48), rgba(40,110,195,.15) 42%, rgba(40,110,195,0) 68%); }
.site-lights .warm > b { background: radial-gradient(circle, rgba(255,205,105,.30), rgba(255,205,105,.06) 38%, rgba(255,205,105,0) 64%); }
@keyframes lightDrift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%,-6%) scale(1.12); } 100% { transform: translate(-6%,7%) scale(.94); } }
.topbar { z-index: 50; }
.hero, .section, .contact-strip, .site-footer, .search-panel { position: relative; z-index: 1; }
.search-panel { position: sticky; z-index: 40; }
@media (max-width: 560px) { .site-lights > span { scale: .6; } }

/* Étoiles filantes en fond : des traits lumineux dorés qui traversent l'écran régulièrement */
.shooting-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shooting-stars i { position: absolute; display: block; width: 0; height: 0; transform: rotate(26deg); }
.shooting-stars b { position: absolute; left: 0; top: -1px; display: block; width: 240px; height: 2.5px; border-radius: 3px; background: linear-gradient(90deg, rgba(255,226,160,0), rgba(255,226,160,.55) 55%, rgba(255,246,222,1)); box-shadow: 0 0 8px rgba(255,214,140,.55); opacity: 0; animation: shootingStar 9s linear infinite; will-change: transform, opacity; }
.shooting-stars b::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #FFF8E8; box-shadow: 0 0 14px 5px rgba(255,214,140,.9), 0 0 30px 10px rgba(227,170,59,.35); }
@keyframes shootingStar { 0% { opacity: 0; transform: translateX(0) scaleX(.3); } 1.5% { opacity: 1; } 9% { opacity: 1; } 12% { opacity: 0; transform: translateX(900px) scaleX(1); } 100% { opacity: 0; transform: translateX(900px) scaleX(1); } }
@media (max-width: 560px) { .shooting-stars i:nth-child(n+5) { display: none; } .shooting-stars b { width: 150px; height: 2px; } }
@media (prefers-reduced-motion: reduce) { .shooting-stars { display: none; } }
@media (prefers-reduced-motion: reduce) { .site-lights > span > b { animation: none; } .site-lights > span { transform: none; } }

/* Tablette */
@media (max-width: 1100px) {
  .f-stage { --s: .78; --h0: 410px; --h1: 398px; }
}
@media (max-width: 860px) {
  :root { --page: calc(100% - 40px); }
  .topbar { padding: 12px 20px; gap: 14px; }
  .brand-name { display: none; }
  .main-nav { gap: 18px; font-size: 14px; }
  .products-menu { top: 72px; left: 12px; right: 12px; width: auto; }
  .products-menu-columns { display: block; }
  .products-menu-column + .products-menu-column { margin-top: 16px; }
  .f-stage { --s: .56; --h0: 336px; --h1: 336px; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-strip { padding: 30px 22px; gap: 28px; }
  .product-dialog { grid-template-columns: 1fr; gap: 22px; padding: 56px 20px 24px; }
  .product-dialog-image > img { height: 260px; }
}
/* Téléphone */
@media (max-width: 560px) {
  .topbar { padding: 10px 14px; gap: 10px; }
  .brand-logo { width: 60px; height: 34px; }
  .main-nav { gap: 12px; font-size: 13px; }
  .main-nav > a[href="#promotions"] { display: none; }
  .search-toggle { width: 40px; height: 40px; }
  .f-stage { --s: .38; --h0: 228px; --h1: 228px; }
  .f-cap { display: none; }
  .content { width: calc(100% - 32px); }
  .eyebrow { font-size: 10.5px; gap: 12px; }
  .intro { font-size: 17px; }
  .actions { flex-direction: column; }
  .stats { margin-top: 44px; }
  .stats div { padding: 20px 14px; }
  .stats strong { font-size: 32px; }
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 28px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { grid-template-columns: 1fr; padding: 10px; row-gap: 8px; }
  .category-card > .category-step-art, .category-card > .category-icon { grid-row: auto; width: 100%; height: 110px; }
  .category-card strong { font-size: 17px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-art { height: 150px; padding: 10px; }
  .product-details { padding: 12px; }
  .product-details h3 { font-size: 14px; }
  .promo-card img { height: 360px; }
  .why-row { padding-left: 16px; }
  .why-row h3 { font-size: 24px; }
  .contact-intro { flex-direction: column; }
  .whatsapp-link { padding: 16px; gap: 14px; }
  .whatsapp-link svg { flex-basis: 44px; width: 44px; height: 44px; padding: 10px; }
  .whatsapp-link span { font-size: 15px; }
}


/* Téléphones et tablettes tactiles : version allégée pour une animation fluide */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .topbar, .products-menu, .product-dialog-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .topbar { background: rgba(3,16,30,.96); }
  .f-glow { filter: none; }
  .f-sweep, .f-spot { display: none; }
  .fc { box-shadow: none; padding: 3px; }
  .px.g .fc { box-shadow: none; }
  .px, .fc { will-change: auto; }
  .f-words .l { text-shadow: none; }
  .f-words .gold { animation: fLetterIn 16s cubic-bezier(.2,.8,.2,1) forwards; text-shadow: none; }
  .f-spark { box-shadow: 0 0 8px 2px rgba(255,205,105,.8); }
  .f-shock { box-shadow: none; }
  .ambient .a1, .ambient .a2 { animation: none; }
  .site-lights > span:nth-child(n+5) { display: none; }
  .site-lights > span > b { animation: none; }
  .product-card { transform: none; }
}


/* Petits écrans : au lieu de redimensionner la zone (coûteux), on fait glisser le texte vers le haut */
@media (max-width: 860px) {
  .f-stage { animation: none; height: var(--h0); }
  .hero .content, .hero .stats { animation: fLift 16s cubic-bezier(.65,0,.25,1) forwards; }
  body:not(.f-ready) .hero .content, body:not(.f-ready) .hero .stats { animation-play-state: paused; }
  .hero { margin-bottom: var(--lift); }
}
@media (max-width: 860px) { :root { --lift: 0px; } }
/* Petits écrans : le logo GFD garde sa taille (pas de rétrécissement) pour que les produits restent visibles */
@media (max-width: 860px) { .f-shrink { animation: none !important; transform: none !important; } .f-words { top: 515px; } }
@keyframes fLift { 0%,42% { transform: translateY(0); } 50%,100% { transform: translateY(var(--lift)); } }


/* Téléphones : arrivée des tuiles en 2D (sans calcul 3D), beaucoup plus fluide sur iPhone */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .f-tilt, .f-floaty, .f-shrink, .f-logo, .px { transform-style: flat; }
  .f-fit { perspective: none; }
  .f-logo { animation-name: fApproachM; }
  .f-floaty { animation-name: fFloatyM; }
}
@keyframes fAssembleM { 0% { opacity: 0; transform: translate(calc(var(--sx) * .6), calc(var(--sy) * .6)) rotate(var(--rx)) scale(.3); } 6% { opacity: 1; } 22%,100% { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); } }
@keyframes fApproachM { 0% { transform: scale(.86); } 24%,100% { transform: scale(1); } }
@keyframes fFloatyM { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(4px); } }
@keyframes fFlipM { 0%,27% { transform: scaleY(1); } 29% { transform: scaleY(.05); } 31% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes fRippleM { 0%,78% { transform: scale(1); } 88% { transform: scale(1.5); } 96%,100% { transform: scale(1); } }

/* Mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient i, .f-glow, .f-floaty, .f-shrink, .f-logo, .px, .fc, .f-shock, .f-spark, .f-sweep, .f-words, .f-words .l, .f-cap, .f-stage, .hero .content, .hero .stats { animation: none !important; }
  .hero { margin-bottom: 0 !important; }
  .f-stage { height: var(--h1); }
  .px, .f-words .l { opacity: 1; }
  .f-shrink { transform: translateY(-60px) scale(.8); }
  [data-reveal], [data-motion-item] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .catalog-enter { animation: none; }
}


/* ---------- Nouveaux produits : le colis GFD qui s'ouvre ---------- */
.news-section { padding-top: 90px; overflow: hidden; z-index: 2; }
.news-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.news-copy .section-heading { margin-bottom: 22px; }
.news-lead { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: #D3DDE8; max-width: 460px; }
.news-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 8px; counter-reset: nw; }
.news-list button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink); font: 600 15px var(--body); text-align: left; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.news-list button:hover { background: rgba(227,170,59,.12); border-color: rgba(227,170,59,.5); transform: translateX(4px); }
.news-list button::before { counter-increment: nw; content: "0" counter(nw); font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.news-list img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; flex-shrink: 0; }
.news-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.news-stage { --ns: 1; position: relative; height: calc(600px * var(--ns)); }
.nw-fit { position: absolute; left: 50%; top: 0; width: 700px; height: 600px; margin-left: -350px; transform: scale(var(--ns)); transform-origin: 50% 0; perspective: 1600px; perspective-origin: 50% 38%; }
.nw-halo { position: absolute; left: 50%; top: 52%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: radial-gradient(circle, rgba(32,96,170,.32), rgba(32,96,170,0) 62%); pointer-events: none; }
.nw-world { position: absolute; left: 350px; top: 470px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-18deg); pointer-events: none; }
.nw-floor { position: absolute; left: -300px; top: 50px; width: 600px; height: 180px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 65%); transform: rotateX(90deg) translateZ(-50px); }
.nw-beam { position: absolute; left: -130px; top: -600px; width: 260px; height: 500px; border-radius: 50% 50% 0 0; background: linear-gradient(0deg, rgba(255,210,120,.55), rgba(255,210,120,0)); filter: blur(18px); opacity: 0; }
.nw-boxwrap { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.nw-box { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: rotateY(-30deg); }
.nw-face { position: absolute; left: -150px; top: -110px; width: 300px; height: 220px; box-sizing: border-box; border: 1px solid rgba(227,170,59,.35); display: flex; align-items: center; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nw-front { transform: translateZ(150px); background: linear-gradient(160deg, #0B4A86, #033461 60%, #02284B); }
.nw-back { transform: rotateY(180deg) translateZ(150px); background: #022745; }
.nw-right { transform: rotateY(90deg) translateZ(150px); background: linear-gradient(160deg, #063E72, #022A4F); }
.nw-left { transform: rotateY(-90deg) translateZ(150px); background: linear-gradient(160deg, #0A4682, #03305A); }
.nw-bottom { top: -150px; height: 300px; transform: translateY(110px) rotateX(-90deg); background: #011B33; }
.nw-face img { width: 150px; height: 82px; object-fit: contain; }
.nw-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: rgba(243,246,250,.7); }
.nw-inner { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,215,130,.95), rgba(227,170,59,.35) 55%, rgba(227,170,59,0) 75%); transform: translateY(-105px) rotateX(90deg); opacity: 0; }
.nw-hinge { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.nw-h-front { transform: translateZ(150px); }
.nw-h-back { transform: rotateY(180deg) translateZ(150px); }
.nw-h-right { transform: rotateY(90deg) translateZ(150px); }
.nw-h-left { transform: rotateY(-90deg) translateZ(150px); }
.nw-flap { position: absolute; left: -150px; top: -260px; width: 300px; height: 150px; box-sizing: border-box; transform-origin: 50% 100%; transform: rotateX(90deg); background: linear-gradient(0deg, #0A4A88, #05386A); border: 1px solid rgba(227,170,59,.35); }
.nw-side { background: linear-gradient(0deg, #084079, #04315E); }
.nw-tape { position: absolute; left: 50%; top: 60%; width: 46px; height: 40%; margin-left: -23px; background: linear-gradient(180deg, rgba(227,170,59,.95), rgba(227,170,59,.7)); }

.nw-items { position: absolute; left: 350px; top: 470px; width: 0; height: 0; transform-style: preserve-3d; }
.nw-item { position: absolute; left: -78px; top: -98px; width: 156px; height: 196px; opacity: 0; }
.nw-bob { width: 100%; height: 100%; }
.nw-card { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 12px 12px 10px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 26px 46px rgba(0,0,0,.45), 0 0 0 1px rgba(227,170,59,.25); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; font: inherit; }
.nw-card:hover, .nw-card:focus-visible { transform: translateY(-6px) scale(1.06); box-shadow: 0 30px 56px rgba(0,0,0,.5), 0 0 0 2px var(--gold), 0 0 34px rgba(227,170,59,.45); }
.nw-card img { width: 128px; height: 126px; object-fit: contain; }
.nw-card strong { margin-top: 6px; font-family: var(--body); font-weight: 700; font-size: 12.5px; line-height: 1.2; color: #051A2E; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--night); font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; box-shadow: 0 6px 16px rgba(227,170,59,.4); }
.nw-spark { position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #FFE3A6; box-shadow: 0 0 12px 3px rgba(255,205,105,.9); opacity: 0; pointer-events: none; }

/* Ouverture (une seule fois, quand la section devient visible) */
.news-stage.is-open .nw-box { animation: nwSway 11s ease-in-out 1.6s infinite; }
.news-stage.is-open .nw-flap { animation: nwFlap 1.3s cubic-bezier(.6,0,.3,1) .15s both; }
.news-stage.is-open .nw-side { animation-delay: .4s; }
.news-stage.is-open .nw-inner, .news-stage.is-open .nw-beam { animation: nwGlow 1.4s ease .6s both; }
.news-stage.is-open .nw-bob { animation: nwBob 5s ease-in-out infinite alternate; }
@keyframes nwSway { 0% { transform: rotateY(-30deg); } 50% { transform: rotateY(-14deg); } 100% { transform: rotateY(-30deg); } }
@keyframes nwFlap { 0% { transform: rotateX(90deg); } 18% { transform: rotateX(72deg); } 75% { transform: rotateX(-52deg); } 100% { transform: rotateX(-40deg); } }
@keyframes nwGlow { from { opacity: 0; } to { opacity: 1; } }
@keyframes nwBob { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-12px) rotate(1.2deg); } }

/* Tablette et téléphone : colis plus petit, produits en 2 × 2, sans flou */
@media (max-width: 1100px) {
  .news-inner { grid-template-columns: 1fr; gap: 10px; }
  .news-lead { max-width: 640px; }
  .news-list { display: none; }
  .news-copy .outline-link { display: none; }
  .news-stage { height: calc(650px * var(--ns)); }
  .nw-fit { width: 420px; height: 650px; margin-left: -210px; }
  .nw-world, .nw-items { left: 210px; top: 535px; }
  .nw-boxwrap { transform: scale(.7); }
  .nw-halo { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
  .nw-beam { filter: none; opacity: 0; background: linear-gradient(0deg, rgba(255,210,120,.4), rgba(255,210,120,0)); left: -90px; width: 180px; top: -430px; height: 360px; }
}
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .nw-card { box-shadow: 0 14px 26px rgba(0,0,0,.4), 0 0 0 1px rgba(227,170,59,.25); }
  .nw-spark { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .news-stage .nw-flap { transform: rotateX(-40deg); }
  .news-stage .nw-inner, .news-stage .nw-beam, .nw-item { opacity: 1; }
  .news-stage.is-open .nw-box, .news-stage.is-open .nw-flap, .news-stage.is-open .nw-inner, .news-stage.is-open .nw-beam, .news-stage.is-open .nw-bob { animation: none; }
}

/* ---------- Demande de devis ---------- */
.quote-link { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }
.quote-link svg { background: var(--gold); color: var(--night); }
.quote-link:hover { box-shadow: 0 18px 40px rgba(227,170,59,.3); }

.quote-add { margin-top: 26px; padding: 18px; border-radius: 20px; border: 1px solid rgba(227,170,59,.35); background: rgba(227,170,59,.07); }
.quote-add-title { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.quote-add-row { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.04); }
.qty-stepper button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; }
.qty-stepper button:hover { background: rgba(227,170,59,.16); }
.qty-stepper input { width: 64px; height: 46px; border: 0; background: transparent; color: var(--ink); text-align: center; font: 700 17px var(--body); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote-add select, .quote-form input, .quote-form textarea { border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); border-radius: 14px; font: 500 15px var(--body); }
.quote-add select { height: 48px; padding: 0 14px; border-radius: 999px; }
.quote-add select option { color: #051A2E; }
.quote-add-button { margin-top: 14px; width: 100%; border: 0; cursor: pointer; justify-content: center; }
.quote-add-done { margin: 10px 0 0; color: var(--gold-soft); font-weight: 600; font-size: 14px; }
.quote-add-done button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; }
.product-dialog-link { margin-top: 16px; cursor: pointer; }

.quote-fab { position: fixed; left: 22px; bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--gold); color: var(--night); font: 700 15px var(--body); box-shadow: 0 14px 34px rgba(0,0,0,.4); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.quote-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(227,170,59,.35); }
.quote-fab svg { width: 22px; height: 22px; }
.quote-fab-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--night); color: var(--gold); font: 700 13px/24px var(--body); text-align: center; }
.quote-fab.bump { animation: quoteBump .5s ease; }
@keyframes quoteBump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.15); } }
body.dialog-open .quote-fab { display: none; }
.catalog-route .quote-fab { left: 22px; }

.quote-backdrop { position: fixed; inset: 0; z-index: 110; display: flex; justify-content: flex-end; background: rgba(2,10,20,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.quote-panel { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; padding: 44px 34px 34px; background: #071F37; border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(0,0,0,.5); animation: quoteIn .35s var(--ease); }
@keyframes quoteIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.quote-panel h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.035em; line-height: 1; }
.quote-intro { margin: 14px 0 22px; color: #D3DDE8; line-height: 1.6; }
.quote-items { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.quote-items li { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.quote-items img, .quote-items .qi-noimg { width: 52px; height: 52px; border-radius: 10px; background: #fff; object-fit: contain; padding: 3px; }
.quote-items strong { display: block; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.qi-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qi-controls input { width: 64px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); text-align: center; font: 600 14px var(--body); }
.qi-controls select { height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); font: 500 13px var(--body); padding: 0 6px; }
.qi-controls select option { color: #051A2E; }
.qi-remove { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.qi-remove:hover { color: #ff9a9a; border-color: #ff9a9a; }
.quote-empty { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; line-height: 1.55; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.quote-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #D3DDE8; }
.quote-grid .full { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea { padding: 12px 14px; min-height: 46px; }
.quote-form textarea { resize: vertical; line-height: 1.5; }
.quote-form input:focus, .quote-form textarea:focus, .quote-add select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.quote-form input[aria-invalid="true"] { border-color: #ff8a8a; }
.quote-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.quote-consent input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--gold); }
.quote-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,90,90,.12); color: #ffb3b3; font-size: 14px; }
.quote-submit { margin-top: 20px; width: 100%; border: 0; cursor: pointer; justify-content: center; font-size: 16px; }
.quote-submit:disabled { opacity: .6; cursor: wait; }
.quote-success { text-align: center; padding-top: 60px; }
.quote-success p { color: #D3DDE8; line-height: 1.6; margin: 16px 0 28px; }
.quote-success strong { color: var(--gold); }
.quote-success .button { border: 0; cursor: pointer; }
.quote-check { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font-size: 42px; font-weight: 800; box-shadow: 0 0 50px rgba(227,170,59,.45); }

@media (max-width: 560px) {
  .quote-fab { left: 14px; bottom: 14px; padding: 11px 14px 11px 12px; font-size: 14px; }
  .quote-panel { padding: 56px 18px 24px; border-left: 0; }
  .quote-panel h2 { font-size: 32px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-grid .full { grid-column: auto; }
  .quote-form input, .quote-form textarea { font-size: 16px; }
}
@media (max-width: 860px), (hover: none) and (pointer: coarse) { .quote-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .quote-panel, .quote-fab.bump { animation: none; } }

/* Images des familles reprises de gfdfrance.com : carrés sur fond blanc, affichés en entier */
.category-step-art { background: #fff; }
.category-step-art img { width: 100%; height: 100%; object-fit: cover; }

/* Menu Produits : liste simple des familles */
.products-menu { width: min(420px, calc(100vw - 48px)); }
.products-menu-families { gap: 2px; }
.products-menu-families .products-menu-item { text-decoration: none; padding: 8px 10px; }
.products-menu-families .products-menu-item img, .products-menu-families .menu-thumb { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: #fff; object-fit: cover; }
.products-menu-families .products-menu-item span { flex: 1; font-weight: 600; }
.products-menu-families .products-menu-item { color: var(--ink); }
@media (max-width: 860px) { .products-menu { width: auto; } }

/* Activité (devis) et bouton Contact flottant */
.quote-form select { padding: 12px 14px; min-height: 46px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); border-radius: 14px; font: 500 15px var(--body); }
.quote-form select option { color: #051A2E; }
.quote-form select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.quote-form select[aria-invalid="true"] { border-color: #ff8a8a; }
.contact-fab { position: fixed; left: 22px; bottom: 84px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: #25D366; color: #fff; font: 700 14px var(--body); text-decoration: none; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .25s, box-shadow .25s; }
.contact-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.35); }
.contact-fab svg { width: 22px; height: 22px; }
body.dialog-open .contact-fab { display: none; }
@media (max-width: 560px) { .contact-fab { left: 14px; bottom: 70px; padding: 8px 14px 8px 9px; font-size: 13px; } .quote-form select { font-size: 16px; } }
