/* Runology : site en un seul thème (marron, sable, rouge piste), comme la marque. */
/* Polices hébergées sur le site (aucun appel à Google Fonts). */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); }
:root {
  --esp: #3d2b22;
  --esp-2: #2e2019;
  --sab: #e6d9c2;
  --creme: #f6f1e8;
  --blanc: #fffdf9;
  --piste: #e5472b;
  --piste-txt: #b8331b;
  --nuit: #1c1a17;
  --gris: #6b625a;
  --ligne: #e0d5c3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--nuit); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: .95; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(34px, 5vw, 54px); }
h3 { font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.in { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.k { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.accent { color: var(--piste-txt); }
.muted { color: var(--gris); }
.small { font-size: 14px; }
.lead { font-size: 19px; line-height: 1.55; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--piste); outline-offset: 2px; }
svg.wm { display: block; width: 100%; height: auto; fill: currentColor; }
.lanes { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 78px, rgba(230,217,194,.14) 78px 80px); }

/* en-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--esp); color: var(--sab); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--esp); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.logo { width: 150px; color: var(--sab); display: block; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sab); }
.nav .cta-sm { background: var(--piste); color: var(--nuit); padding: 8px 14px; border: 0; }
.nav .cta-sm:hover { background: #f05a3e; }
@media (max-width: 640px) { .bar { justify-content: center; } .nav { gap: 14px; font-size: 14px; justify-content: center; } .logo { width: 130px; } }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--piste); color: var(--nuit); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 14px 24px; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: #f05a3e; }
.btn.ghost { background: transparent; color: var(--sab); box-shadow: inset 0 0 0 2px var(--sab); }
.btn.ghost:hover { background: rgba(230,217,194,.12); }
.btn.ghost.dark { color: var(--esp); box-shadow: inset 0 0 0 2px var(--esp); }
.btn.full { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--piste-txt); text-decoration: none; }

/* héros */
.hero { position: relative; overflow: hidden; background: var(--esp); color: var(--sab); }
.hero-in { position: relative; padding-block: 88px 120px; display: grid; gap: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(54px, 10vw, 128px); line-height: .86; }
.hero sup { font-size: .4em; vertical-align: .9em; text-transform: lowercase; }
.hero-k { color: #cbb995; }
.hero-p { max-width: 54ch; font-size: 19px; color: #e9dfcd; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-lane { position: absolute; left: 0; right: 0; bottom: 40px; height: 20px; background: var(--piste); }

/* sections */
.sec { padding-block: 88px; }
.band { background: var(--creme); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.rev .photo { order: 2; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.photo { margin: 0; background: #e9e6e1; overflow: hidden; }
.photo img { width: 100%; object-fit: cover; }
.photo figcaption { font-size: 14px; color: var(--gris); padding-top: 8px; background: var(--blanc); }
.photo.tall img { aspect-ratio: 491 / 556; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio .photo img { aspect-ratio: 1; }
.head2 { display: grid; gap: 12px; margin-bottom: 40px; }
.head2 .k { color: var(--piste-txt); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ligne); border: 2px solid var(--ligne); counter-reset: f; }
.feats li { background: var(--blanc); padding: 22px; display: grid; gap: 8px; align-content: start; counter-increment: f; }
.feats li::before { content: counter(f, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--piste-txt); font-size: 15px; }
.feats b { font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.feats span { font-size: 15px; color: var(--gris); }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 3px solid var(--esp); }
.numbers > div { padding-top: 20px; display: grid; gap: 8px; }
.num { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: .85; color: var(--esp); }
.num.sm { font-size: 44px; color: var(--piste-txt); }
.cta-band { position: relative; overflow: hidden; background: var(--esp); color: var(--sab); }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-in > div { display: grid; gap: 14px; }
.cta-in .k { color: #cbb995; }
@media (max-width: 860px) {
  .split, .split.rev, .cta-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.rev .photo { order: 0; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding-block: 64px; }
}
@media (max-width: 560px) { .trio, .numbers, .feats { grid-template-columns: minmax(0, 1fr); } .hero-in { padding-block: 64px 100px; } }

/* formulaire */
.signup { display: grid; gap: 12px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border: 2px solid var(--sab); background: var(--blanc); color: var(--nuit); border-radius: 0; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.signup .consent input { margin-top: 3px; accent-color: var(--piste); flex: none; }
.cta-band .consent { color: #e3d7c2; }
.form-msg { font-size: 15px; font-weight: 600; padding: 10px 12px; background: var(--sab); color: var(--esp); }

/* produit */
.prod-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 90px; }
.gallery .main img { aspect-ratio: 491 / 556; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumb { padding: 0; border: 2px solid transparent; background: #e9e6e1; cursor: pointer; }
.thumb img { aspect-ratio: 9 / 10; object-fit: cover; width: 100%; }
.thumb.on { border-color: var(--piste); }
.buy { display: grid; gap: 20px; min-width: 0; }
.ptitle { font-weight: 800; font-size: clamp(44px, 6vw, 72px); line-height: .9; }
.price { font-family: var(--display); font-weight: 700; font-size: 34px; }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.opt legend { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; display: flex; gap: 14px; padding: 0; margin-bottom: 10px; }
.opt legend a { color: var(--piste-txt); font-weight: 600; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-width: 56px; justify-content: center; padding: 10px 16px; border: 2px solid var(--ligne); font-family: var(--display); font-weight: 700; font-size: 18px; cursor: pointer; }
.chip input:checked + span { border-color: var(--esp); background: var(--esp); color: var(--sab); }
.chip input:focus-visible + span { outline: 3px solid var(--piste); outline-offset: 2px; }
.chip.sw i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(230,217,194,.6); }
.buy-soon { background: var(--creme); padding: 22px; display: grid; gap: 12px; }
.soon-tag { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--esp); }
.buy-soon .signup input[type="email"] { border-color: var(--ligne); }
.buy-open { display: grid; gap: 10px; }
.acc details { border-top: 1px solid var(--ligne); padding: 14px 0; }
.acc details:last-child { border-bottom: 1px solid var(--ligne); }
.acc summary { font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.acc summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--piste-txt); }
.acc details[open] summary::after { content: "–"; }
.acc ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
@media (max-width: 860px) { .prod-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .gallery { position: static; } }

/* tailles et pages de texte */
.narrow { max-width: 820px; display: grid; gap: 22px; }
.center { text-align: center; justify-items: center; }
.table-wrap { overflow-x: auto; }
.sizes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sizes th, .sizes td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--ligne); }
.sizes thead th { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; background: var(--esp); color: var(--sab); }
.sizes tbody th { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--esp); }
.sizes tbody tr:nth-child(even) { background: var(--creme); }
.note, .draft { font-size: 15px; padding: 12px 16px; border-left: 4px solid var(--piste); background: var(--creme); }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 12px; }
.howto > div { display: grid; gap: 8px; align-content: start; }
.howto p:last-child { font-size: 15px; color: var(--gris); }
@media (max-width: 680px) { .howto { grid-template-columns: minmax(0, 1fr); } }
.legal h2 { font-size: 26px; margin-top: 18px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }

/* pied de page */
.foot { background: var(--esp-2); color: var(--sab); padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid > div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-grid a { text-decoration: none; color: #e3d7c2; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid .k { color: #cbb995; }
.foot .muted { color: #b9a98d; }
.foot-brand svg { width: 170px; }
.foot-end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #b9a98d; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(230,217,194,.18); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* bouton Instagram du pied de page */
.foot .ig { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px; padding: 9px 14px 9px 10px; border: 1.5px solid rgba(230,217,194,.45); color: var(--sab); font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; transition: border-color .15s, background .15s; }
.foot .ig svg { width: 22px; height: 22px; padding: 3px; background: var(--piste); fill: var(--esp-2); flex: none; }
.foot .ig:hover { border-color: var(--sab); background: rgba(230,217,194,.08); text-decoration: none; }
