/* ==========================================================================
   MOSS — Machines Outils Systèmes Spécialisés · version 2
   Identité graphique conservée : ardoise bleue nuit #10222e / crème #ebe7d9
   Accent rouge logo #f45038
   ========================================================================== */

:root {
  --bg: #10222e;
  --bg-raised: #16303f;
  --bg-card: #1a3747;
  --border: #2a4a5c;
  --text: #ebe7d9;
  --text-muted: #9db2bd;
  --text-dim: #6d8291;
  --accent: #ebe7d9;
  --accent-ink: #10222e;
  --red: #f45038;
  --red-soft: rgba(244, 80, 56, 0.14);
  --red-line: rgba(244, 80, 56, 0.45);
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 9px;
  --max-w: 1140px;
  --header-h: 76px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* fond atmosphere : grille blueprint + lueurs dérivantes */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 480px at 88% -8%, rgba(244, 80, 56, 0.13), transparent 62%),
    radial-gradient(640px 520px at -10% 32%, rgba(42, 74, 92, 0.35), transparent 60%),
    radial-gradient(520px 420px at 55% 108%, rgba(244, 80, 56, 0.07), transparent 65%);
  animation: ambient-drift 22s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(157, 178, 189, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 178, 189, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 80%);
}
@keyframes ambient-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
}

main { flex: 1; padding-bottom: 84px; }

::selection { background: var(--red); color: var(--white); }

/* --- Barre de progression de lecture --------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), #ff7a63);
  pointer-events: none;
}

/* --- Typographie ------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.14;
  font-weight: 680;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.15rem, 4.8vw, 3.55rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.25rem); margin-bottom: 12px; }
h3 { font-size: 1.12rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.lede { color: var(--text-muted); font-size: 1.08rem; max-width: 62ch; }

.section-head { margin-bottom: 40px; }
.section-head .lede { margin-top: 10px; }

/* --- Boutons ----------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* reflet qui traverse le bouton */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff6a52);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(244, 80, 56, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(244, 80, 56, 0.45);
  transform: translateY(-3px);
}

.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(22, 48, 63, 0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--bg-raised); border-color: var(--red-line); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* --- Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.25s var(--ease);
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand .logo-mark { color: var(--accent); height: 30px; width: auto; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.brand:hover .logo-mark { transform: scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 0.96rem; letter-spacing: 0.01em; }
.brand-text small {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(244, 80, 56, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a.nav-cta {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  margin-left: 6px;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { border-color: var(--red); color: var(--red); box-shadow: 0 0 18px rgba(244, 80, 56, 0.25); }
.main-nav a.nav-cta[aria-current="page"] { color: var(--white); background: var(--red); border-color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 10px;
  cursor: pointer;
}

/* --- Bandeau défilant (marquee) ------------------------------------------------ */
.ticker {
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg-raised), var(--bg-card), var(--bg-raised));
  overflow: hidden;
  padding: 11px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-raised), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-raised), transparent); }
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker-scroll 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 26px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-track span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(244, 80, 56, 0.8);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Hero ---------------------------------------------------------------------- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -140px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(244, 80, 56, 0.2), transparent 65%);
  filter: blur(6px);
  animation: hero-glow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-glow {
  from { transform: scale(1) translate(0, 0); opacity: 0.85; }
  to   { transform: scale(1.18) translate(-4%, 6%); opacity: 1; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 9px;
  background: var(--red-soft);
  z-index: -1;
  border-radius: 3px;
}
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(22, 48, 63, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.badge-live .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 80, 56, 0.55); }
  60% { box-shadow: 0 0 0 8px rgba(244, 80, 56, 0); }
}

.hero-visual {
  background: linear-gradient(160deg, var(--bg-raised), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(244, 80, 56, 0.1));
  pointer-events: none;
}
.hero-visual::after {
  /* anneau tournant derrière le logo */
  content: "";
  position: absolute;
  top: -34px; left: 50%;
  width: 340px; height: 340px;
  translate: -50% 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(244, 80, 56, 0.3);
  animation: ring-spin 26s linear infinite;
  pointer-events: none;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-visual .logo-float { animation: logo-float 6.5s ease-in-out infinite; }
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual .logo-mark {
  color: var(--accent);
  width: min(320px, 80%);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}
.hero-visual .logo-mark path { fill: currentColor; }

.stat-row { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  position: relative;
  font-variant-numeric: tabular-nums;
}
.stat b::after {
  content: "";
  display: block;
  width: 22px; height: 3px;
  margin: 6px auto 0;
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(244, 80, 56, 0.8);
}
.stat span { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* --- Sections ------------------------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-raised) 55%, var(--bg)), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Cartes génériques ------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(165deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 82%, var(--bg)));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 72%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card::after {
  /* halo qui suit le curseur (vars --mx/--my posées par JS) */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 80, 56, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--red-line); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }

.card .card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(244, 80, 56, 0.45);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* --- Grille des créations ----------------------------------------------------------- */
.creations-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.sync-note { font-size: 0.8rem; color: var(--text-dim); }
.sync-note b { color: var(--text-muted); font-weight: 550; }
.sync-note a { color: var(--red); }
.sync-note a:hover { text-decoration: underline; }

.tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}
.search-field svg {
  position: absolute;
  left: 15px; top: 50%;
  translate: 0 -50%;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.15s ease;
}
.search-field input {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 11px 18px 11px 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-field input::placeholder { color: var(--text-dim); }
.search-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.search-field:focus-within svg { color: var(--red); }

.sort-field select {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.sort-field select:hover, .sort-field select:focus {
  outline: none;
  border-color: var(--red-line);
  color: var(--text);
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--red-line); transform: translateY(-2px); }
.filter-btn[aria-pressed="true"] {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(244, 80, 56, 0.35);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 24px;
}

.item-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease), border-color 0.2s ease, box-shadow 0.3s var(--ease);
  will-change: transform;
}
.item-card.tilting { transition: border-color 0.2s ease, box-shadow 0.3s var(--ease); }
.item-card:hover {
  border-color: var(--red-line);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.item-media {
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.item-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(244, 80, 56, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.item-card:hover .item-media::after { opacity: 1; }
.item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.4s ease;
}
.item-card:hover .item-media img { transform: scale(1.07); filter: saturate(1.12); }
.item-media .placeholder { color: var(--text-dim); font-size: 0.8rem; padding: 20px; text-align: center; }

.item-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}
.item-title { font-size: 0.9rem; font-weight: 550; line-height: 1.4; min-height: 2.5em; }
.item-cat {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 3px 10px;
}
.item-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.item-price { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--white); white-space: nowrap; }
.item-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, gap 0.2s var(--ease);
}
.item-card:hover .item-link { color: var(--red); gap: 9px; }

.grid-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* --- Réparations : process -------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 8px;
  counter-reset: step;
}
.process-step {
  background: linear-gradient(165deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 82%, var(--bg)));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s var(--ease);
}
.process-step::after {
  /* trait connecteur entre les étapes */
  content: "";
  position: absolute;
  top: 44px; right: -22px;
  width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red-line) 0 6px, transparent 6px 12px);
}
.process-step:last-child::after { display: none; }
.process-step:hover { transform: translateY(-5px); border-color: var(--red-line); box-shadow: var(--shadow); }
.process-step .step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6a52, var(--red));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--red-soft), 0 6px 16px rgba(244, 80, 56, 0.35);
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

.callout {
  margin-top: 44px;
  background:
    radial-gradient(480px circle at 92% 0%, rgba(244, 80, 56, 0.16), transparent 60%),
    linear-gradient(140deg, var(--bg-card), var(--bg-raised));
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.callout:hover { border-color: var(--red-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.callout h3 { font-size: 1.2rem; margin-bottom: 6px; }
.callout p { color: var(--text-muted); font-size: 0.92rem; max-width: 54ch; }

/* --- Contact ------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.22s var(--ease), border-color 0.2s ease;
}
.info-item:hover { transform: translateX(5px); border-color: var(--red-line); }
.info-item .card-icon { width: 40px; height: 40px; margin: 0; flex-shrink: 0; border-radius: 11px; }
.info-item b { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.info-item span, .info-item a { color: var(--text-muted); font-size: 0.9rem; }
.info-item a:hover { color: var(--text); }

.contact-form {
  background: linear-gradient(170deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 85%, var(--bg)));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(244, 80, 56, 0.1));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-dim); }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
  animation: card-in 0.4s var(--ease) both;
}
.form-status.ok { display: block; background: rgba(74, 166, 116, 0.15); border: 1px solid rgba(74, 166, 116, 0.4); color: #9fd4b4; }
.form-status.err { display: block; background: rgba(196, 84, 84, 0.15); border: 1px solid rgba(196, 84, 84, 0.4); color: #e0a3a3; }

/* --- Footer ------------------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 70%, var(--bg)));
  padding: 48px 0 34px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 40%, transparent 70%);
  opacity: 0.55;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer-brand .logo-mark { color: var(--accent); height: 22px; width: auto; }
.footer-brand p { font-size: 0.82rem; color: var(--text-dim); }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-col a { color: var(--text-muted); transition: color 0.15s ease, padding-left 0.2s var(--ease); }
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-legal code { color: var(--text-muted); background: var(--bg); padding: 1px 6px; border-radius: 5px; }

/* --- Animations au scroll (IntersectionObserver) ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  filter: blur(6px);
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ticker-track { animation: none; }
}

/* --- Volets partenariats ------------------------------------------------------------------- */
.partner-band {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-raised) 55%, var(--bg)), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.partner-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s var(--ease);
}
.partner-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), rgba(244, 80, 56, 0.2));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card:hover { transform: translateY(-6px); border-color: var(--red-line); box-shadow: var(--shadow); }

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  border-radius: 999px;
  padding: 5px 12px;
}
.partner-card h3 { font-size: 1.12rem; }
.partner-card .partner-role { color: var(--text-muted); font-size: 0.92rem; flex: 1; }
.partner-card .partner-ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--white);
  transition: color 0.15s ease, gap 0.2s var(--ease);
}
.partner-card:hover .partner-ref { color: var(--red); gap: 11px; }

.partner-logo {
  align-self: flex-start;
  max-width: 150px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  filter: saturate(0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.partner-card:hover .partner-logo { transform: scale(1.04); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.partner-logo--dark { background: #000; }

/* --- Apparition dynamique des cartes eBay ---------------------------------------------------- */
@keyframes card-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.item-card.anim-in {
  opacity: 0;
  animation: card-in 0.6s var(--ease) forwards;
  animation-delay: var(--card-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .item-card.anim-in { animation: none; opacity: 1; }
}

/* --- Pièces jointes (formulaire de contact) ---------------------------------------------------- */
.attach-field { margin-bottom: 18px; }
.attach-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.attach-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}
.attach-drop:hover, .attach-drop.dragover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--text-muted);
}
.attach-drop:hover { transform: translateY(-2px); }
.attach-drop input[type="file"] { display: none; }
.attach-drop .attach-hint { font-size: 0.78rem; }
.attach-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.attach-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  animation: card-in 0.35s var(--ease) both;
}
.attach-chip .chip-size { color: var(--text-dim); font-size: 0.78rem; white-space: nowrap; }
.attach-chip button {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.attach-chip button:hover { color: var(--red); background: var(--red-soft); }

/* --- Bouton retour en haut --------------------------------------------------------------------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 55;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(244, 80, 56, 0.45);
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s ease;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: #ff6a52; transform: translateY(-3px); }

/* --- Responsive ----------------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .process-step::after { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 50px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; animation: card-in 0.3s var(--ease) both; }
  .main-nav a { padding: 12px 16px; }
  .main-nav a.nav-cta { margin-left: 0; margin-top: 6px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .brand-text small { display: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .callout { padding: 26px 24px; }
  .back-top { right: 16px; bottom: 16px; }
}
