:root {
  --bg: #0d0d0d;
  --bg-2: #171412;
  --card: #1f1a17;
  --text: #f4ede4;
  --muted: #b3a89b;
  --accent: #f08a1c;
  --accent-2: #d62828;
  --radius: 14px;
  --line: #2a2420; --line-2: #3a312b; --input-bg: #120f0d; --footer-bg: #080808;
  --header-bg: rgba(13, 13, 13, .92); --thumb-1: #2b1a0d; --thumb-2: #1a100a;
  --price: #f08a1c; --link: #f08a1c; color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: .5px; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a { font-weight: 600; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s; }
nav a:hover, nav a.active { color: var(--text); border-color: var(--accent); }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.8rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; border: 0;
  background: var(--accent); color: #111; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #ffa033; }
.btn.outline { background: transparent; color: var(--text); border: 2px solid var(--accent); }
.btn.outline:hover { background: var(--accent); color: #111; }

/* Hero */
.hero {
  min-height: 78vh; display: flex; align-items: center; padding: 72px 0;
  background: linear-gradient(90deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.6) 45%, rgba(13,13,13,.1) 100%),
              url("images/burger.webp") center / cover no-repeat;
}
.hero .container { display: block; }
.hero .container > div { max-width: 540px; }
.tag { color: #f5a04a; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; }
.hero { color: #f4ede4; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 12px 0 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: #d6cabb; max-width: 480px; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--bg-2); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-title p { color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card .icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); }

/* Products */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--text); font-weight: 600; cursor: pointer; transition: .2s;
}
.filters button.active, .filters button:hover { background: var(--accent); color: #111; border-color: var(--accent); }
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product .thumb {
  height: 150px; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(135deg, var(--thumb-1), var(--thumb-2));
}
.product .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price { color: var(--price); font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.product p { margin: 8px 0 0; font-size: .95rem; }
.notice { text-align: center; color: var(--muted); margin-top: 28px; font-size: .9rem; }

/* Banner */
.banner { text-align: center; background: linear-gradient(120deg, var(--accent-2), #8f1414); }
.banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 10px; }
.banner p { margin-bottom: 22px; }
.banner .btn { background: #fff; }

/* Page heading */
.page-head { padding: 56px 0 8px; text-align: center; background: radial-gradient(circle at 50% 0%, var(--thumb-1) 0%, var(--bg) 70%); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .icon { font-size: 1.5rem; }
.info-item small { color: var(--muted); display: block; }
.info-item a:hover { color: var(--accent); }
form label { display: block; font-weight: 600; margin-bottom: 6px; }
form .field { margin-bottom: 18px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--input-bg); color: var(--text); font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 14px; color: #6fd48a; font-weight: 600; min-height: 1.4em; }

/* Footer */
footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 36px 0 20px; color: var(--muted); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer h4 { color: var(--text); margin-bottom: 6px; }
footer a:hover { color: var(--accent); }
.copy { text-align: center; font-size: .85rem; margin-top: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .burger { display: block; }
  nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  nav a { display: block; padding: 12px 0; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .hero {
    padding: 44px 0; min-height: 70vh;
    background: linear-gradient(0deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,.5) 100%),
                url("images/burger.webp") 70% center / cover no-repeat;
  }
}

/* Polish */
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: #111; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 0; }
.card-title { margin-bottom: 22px; }
.notice.left { text-align: left; }
.notice.more a { color: var(--accent); font-weight: 700; }
.notice.more a:hover { text-decoration: underline; }
.card.product { transition: transform .2s, border-color .2s, box-shadow .2s; }
.card.product:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
.product .thumb { transition: transform .3s; }
.product:hover .thumb { transform: scale(1.06); }
.filters button[aria-pressed="true"] { background: var(--accent); color: #111; border-color: var(--accent); }
.hero h1, .page-head h1 { text-wrap: balance; }
.hero p, .section-title p { text-wrap: pretty; }
.form-msg { color: #7ee09a; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .card.product:hover { transform: none; }
}

/* Thème clair */
:root[data-theme="light"] {
  --bg: #fbf7f1; --bg-2: #f1e9dd; --card: #ffffff; --text: #231a14; --muted: #6b5d51;
  --line: #e6dccd; --line-2: #d4c6b3; --input-bg: #fffdf9; --footer-bg: #efe6d8;
  --header-bg: rgba(251, 247, 241, .92); --thumb-1: #ffe3c2; --thumb-2: #ffd0a0;
  --price: #b85a00; --link: #b85a00; color-scheme: light;
}
:root[data-theme="light"] .form-msg { color: #1e7a3a; }
:root[data-theme="light"] .card.product:hover { box-shadow: 0 12px 28px rgba(80, 50, 20, .15); }
:root[data-theme="light"] .banner { color: #fff; }
.notice.more a { color: var(--link); }

/* Boutons d'affichage */
.header-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .view-toggle button {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer; transition: .2s;
}
.theme-toggle:hover, .view-toggle button:hover { border-color: var(--accent); }
.toolbar { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.toolbar .filters { margin-bottom: 0; }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button[aria-pressed="true"] { background: var(--accent); color: #111; border-color: var(--accent); }

/* Vue liste */
.grid.list, .grid.cols-3.list { grid-template-columns: 1fr; gap: 14px; }
.grid.list .product { flex-direction: row; align-items: stretch; }
.grid.list .product .thumb { height: auto; width: 110px; flex: none; font-size: 2.6rem; }
.grid.list .product .body { justify-content: center; padding: 14px 20px; }
@media (max-width: 640px) {
  .grid.list .product .thumb { width: 78px; font-size: 2rem; }
  .grid.list.cols-3 { grid-template-columns: 1fr; }
}
.nav nav { margin-left: auto; margin-right: 20px; }
