/* Ébullition permanente — direction « bold typographique ». */
:root {
  --encre: #0e0e0e;
  --papier: #f2f0eb;
  --accent: #ff4d17;
  --marge: 4vw;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--papier);
  color: var(--encre);
  font-family: Archivo, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
ol { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 2px; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Lien d'évitement, visible seulement au clavier */
.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--encre); color: var(--papier); padding: 10px 14px;
}
.evitement:focus { top: 12px; }

/* Barre du haut */
.barre {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px var(--marge);
  border-bottom: 2px solid var(--encre);
}
.barre nav { display: flex; gap: 18px; }
.barre nav a { text-underline-offset: 4px; }

/* En-tête */
.tete { padding: 5vw var(--marge) 4vw; border-bottom: 2px solid var(--encre); }
[data-ajuste] { display: block; white-space: nowrap; }
.tete h1 {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -.05em;
  line-height: .8;
  font-size: 11.5vw;
}
.tete h1 .l2 {
  display: flex; align-items: baseline; gap: 2vw;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .82;
  font-size: 15vw;
}
.point {
  flex: none; width: .13em; height: .13em; border-radius: 50%;
  background: var(--accent);
  animation: monte 1.6s cubic-bezier(.2, .8, .2, 1) 1;
}
@keyframes monte { from { transform: translateY(.5em); opacity: 0; } }

.rangee {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4vw;
  margin-top: 4vw; align-items: end;
}
.intro {
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 600; line-height: 1.15; letter-spacing: -.01em; max-width: 26ch;
}
.auteur { margin-top: 18px; }
.auteur a, .pied a { text-underline-offset: 4px; }
.sommaire { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Produits */
.produit {
  background: var(--c);
  color: var(--t);
  border-bottom: 2px solid var(--encre);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 46vw;
  scroll-margin-top: 0;
}
.produit > * { min-width: 0; }
.produit:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.produit:nth-of-type(even) .visuel { order: -1; border-left: 0; border-right: 2px solid var(--encre); }

.texte { padding: 3.5vw var(--marge); display: flex; flex-direction: column; gap: 2.4vw; }
.haut { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.produit h2 {
  font-weight: 900;
  font-variation-settings: "wdth" 112;
  font-size: 10.5vw;
  line-height: .82;
  letter-spacing: -.055em;
}
.accroche {
  font-size: clamp(22px, 2.9vw, 44px);
  font-weight: 800; line-height: 1.02; letter-spacing: -.025em; max-width: 16ch;
}
.description { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; max-width: 46ch; }
.infos { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pastille { border: 1.5px solid currentColor; border-radius: 99px; padding: 6px 12px; }
.action {
  background: var(--t); color: var(--c);
  border-radius: 99px; padding: 8px 16px;
  font-weight: 600; text-decoration: none;
  transition: transform .2s;
}
.action:hover { transform: translateY(-2px); }

.visuel {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  padding: 4vw;
  border-left: 2px solid var(--encre);
}
.filigrane {
  position: absolute; right: -2vw; bottom: -4vw;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 26vw; line-height: .8; letter-spacing: -.06em;
  opacity: .12; pointer-events: none;
}
.cadre { position: relative; z-index: 1; object-fit: cover; }
.cadre.vide {
  background: color-mix(in srgb, var(--c) 72%, #fff);
  border: 2px solid var(--encre);
}
.telephone { width: min(260px, 62%); aspect-ratio: 9 / 19.5; border-radius: 34px; }
.mac { width: 92%; aspect-ratio: 16 / 10; border-radius: 10px; }
.duo { display: flex; align-items: flex-end; justify-content: center; gap: 4%; width: 100%; }
.duo .mac { width: 74%; }
.duo .telephone { width: 22%; border-radius: 20px; }

/* Pied */
.pied {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 28px var(--marge);
  background: var(--encre); color: var(--papier);
}

/* Mobile */
@media (max-width: 700px) {
  :root { --marge: 20px; }
  .barre nav { display: none; }
  .tete { padding: 32px var(--marge); }
  .rangee { grid-template-columns: 1fr; margin-top: 24px; }
  .auteur { margin-top: 18px; }
.auteur a, .pied a { text-underline-offset: 4px; }
.sommaire { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; text-align: left; font-size: 11px; }
  .produit, .produit:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .visuel, .produit:nth-of-type(even) .visuel { order: 0; border: 0; border-top: 2px solid var(--encre); padding: 32px 20px; }
  .texte { padding: 28px var(--marge); gap: 18px; }
  .haut { font-size: 11px; }
  .produit h2 { font-size: 19vw; }
  .duo .mac { width: 76%; }
}

/* Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
