/* Flippers Sélection : feuille de style unique (sans framework, polices système) */
:root {
  --bg: #fbf6ea;
  --surface: #ffffff;
  --surface-2: #f3ecdc;
  --ink: #15183a;
  --muted: #4c4f6b;
  --line: #d9cfb8;
  --accent: #9b1c2c;
  --accent-ink: #ffffff;
  --gold: #f2c230;
  --gold-ink: #15183a;
  --navy: #15183a;
  --shadow: 4px 4px 0 var(--navy);
  --radius: 10px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Bold", "Roboto Condensed", "Liberation Sans Narrow", sans-serif-condensed, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1026;
    --surface: #161a3a;
    --surface-2: #1d2248;
    --ink: #f1eee6;
    --muted: #b9bbd4;
    --line: #2f3566;
    --accent: #ff6b7d;
    --accent-ink: #0d1026;
    --gold: #ffd23f;
    --gold-ink: #0d1026;
    --navy: #05061a;
    --shadow: 4px 4px 0 #000;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1026; --surface: #161a3a; --surface-2: #1d2248; --ink: #f1eee6; --muted: #b9bbd4;
  --line: #2f3566; --accent: #ff6b7d; --accent-ink: #0d1026; --gold: #ffd23f; --gold-ink: #0d1026;
  --navy: #05061a; --shadow: 4px 4px 0 #000;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; }

/* ---------- en-tête « fronton » ---------- */
.site-head {
  background: var(--navy);
  color: #f6f1e4;
  border-bottom: 6px solid var(--gold);
  position: relative;
}
.site-head::after {
  content: ""; display: block; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, transparent 14px 28px);
  opacity: .9;
}
.head-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, #c9ccd8 26%, #6b708c 60%, #2a2e4a 100%);
  box-shadow: 0 0 0 3px var(--gold);
}
.brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.brand small { display: block; font-size: .82rem; color: #d8d4c6; letter-spacing: .02em; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.nav a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; color: #f6f1e4; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent;
}
.nav a:hover { border-color: var(--gold); }
.nav a[aria-current="page"] { background: var(--gold); color: #15183a; }

/* ---------- contenu ---------- */
main { padding-top: 22px; padding-bottom: 56px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.eyebrow {
  display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 4px;
  background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .03em; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); margin: 40px 0 14px; }
.lead { font-size: 1.12rem; max-width: 62ch; color: var(--muted); margin: 0 0 24px; }
.lead strong { color: var(--ink); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- galeries ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card {
  background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; height: 100%; margin: 0;
}
.card .pic { display: flex; align-items: center; justify-content: center; background: var(--surface-2); aspect-ratio: 4 / 3; padding: 10px; }
.card .pic img { max-height: 100%; width: auto; object-fit: contain; }
.card figcaption, .card .cap { padding: 10px 14px 14px; font-size: .95rem; font-weight: 600; }
.card .cap a { color: var(--ink); text-decoration: none; }
.card .cap a:hover { text-decoration: underline; color: var(--accent); }
.card .cap small { display: block; font-weight: 400; color: var(--muted); }
.card:has(a:hover) { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--navy); }

.extras { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-top: 28px; }
.extras figure { margin: 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; }

/* ---------- fiche produit ---------- */
.item { display: grid; gap: 24px; align-items: start; }
@media (min-width: 820px) { .item { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.item-photo { margin: 0; background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; justify-content: center; }
.specs { background: var(--surface); border-left: 6px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; }
.specs p { margin: 0 0 8px; }
.specs p:last-child { margin-bottom: 0; }
.specs .name { font-family: var(--display); font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 16px; border-top: 2px dashed var(--line); }
.btn {
  display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #f6f1e4; text-decoration: none; font-weight: 600;
  border: 2px solid var(--navy);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 160px; width: 100%; background: repeating-linear-gradient(45deg, var(--surface-2) 0 10px, var(--surface) 10px 20px); color: var(--muted); font-weight: 600; border-radius: 6px; }

/* ---------- accueil historique / contact ---------- */
.hero { display: grid; gap: 24px; align-items: center; background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 28px; }
@media (min-width: 760px) { .hero { grid-template-columns: auto 1fr auto; } }
.hero figure { margin: 0; justify-self: center; }
.contact-card { background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.contact-card address { font-style: normal; }
.contact-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; }
.contact-card dt { font-weight: 700; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
.cols { display: grid; gap: 22px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }
.photo { margin: 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; }
.cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.cats a { display: block; padding: 12px 14px; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; }
.cats a:hover { background: var(--gold); color: var(--gold-ink); }

/* ---------- pied de page ---------- */
.site-foot { background: var(--navy); color: #d8d4c6; border-top: 6px solid var(--gold); padding: 30px 0 24px; font-size: .93rem; }
.site-foot a { color: #ffe27a; }
.foot-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1.1fr 1fr 1fr; } }
.site-foot h2 { font-size: 1.15rem; margin: 0 0 8px; color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 3px 0; }
.site-foot address { font-style: normal; }
.legal { grid-column: 1 / -1; border-top: 1px solid #3a3f6e; padding-top: 14px; font-size: .85rem; color: #b8b5aa; }

@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform .15s ease, box-shadow .15s ease; }
}
@media print {
  .site-head::after, .nav, .skip, .pager { display: none; }
  .site-head, .site-foot { background: none; color: #000; }
}
.card .placeholder { min-height: 0; height: 100%; }
