/* ============================================================
   base.css — reset, typographie, utilitaires, a11y
   Portage du design « Le Magasin » (startrack-refont V2)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: .75rem 1.25rem; z-index: 999;
  font-size: var(--text-sm); font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden,
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; }
.section-pad { padding-block: var(--section-pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc, var(--red));
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: currentColor;
}
.eyebrow--light { color: rgba(255,255,255,.85); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.section-head h2 { font-size: var(--text-2xl); }
.section-head .eyebrow { margin-bottom: .55rem; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .03em;
  border: 2px solid transparent;
  background: var(--ink);
  color: #fff;
  transition:
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); box-shadow: none; }
.btn--red:hover { background: var(--red-deep); box-shadow: var(--shadow-pop); }

.btn--orange { background: var(--orange); }
.btn--orange:hover { background: var(--orange-deep); box-shadow: 0 14px 34px rgba(255,122,0,.32); }

.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--white { background: #fff; color: var(--ink); box-shadow: none; }
.btn--white:hover { box-shadow: 0 14px 34px rgba(0,0,0,.22); }

.btn--light { background: #fff; color: var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--orange); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.28); }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }

.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .05em;
  padding: .32rem .6rem;
  background: var(--ink); color: #fff;
}
.badge--red    { background: var(--red); }
.badge--orange { background: var(--orange); }
.badge--green  { background: var(--green); }

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: .26rem .55rem;
  background: var(--bg-sand);
  color: var(--ink-2);
  white-space: nowrap;
}

.link-arrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--red);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur-fast) ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.spec-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .3rem .6rem;
  background: var(--bg-sand);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}

.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;
}

[data-reveal].pre-reveal {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal] {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-sand); }
::-webkit-scrollbar-thumb { background: #CFC7BB; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

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