/* Thème Elite pour Elite Airgun. Chargé après la feuille du thème de base (classic). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0c0d0f;
  --ink-2: #16181b;
  --ink-3: #25282c;
  --bg: #f6f5f1;
  --stage: #e9e6df;
  --stage-2: #dedad1;
  --text: #17191c;
  --muted: #5d6066;
  --muted-dark: #a3a6ac;
  --accent: #e3120b;
  --line: rgba(12, 13, 15, .13);
  --line-dark: rgba(255, 255, 255, .15);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1400px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, p { color: var(--text); }
p { font-size: inherit; font-weight: 400; margin-bottom: 1em; }
::selection { background: var(--ink); color: #fff; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font); color: var(--ink); }
main { overflow-x: clip; }

.container { width: 100%; max-width: var(--maxw); padding-left: var(--gutter); padding-right: var(--gutter); margin-left: auto; margin-right: auto; }
/* Ces blocs sont en flex ou en grille : le pseudo-élément de nettoyage hérité de Bootstrap y prendrait une place. */
.ea-header__bar::after, .ea-hero__top::after, .ea-hero__bottom::after, .ea-search__inner::after, .ea-cta__inner::after, .ea-product__body::after { display: none; }

.ea-skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; }
.ea-skip:focus { top: 12px; color: #fff; }

/* ---------- Éléments communs ---------- */
.ea-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ea-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.ea-title { margin: 0; font-size: clamp(34px, 4.6vw, 68px); font-weight: 800; font-stretch: 125%; line-height: .98; letter-spacing: -.015em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.ea-title--xl { font-size: clamp(36px, 5.6vw, 88px); }
.ea-link { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s; }
.ea-link:hover { color: var(--accent); }

.ea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 700; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; line-height: 1; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.ea-btn span { transition: transform .25s var(--ease); }
.ea-btn:hover span { transform: translateX(5px); }
.ea-btn--solid, #header .ea-btn--solid, #wrapper .ea-btn--solid { background: var(--ink); color: #fff; }
.ea-btn--solid:hover, .ea-btn--solid:focus, #header .ea-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ea-btn--ghost:hover, .ea-btn--ghost:focus { background: var(--ink); color: #fff; }
.ea-btn--light { border-color: #fff; color: #fff; }
.ea-btn--light:hover, .ea-btn--light:focus { background: #fff; color: var(--ink); }
.ea-btn--sm { min-height: 44px; padding: 0 20px; font-size: 12.5px; }

.ea-chip { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.2; white-space: nowrap; }

.ea-corners { position: absolute; inset: 26px; pointer-events: none; opacity: 0; transition: opacity .3s, inset .45s var(--ease);
  background:
    linear-gradient(var(--ink) 0 0) left top / 20px 1.5px, linear-gradient(var(--ink) 0 0) left top / 1.5px 20px,
    linear-gradient(var(--ink) 0 0) right top / 20px 1.5px, linear-gradient(var(--ink) 0 0) right top / 1.5px 20px,
    linear-gradient(var(--ink) 0 0) left bottom / 20px 1.5px, linear-gradient(var(--ink) 0 0) left bottom / 1.5px 20px,
    linear-gradient(var(--ink) 0 0) right bottom / 20px 1.5px, linear-gradient(var(--ink) 0 0) right bottom / 1.5px 20px;
  background-repeat: no-repeat; }

.ea-section { padding: clamp(72px, 9vw, 140px) 0; }
.ea-section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.ea-section__head .ea-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.ea-section__lead { grid-column: 2; max-width: 38ch; margin: 0; color: var(--muted); font-size: 16px; }
.ea-section__head .ea-link { justify-self: end; }

/* Apparition au défilement (seulement si le script est actif) */
.ea-js [data-ea-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ea-js [data-ea-reveal].is-in { opacity: 1; transform: none; }

/* ---------- En-tête ---------- */
#header { position: sticky; top: 0; z-index: 100; background: transparent; box-shadow: none; color: var(--ink); }
/* Le fond et le flou sont portés par un calque : un flou posé sur l'en-tête lui-même enfermerait le menu mobile (position fixe) dans la barre. */
#header .ea-header { position: relative; border-bottom: 1px solid transparent; transition: border-color .3s; }
#header .ea-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--stage); transition: background .3s; }
#header .ea-header.is-stuck { border-bottom-color: var(--line); }
#header .ea-header.is-stuck::before { background: rgba(246, 245, 241, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body:not(#index):not(#product) #header .ea-header { border-bottom-color: var(--line); }
body:not(#index):not(#product) #header .ea-header::before, body.ea-menu-open #header .ea-header::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ea-header__bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.ea-logo { display: block; flex: none; line-height: 0; }
.ea-logo img { height: 36px; width: auto; }
.ea-nav { margin-left: auto; }
.ea-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
#header .ea-nav__link { position: relative; display: inline-block; padding: 8px 0; color: var(--ink); font-size: 13.5px; font-weight: 700; font-stretch: 112%; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.ea-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ea-nav__link:hover::after, .ea-nav__link.is-current::after { transform: scaleX(1); }
.ea-nav__count { margin-left: 4px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0; color: var(--muted); top: -.7em; }
.ea-nav__contact { display: none; }
.ea-header__tools { display: flex; align-items: center; gap: 10px; }
.ea-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: color .2s; }
.ea-icon-btn:hover { color: var(--accent); }
.ea-burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ea-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.ea-burger span:first-child { top: 17px; }
.ea-burger span:last-child { top: 25px; }
.ea-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.ea-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.ea-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(12, 13, 15, .25); }
.ea-search[hidden] { display: none; }
.ea-search__inner { display: flex; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.ea-searchbox { flex: 1; }
#header .ea-searchbox form { position: relative; display: block; }
#header .ea-searchbox .ea-btn { position: absolute; right: 0; top: 5px; }
#header .ea-searchbox input[type="text"] { display: block; width: 100%; height: 54px; padding: 0 150px 0 4px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--font); font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; font-stretch: 112%; outline: none; box-shadow: none; }
#header .ea-searchbox input[type="text"]::placeholder { color: #9b9da1; }
.ui-autocomplete.searchbar-autocomplete, .ui-autocomplete { z-index: 400; border: 1px solid var(--line); border-radius: 0; background: #fff; font-family: var(--font); box-shadow: 0 20px 40px -20px rgba(12, 13, 15, .3); }
.ui-autocomplete .ui-menu-item a, .ui-autocomplete li a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.ui-autocomplete li a:hover, .ui-autocomplete li a.ui-state-focus, .ui-autocomplete li a.ui-state-active { margin: 0; border: 0; background: var(--stage); color: var(--ink); }
.ui-autocomplete li a img { width: 64px; height: auto; mix-blend-mode: multiply; }

/* ---------- Enveloppe des pages ---------- */
#wrapper { background: var(--bg); box-shadow: none; padding: 0; }
#wrapper .ea-page { padding-top: 26px; padding-bottom: clamp(64px, 8vw, 120px); min-height: 50vh; }
#wrapper .breadcrumb { margin: 0 0 26px; padding: 0; background: transparent; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
#wrapper .breadcrumb ol { margin: 0; padding: 0; }
#wrapper .breadcrumb li { display: inline; }
#wrapper .breadcrumb li a, #wrapper .breadcrumb li span { color: var(--muted); }
#wrapper .breadcrumb li a:hover { color: var(--ink); }
#wrapper .breadcrumb li::after { content: "/"; margin: 0 .6em; color: #b9b6ae; }
#wrapper .breadcrumb li:last-child::after { content: ""; }
#wrapper .breadcrumb li:last-child span { color: var(--ink); }
#wrapper .breadcrumb[data-depth="1"] { display: none; }

/* ---------- Accueil : modèle mis en avant ---------- */
.page-home { margin: 0; }
.ea-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 22px 0 clamp(28px, 4vw, 48px); overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 46%, #f6f4ef 0%, var(--stage) 62%, var(--stage-2) 100%); --px: 0; --py: 0; }
.ea-hero__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px; background-position: center; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 48%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 75% 70% at 50% 48%, #000 10%, transparent 75%); }
.ea-hero__word { position: absolute; left: 0; right: 0; top: 9%; z-index: -1; text-align: center; line-height: .8; white-space: nowrap; pointer-events: none; transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -8px), 0); }
.ea-hero__word span { display: inline-block; font-size: clamp(72px, 17vw, 300px); font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; color: #d9d5cb; animation: ea-word 1.3s var(--ease) both; }
.ea-hero__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.ea-hero__top .ea-kicker { margin: 0; color: var(--ink); }
.ea-hero__index { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.ea-hero__stage { position: relative; mix-blend-mode: multiply; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 10px var(--gutter); transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 10px), 0); }
.ea-hero__stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 36px; background: radial-gradient(ellipse at center, rgba(12, 13, 15, .2), transparent 70%); filter: blur(10px); z-index: -1; }
.ea-hero__stage img { display: block; width: min(1320px, 100%); max-height: clamp(220px, calc(100vh - 480px), 640px); object-fit: contain; animation: ea-rifle 1.4s var(--ease) .15s both; }
.ea-hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.ea-hero__text { max-width: 600px; animation: ea-up .9s var(--ease) .5s both; }
.ea-hero__title { margin: 0 0 12px; font-size: clamp(22px, 2.3vw, 34px); font-weight: 800; font-stretch: 125%; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.ea-hero__lead { margin: 0 0 24px; max-width: 54ch; color: #3d4045; font-size: 16.5px; line-height: 1.55; }
.ea-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ea-hero__specs { flex: none; min-width: 280px; margin: 0; border-top: 1.5px solid var(--ink); animation: ea-up .9s var(--ease) .65s both; }
.ea-hero__specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ea-hero__specs dt { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ea-hero__specs dd { margin: 0; font-size: 14.5px; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); text-align: right; }
.ea-hero__reticle { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; }
.ea-hero.is-aiming .ea-hero__reticle { opacity: 1; }
.ea-hero__reticle i { position: absolute; background: rgba(227, 18, 11, .5); }
.ea-hero__reticle i:nth-child(1) { left: 0; right: 0; top: var(--ry, 50%); height: 1px; }
.ea-hero__reticle i:nth-child(2) { top: 0; bottom: 0; left: var(--rx, 50%); width: 1px; }
.ea-hero__reticle b { position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1.5px solid var(--accent); border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 2px, transparent 2.5px); }

@keyframes ea-word { from { opacity: 0; transform: translateY(40px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes ea-rifle { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: none; } }
@keyframes ea-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau défilant ---------- */
.ea-marquee { overflow: hidden; background: var(--ink); color: #fff; }
.ea-marquee__track { display: flex; width: max-content; padding: 20px 0; animation: ea-marquee 38s linear infinite; }
.ea-marquee__track span { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ea-marquee__track span::after { content: ""; width: 7px; height: 7px; margin: 0 34px; border-radius: 50%; background: var(--accent); }
.ea-marquee:hover .ea-marquee__track { animation-play-state: paused; }
@keyframes ea-marquee { to { transform: translateX(-50%); } }

/* ---------- Gammes ---------- */
.ea-ranges__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ea-range { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 10; padding: 26px 28px; overflow: hidden; background: var(--stage); color: var(--ink); transition: background .4s; }
.ea-range:hover, .ea-range:focus-visible { background: var(--stage-2); color: var(--ink); }
.ea-range__num { position: absolute; left: 28px; top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.ea-range__media { position: absolute; inset: 10% 6% 22%; display: flex; align-items: center; justify-content: center; }
.ea-range__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.ea-range:hover .ea-range__media img { transform: scale(1.07) translateX(-1.5%); }
.ea-range:hover .ea-corners, .ea-range:focus-visible .ea-corners { opacity: 1; inset: 14px; }
.ea-range__foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ea-range__name { font-size: clamp(22px, 2.5vw, 36px); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.ea-range__count { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ea-range__arrow { display: inline-block; margin-left: 8px; color: var(--ink); transition: transform .3s var(--ease), color .3s; }
.ea-range:hover .ea-range__arrow { transform: translateX(6px); color: var(--accent); }

/* ---------- Savoir-faire (fond sombre) ---------- */
.ea-craft { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.ea-craft__ghost { position: absolute; z-index: -1; left: 22%; top: 50%; width: 118%; max-width: none; transform: translateY(-50%); filter: invert(1) grayscale(1) contrast(1.15); mix-blend-mode: screen; opacity: .09; pointer-events: none; }
.ea-craft .ea-kicker { color: var(--muted-dark); }
.ea-craft .ea-title { color: #fff; }
.ea-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.ea-pillars li { padding: 34px 34px 10px 0; }
.ea-pillars li + li { padding-left: 34px; border-left: 1px solid var(--line-dark); }
.ea-pillars__num { display: block; margin-bottom: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.ea-pillars h3 { margin: 0 0 12px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; font-stretch: 125%; line-height: 1.1; text-transform: uppercase; color: #fff; }
.ea-pillars p { margin: 0; color: var(--muted-dark); font-size: 16px; }
.ea-craft__more { margin: 48px 0 0; }

/* ---------- Carte produit ---------- */
.ea-card { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; background: transparent; box-shadow: none; }
.ea-card__stage { position: relative; display: block; aspect-ratio: 900 / 560; padding: 7% 6%; overflow: hidden; background: var(--stage); transition: background .4s; }
.ea-card__stage img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.ea-card:hover .ea-card__stage { background: var(--stage-2); }
.ea-card:hover .ea-card__stage img { transform: scale(1.07) translateX(-1.5%); }
.ea-card:hover .ea-corners, .ea-card:focus-within .ea-corners { opacity: 1; inset: 12px; }
.ea-flag { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.ea-card__body { padding: 16px 2px 0; }
.ea-card__range { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ea-card__name { margin: 0 0 12px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 800; font-stretch: 125%; line-height: 1.05; letter-spacing: -.005em; text-transform: uppercase; }
.ea-card__name a { color: var(--ink); }
.ea-card__name a::after { content: ""; position: absolute; inset: 0; }
.ea-card__meta { display: flex; align-items: center; gap: 12px; margin: 0; }
.ea-card__price { font-weight: 700; }
.ea-card__arrow { margin-left: auto; font-size: 18px; color: var(--ink); transition: transform .3s var(--ease), color .3s; }
.ea-card:hover .ea-card__arrow { transform: translateX(6px); color: var(--accent); }

/* ---------- Ligne de modèles (onglets et défilement horizontal) ---------- */
.ea-tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.ea-tab { position: relative; padding: 8px 0; border: 0; background: none; color: var(--muted); font-family: var(--font); font-size: 14px; font-weight: 700; font-stretch: 112%; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.ea-tab sup { margin-left: 4px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.ea-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ea-tab:hover, .ea-tab.is-active { color: var(--ink); }
.ea-tab.is-active::after { transform: scaleX(1); }
html:not(.ea-js) .ea-tabs { display: none; }
.ea-js .ea-panel { display: none; }
.ea-js .ea-panel.is-active { display: block; animation: ea-up .5s var(--ease) both; }
.ea-js .ea-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ea-panel__title { margin: 40px 0 16px; font-size: 20px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.ea-rail { display: flex; gap: 20px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ea-rail::-webkit-scrollbar { display: none; }
.ea-rail > .ea-card-wrap { flex: 0 0 clamp(270px, 29vw, 430px); scroll-snap-align: start; }
.ea-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ea-rail.is-dragging a { pointer-events: none; }
.ea-rail__more { flex: 0 0 220px; display: flex; align-items: center; justify-content: center; gap: 10px; align-self: stretch; border: 1.5px solid var(--ink); color: var(--ink); font-size: 13px; font-weight: 700; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s; }
.ea-rail__more:hover { background: var(--ink); color: #fff; }
.ea-related { border-top: 1px solid var(--line); }

/* ---------- Appel au contact ---------- */
.ea-cta { background: var(--accent); color: #fff; }
.ea-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 48px; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.ea-cta .ea-title { color: #fff; }
.ea-cta p { grid-row: 2; margin: 0; color: #fff; font-size: 18px; }
.ea-cta .ea-btn { grid-row: 1 / 3; grid-column: 2; }
#wrapper .ea-cta .ea-btn { background: #fff; border-color: #fff; color: var(--ink); }
#wrapper .ea-cta .ea-btn:hover, #wrapper .ea-cta .ea-btn:focus { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Pied de page ---------- */
#footer { padding: 0; background: var(--ink); color: #fff; }
.ea-footer { padding: clamp(56px, 7vw, 96px) 0 28px; }
.ea-footer__top { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr); gap: 48px; }
.ea-footer__logo { display: block; line-height: 0; }
.ea-footer__logo img { height: 38px; width: auto; }
.ea-footer__tagline { margin: 22px 0 0; color: var(--muted-dark); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ea-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ea-footer__title { margin: 0 0 18px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.ea-footer__col ul { margin: 0; padding: 0; list-style: none; }
.ea-footer__col li { margin: 0 0 10px; }
#footer .ea-footer__col a, #footer .ea-footer__col address { color: #fff; font-size: 15.5px; font-style: normal; line-height: 1.5; }
#footer .ea-footer__col a { background: linear-gradient(var(--accent) 0 0) left bottom / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
#footer .ea-footer__col a:hover { background-size: 100% 1.5px; }
.ea-footer__col address { margin: 0 0 10px; }
.ea-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(44px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.ea-footer__bottom p, #footer .ea-footer__bottom a { margin: 0; color: var(--muted-dark); font-size: inherit; }
#footer .ea-footer__bottom a:hover { color: #fff; }

/* ---------- Page d'une gamme et listes de produits ---------- */
.ea-rangehead { position: relative; margin: -26px 0 40px; padding: 84px 0 52px; background: var(--stage); box-shadow: 0 0 0 100vmax var(--stage); clip-path: inset(0 -100vmax); }
#category #wrapper .breadcrumb { position: relative; z-index: 2; }
.ea-rangehead .ea-kicker { color: var(--ink); }
.ea-rangehead__text { max-width: 76ch; margin-top: 22px; }
.ea-rangehead__text, .ea-rangehead__text p { color: #3d4045; font-size: 16.5px; }
.ea-rangehead__text p:last-child { margin-bottom: 0; }
#js-product-list-header.h2, #main > h1#js-product-list-header { margin: 26px 0 32px; font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; font-stretch: 125%; line-height: 1; text-transform: uppercase; }
#products { color: var(--text); }
#products .products-selection { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
#products .products-selection > div { float: none; width: auto; padding: 0; flex: none; }
#products .products-selection .total-products p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
#products .products-selection .sort-by-row { display: flex; align-items: center; gap: 12px; margin: 0; }
#products .products-selection .sort-by { float: none; width: auto; padding: 0; margin: 0; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
#products .products-sort-order { float: none; width: auto; min-width: 230px; padding: 0; }
#products .products-sort-order .select-title { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 14px; border: 1px solid var(--ink); background: transparent; box-shadow: none; color: var(--ink); font-size: 14px; font-weight: 600; }
#products .products-sort-order .dropdown-menu { left: 0; right: 0; width: 100%; margin: 0; padding: 6px 0; border: 1px solid var(--ink); border-top: 0; border-radius: 0; background: #fff; box-shadow: none; }
#products .products-sort-order .select-list { display: block; padding: 8px 14px; color: var(--ink); font-size: 14px; }
#products .products-sort-order .select-list:hover { background: var(--ink); color: #fff; }
#products .showing { display: none; }
#products .products-selection::before, #products .products-selection::after, #products .sort-by-row::before, #products .sort-by-row::after { display: none; }
#products .products, .featured-products .products, .product-accessories .products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; margin: 0; }
#products .products::after, #products .products::before { display: none; }
#products .up { display: none; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: auto; margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pagination > div { float: none; width: auto; padding: 0; }
.pagination .page-list { display: flex; gap: 6px; margin: 0; padding: 0; background: transparent; box-shadow: none; list-style: none; }
.pagination .page-list li { display: block; }
.pagination a, .pagination .disabled { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pagination .current a, .pagination a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pagination .material-icons { font-size: 16px; }
.pagination .disabled { display: none; }
.page-not-found, #content.page-not-found { max-width: none; margin: 0; padding: 40px 0; background: transparent; box-shadow: none; }

/* ---------- Fiche produit ---------- */
.ea-product__stage { position: relative; isolation: isolate; overflow: hidden; padding: 22px 0 36px; background: radial-gradient(ellipse 70% 70% at 50% 50%, #f6f4ef 0%, var(--stage) 65%, var(--stage-2) 100%); }
.ea-product__word { position: absolute; left: 0; right: 0; top: 14%; z-index: -1; text-align: center; line-height: .8; white-space: nowrap; pointer-events: none; }
.ea-product__word span { display: inline-block; font-size: clamp(64px, 15vw, 260px); font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; color: #d9d5cb; animation: ea-word 1.2s var(--ease) both; }
.ea-product__stage .breadcrumb { margin-bottom: 0 !important; }
.ea-gallery__main { mix-blend-mode: multiply; display: flex; align-items: center; justify-content: center; margin: 0; padding: clamp(16px, 3vw, 40px) 0; }
.ea-gallery__main img { display: block; width: min(1240px, 100%); max-height: 60vh; object-fit: contain; animation: ea-rifle 1.2s var(--ease) .1s both; transition: opacity .25s; }
.ea-gallery__main img.is-swapping { opacity: 0; }
.ea-gallery__thumbs { display: flex; justify-content: center; gap: 10px; }
.ea-thumb { width: 92px; height: 68px; padding: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .45); cursor: pointer; transition: border-color .2s; }
.ea-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ea-thumb:hover, .ea-thumb.is-active { border-color: var(--ink); }
.ea-product__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 120px); }
.ea-product__intro { align-self: start; position: sticky; top: calc(var(--header-h) + 28px); }
.ea-product__title { margin: 0 0 22px; text-transform: uppercase; }
.ea-product__brand { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.ea-product__model { display: block; font-size: clamp(40px, 5.4vw, 84px); font-weight: 900; font-stretch: 125%; line-height: .92; letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.ea-product__tag { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.ea-product__price { margin: 0 0 18px; font-size: 26px; font-weight: 800; font-stretch: 112%; }
.ea-product__lead, .ea-product__lead p { color: #3d4045; font-size: 18px; line-height: 1.6; }
.ea-product__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ea-block { padding: 28px 0 34px; border-top: 1.5px solid var(--ink); }
.ea-block__title { margin: 0 0 20px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ea-prose, .ea-prose p, .ea-prose li { color: var(--text); font-size: 17px; line-height: 1.7; }
.ea-prose p:empty { display: none; }
.ea-prose > :last-child { margin-bottom: 0; }
.ea-prose h2, .ea-prose h3 { margin: 1.6em 0 .5em; font-size: 22px; font-weight: 800; font-stretch: 125%; line-height: 1.15; text-transform: uppercase; }
.ea-prose a { border-bottom: 1px solid currentColor; }
.ea-specs { margin: 0; }
.ea-specs div { display: flex; justify-content: space-between; gap: 28px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ea-specs div:first-child { padding-top: 0; }
.ea-specs dt { font-weight: 400; color: var(--muted); }
.ea-specs dd { margin: 0; font-weight: 600; text-align: right; }
.ea-files { margin: 0; padding: 0; list-style: none; }
.ea-files a { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ea-files span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Pages de contenu, formulaires, éléments hérités du thème de base ---------- */
.page-header { margin: 0 0 32px; padding: 0; border: 0; background: transparent; }
.page-header h1, #main > h1, #main .page-header h1 { margin: 12px 0 0; font-size: clamp(34px, 4.8vw, 68px); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.015em; text-transform: uppercase; color: var(--ink); }
.card, .page-content.card, #content.card, .page-content, .card-block { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#main .page-content, #main .page-content.card-block { margin: 0; padding: 0; max-width: 880px; }
.page-footer { margin: 0; }
#cms #content, #cms #content.page-content.page-cms { padding: 0; background: transparent; text-align: left; font-size: 17px; line-height: 1.75; }
#cms #content p, #cms #content li { font-size: 17px; line-height: 1.75; color: var(--text); }
#cms #content h2 { margin: 2em 0 .5em; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; font-stretch: 125%; line-height: 1.1; text-transform: uppercase; }
#cms #content h3 { margin: 1.6em 0 .4em; font-size: 20px; font-weight: 800; font-stretch: 112%; }
#cms #content a { border-bottom: 1px solid currentColor; }
#cms #content ul { padding-left: 1.2em; list-style: square; }

.btn { border-radius: 0; font-family: var(--font); font-weight: 700; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; }
.btn-primary, .btn-primary:focus { min-height: 50px; padding: 0 26px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-size: 13.5px; box-shadow: none; }
.btn-primary:hover, .btn-primary:active, .btn-primary:active:focus { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-secondary, .btn-tertiary, .btn-secondary:focus { min-height: 50px; padding: 0 26px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 13.5px; box-shadow: none; }
.btn-secondary:hover, .btn-tertiary:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
label, .form-control-label { color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; }
.form-control, .form-control:focus, select.form-control:not([size]):not([multiple]) { height: auto; min-height: 50px; padding: 12px 14px; border: 1px solid #b9b6ae; border-radius: 0; background-color: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; box-shadow: none; outline: 0; }
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-control-comment { color: var(--muted); font-size: 13px; }
.input-group .input-group-btn > .btn { min-height: 50px; padding: 0 16px; border-radius: 0; }
.custom-checkbox input[type="checkbox"] + span { border: 1.5px solid var(--ink); border-radius: 0; }
.alert { border-radius: 0; }
.bootstrap-filestyle .btn, .group-span-filestyle .btn-default, .group-span-filestyle .btn-default:hover { min-height: 50px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-size: 12px; line-height: 47px; }
#wrapper .ea-searchbox form { display: flex; gap: 12px; max-width: 640px; margin-top: 20px; }
#wrapper .ea-searchbox input[type="text"] { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid #b9b6ae; border-radius: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; }
#wrapper .ea-searchbox input[type="text"]:focus { border-color: var(--ink); outline: 0; box-shadow: 0 0 0 1px var(--ink); }
.page-not-found h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.dropdown-menu { border-radius: 0; }
.text-muted { color: var(--muted) !important; }
hr { border-color: var(--line); }

.contact-rich { color: var(--text); margin: 0 0 32px; }
.contact-rich h4 { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-rich .block { height: auto; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-rich .block .icon { float: none; width: auto; display: none; }
.contact-rich .block .data { width: auto; overflow: visible; color: var(--ink); font-size: 16px; }
.contact-rich .block .data a { border-bottom: 1px solid currentColor; }
.contact-rich hr { display: none; }
.contact-form { padding: 0; width: auto; background: transparent; color: var(--text); }
.contact-form h3 { margin: 0 0 24px; font-size: 24px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; }

#stores .page-stores { max-width: none; width: auto; margin: 0; }
#stores .page-stores .store-item { margin: 0 0 20px; padding: 28px; border: 0; background: var(--stage); box-shadow: none; }
#stores .page-stores .store-item-container { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; padding: 0; }
#stores .page-stores .store-item-container > div { float: none; width: auto; padding: 0; border: 0; }
#stores .page-stores .store-item-container .store-description { flex: 1; min-width: 220px; font-size: 16px; }
#stores .page-stores .store-item-container h3, #stores .page-stores .card-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; color: var(--ink); }
#stores .page-stores .store-item-container .divide-left { border: 0; }
#stores .page-stores .store-item-container .divide-left td, #stores .page-stores .store-item-container .divide-left th { padding: 3px 14px 3px 0; font-size: 14.5px; color: var(--text); }
#stores .page-stores .store-item-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
#stores .page-stores .store-item-footer ul { margin: 0; }
#stores .page-stores .store-picture img { mix-blend-mode: multiply; }

.sitemap h2 { margin: 0 0 14px; padding: 0; border: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: auto; }
.sitemap ul { margin: 0 0 32px; padding: 0; }
.sitemap ul.nested { margin: 4px 0 4px 18px; }
.sitemap li { font-size: 16px; padding: 3px 0; }
.sitemap a:hover, #main .page-content a:hover { color: var(--accent); }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1100px) {
  .ea-header__contact { display: none; }
  .ea-burger { display: block; }
  .ea-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; margin: 0; padding: 28px var(--gutter) 40px; overflow-y: auto; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .ea-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .ea-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  #header .ea-nav__link { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 5vw, 30px); font-weight: 800; font-stretch: 125%; letter-spacing: -.005em; white-space: normal; }
  .ea-nav__link::after { display: none; }
  .ea-nav__count { font-size: 12px; }
  .ea-nav__contact { display: block; }
  .ea-header__tools { margin-left: auto; }
  body.ea-menu-open { overflow: hidden; }
  .ea-footer__top { grid-template-columns: 1fr; }
  #products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .ea-logo img { height: 30px; }
  .ea-hero { min-height: 0; padding-top: 18px; }
  .ea-hero__word { top: 64px; }
  .ea-hero__stage { padding: 56px 12px 40px; }
  .ea-hero__stage img { max-height: none; }
  .ea-hero__bottom { flex-direction: column; align-items: stretch; gap: 28px; }
  .ea-hero__specs { min-width: 0; }
  .ea-section__head { grid-template-columns: 1fr; }
  .ea-section__lead { grid-column: 1; }
  .ea-section__head .ea-link { justify-self: start; }
  .ea-ranges__grid { grid-template-columns: 1fr; gap: 14px; }
  .ea-range { padding: 20px; }
  .ea-range__num { left: 20px; top: 18px; }
  .ea-pillars { grid-template-columns: 1fr; }
  .ea-pillars li, .ea-pillars li + li { padding: 26px 0; border-left: 0; }
  .ea-pillars li + li { border-top: 1px solid var(--line-dark); }
  .ea-pillars__num { margin-bottom: 18px; }
  .ea-craft__ghost { left: -10%; top: 30%; width: 220%; }
  .ea-rail > .ea-card-wrap { flex-basis: 78vw; }
  .ea-rail__more { flex-basis: 170px; }
  .ea-cta__inner { grid-template-columns: 1fr; }
  .ea-cta .ea-btn { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 14px; }
  .ea-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ea-product__body { grid-template-columns: 1fr; }
  .ea-product__intro { position: static; }
  .ea-rangehead { padding: 64px 0 36px; }
  #products .products-selection .total-products { display: none; }
  #products .products-selection { justify-content: flex-start; }
  #left-column, #content-wrapper { width: 100%; float: none; padding: 0; }
}

@media (max-width: 560px) {
  #products .products { grid-template-columns: 1fr; gap: 36px; }
  .ea-footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .ea-footer__bottom { flex-direction: column; gap: 10px; }
  .ea-hero__cta .ea-btn, .ea-product__cta .ea-btn { flex: 1 1 100%; }
  .ea-searchbox .ea-btn { display: none; }
  #header .ea-searchbox input[type="text"] { padding-right: 4px; }
  .ea-btn { padding: 0 20px; }
  .ea-thumb { width: 72px; height: 54px; }
  .pagination { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .ea-hero__reticle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ea-marquee__track { animation: none; }
  .ea-hero__word, .ea-hero__stage { transform: none; }
  .ea-hero__reticle { display: none; }
  .ea-js [data-ea-reveal] { opacity: 1; transform: none; }
}
