/* Cafe Joliette - Design System Chamaran eCommerce */


:root {
  /* Look « café de quartier » (validé par le propriétaire le 2026-09-28) */
  --bg: #F6F1EA; --bg-soft: #EFE6DA; --bg-ink: #2B1D14;
  --ink: #2B1D14; --ink-2: #6B5A4E; --muted: #A8998C;
  --line: rgba(43, 29, 20, 0.14); --line-2: rgba(43, 29, 20, 0.07);
  --accent: #8A4A1F; --accent-text: #8A4A1F; --accent-ink: #FFF8F0; --accent-soft: rgba(184, 115, 58, 0.12);
  --copper: #9A5A27; --card: #FBF7F1; --counter: #E8DCCB; --espresso: #2B1D14;
  --product-surface: #F1E8DC; --product-ink: #2B1D14;

  --font: 'Montserrat', sans-serif;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 6px; --r-md: 14px; --r-lg: 22px; --r-xl: 28px;

  --shadow-s: 0 2px 10px rgba(43, 29, 20, 0.06);
  --shadow-m: 0 12px 30px rgba(43, 29, 20, 0.10);
  --shadow-l: 0 20px 50px rgba(43, 29, 20, 0.14);

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, 1, .2, 1);
}

/* Thème Sombre (Optionnel) */
:root[data-theme="dark"] {
  --bg: #1B130E; --bg-soft: #241A13; --bg-ink: #F3E9DD;
  --ink: #F3E9DD; --ink-2: #C9B8A6; --muted: #8C7B6C;
  --line: rgba(243, 233, 221, 0.14); --line-2: rgba(243, 233, 221, 0.07);
  --accent: #D08A4E; --accent-text: #E0A26B; --accent-ink: #1B130E; --accent-soft: rgba(208, 138, 78, 0.16);
  --copper: #E0A26B; --card: #241A13; --counter: #EFE6DA; --espresso: #120C08;
  --product-surface: #EFE6DA; --product-ink: #2B1D14;
  --shadow-s: 0 4px 12px rgba(0, 0, 0, 0.3); --shadow-m: 0 12px 32px rgba(0, 0, 0, 0.5); --shadow-l: 0 24px 64px rgba(0, 0, 0, 0.7);
}

/* Corrections Mode Sombre pour Images & Logo */
:root[data-theme="dark"] .pcard .media,
:root[data-theme="dark"] .cat .media,
:root[data-theme="dark"] .hero-stage,
:root[data-theme="dark"] .prod-img-container {
  background-color: var(--product-surface);
}

:root[data-theme="dark"] .brand-logo {
  filter: brightness(0) invert(1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"], ul:not([class]) { list-style: none; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  font-weight: 400;
}
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
a:not([class]) { text-decoration-skip-ink: auto; color: var(--accent-text); }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }

/* Accessibilité */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Typographie - Ecommerce Classique */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-text); display: block; margin-bottom: 12px; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); font-weight: 400; max-width: 650px; margin-bottom: 24px; }
h1, .h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
h2, .h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }

/* Layout */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(60px, 8vw, 100px); }
.head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.head--left { text-align: left; align-items: flex-start; }

/* Boutons & Liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: all 0.3s var(--ease);
  border: 2px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn--primary { background-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background-color: color-mix(in srgb, var(--accent) 85%, black); }
.btn--ghost { background-color: transparent; color: var(--accent-text); border-color: currentColor; }
.btn--ghost:hover { background-color: var(--accent-soft); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Utility Band */
.utility { background-color: var(--bg-soft); color: var(--ink-2); height: 36px; display: flex; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); }
.utility .wrap { display: flex; justify-content: center; width: 100%; align-items: center; }
.utility a { color: var(--ink); text-decoration: none; font-weight: 500; margin-left: 12px; }
.utility a:hover { color: var(--accent-text); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background-color: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); height: 76px; box-shadow: var(--shadow-s);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; text-decoration: none; color: var(--ink); letter-spacing: -0.01em; }
.brand-logo { max-height: 52px; width: auto; object-fit: contain; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand-wordmark strong { color: var(--ink); font-size: 21px; letter-spacing: -0.025em; white-space: nowrap; }
.brand-wordmark small { color: var(--ink-2); font-size: 9px; font-weight: 600; letter-spacing: 0.035em; line-height: 1.25; margin-top: 4px; max-width: 210px; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-text); }
.nav-tools { display: flex; gap: 16px; align-items: center; }
.lang, .theme-toggle { background: none; border: none; padding: 8px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color 0.3s; }
.lang:hover, .theme-toggle:hover { color: var(--accent-text); }
.lang.is-on { color: var(--accent-text); }
.lang a { color: var(--ink-2); padding: 8px 4px; text-decoration: none; }
.lang a:hover, .lang a.is-on { color: var(--accent-text); }
.lang a.is-on { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.theme-toggle, .burger { display: none; }
.js .theme-toggle { display: inline-flex; }
.burger { background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.nojs-navigation { display: none; }
html:not(.js) .header { height: auto; }
html:not(.js) .header > .wrap { height: 76px; }

/* Hero - eCommerce Style */
.hero { position: relative; padding-block: 60px; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; margin: 0; background: var(--bg); border-radius: var(--r-xl); box-shadow: var(--shadow-m); border: 1px solid var(--line); }
.hero-caption { position: absolute; inset-inline: 12px; bottom: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--ink-2); font-size: 12px; line-height: 1.4; }
.hero-cta { display: flex; gap: 16px; margin-top: 32px; }
.hero-badge { position: absolute; bottom: -20px; right: -20px; background: var(--bg); border: 1px solid var(--line); padding: 12px 24px; border-radius: var(--r-md); box-shadow: var(--shadow-s); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--accent); }

/* Stats */
.stats { padding-block: 32px; border-bottom: 1px solid var(--line); background: var(--bg); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; padding: 24px; text-align: center; border-radius: var(--r-md); background: var(--bg-soft); }
.stat b { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--accent-text); margin-bottom: 8px; line-height: 1; }
.stat span { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature { background: var(--bg); border: 1px solid var(--line); padding: 32px; border-radius: var(--r-md); box-shadow: var(--shadow-s); transition: transform 0.3s, box-shadow 0.3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.feature .ico { width: 36px; height: 36px; color: var(--accent); margin-bottom: 24px; }
.feature h3 { font-size: 20px; margin-bottom: 12px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.cat { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: inherit; min-height: 360px; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.cat .media { position: absolute; inset: 0; background: var(--bg-soft); z-index: 0; transition: transform 0.6s var(--ease); }
.cat .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat:hover .media { transform: scale(1.05); }
.cat .body { position: relative; z-index: 1; padding: 32px; width: 100%; background: linear-gradient(to top, rgba(27, 19, 14, 0.9) 0%, rgba(27, 19, 14, 0.55) 55%, rgba(27, 19, 14, 0) 100%); color: #FFF8F0; }
.cat .kicker { color: #E7AE78; }
.cat h3 { font-size: 28px; color: #FFF8F0; margin-bottom: 8px; }
.cat p { font-size: 15px; opacity: 0.9; margin-bottom: 16px; }

/* Product Cards & Filters */
.filters-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.tab { background: var(--bg); border: 1px solid var(--line); padding: 10px 24px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); transition: all 0.3s; box-shadow: var(--shadow-s); }
.tab:hover { border-color: var(--accent-text); color: var(--accent-text); }
.tab.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.grid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.pcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; box-shadow: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.pcard:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink-2) 45%, transparent); box-shadow: var(--shadow-s); }
.pcard .media { width: 100%; min-width: 0; min-height: 0; flex: 0 0 auto; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); position: relative; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.pcard .tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); padding: 4px 12px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; }
.pcard .body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.pcard .series { font-size: 13px; font-weight: 600; color: var(--accent-text); margin-bottom: 4px; display: block; }
.pcard h3 { font-size: 20px; margin-bottom: 8px; }
.pcard .spec { color: var(--ink-2); font-size: 14px; margin-bottom: 24px; flex-grow: 1; }
.pcard .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-top: 16px; margin-top: auto; }
.pcard .price { font-weight: 700; font-size: 18px; color: var(--ink); }

/* Services Band */
.band { background: var(--accent-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.svc { background: var(--bg); border: 1px solid var(--line); padding: 32px; border-radius: var(--r-md); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 16px; }
.svc .ico { color: var(--accent); }
.svc h3 { font-size: 22px; }
.svc p { color: var(--ink-2); font-size: 15px; }

/* Guide Teaser */
.guide-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.guide-teaser { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; width: 100%; min-height: 400px; border-radius: var(--r-lg); background: var(--bg); padding: 40px; text-decoration: none; color: inherit; border: 1px solid var(--line); box-shadow: var(--shadow-m); transition: box-shadow 0.3s; }
.guide-teaser:hover { box-shadow: var(--shadow-l); }
.guide-teaser .gt-kick { font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--accent-text); display: flex; justify-content: space-between; gap: 12px; }
.guide-teaser .gt-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--ink); }
.guide-teaser .gt-title .soft { color: var(--ink-2); display: block; font-weight: 400; margin-top: 8px; }
.guide-teaser .gt-toc { display: flex; flex-direction: column; position: relative; z-index: 1; }
.guide-teaser .gt-row { display: flex; align-items: baseline; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); }
.guide-teaser .gt-row .n { font-weight: 700; color: var(--accent-text); }
.guide-teaser .gt-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); margin-left: auto; font-size: 14px; }
.guide-teaser:hover .gt-cta svg { transform: translateX(4px); }

/* Quotes / Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quote { display: flex; flex-direction: column; gap: 20px; background: var(--bg); border: 1px solid var(--line); padding: 32px; border-radius: var(--r-md); box-shadow: var(--shadow-s); }
.stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.quote p { font-size: 15px; font-style: italic; color: var(--ink-2); flex-grow: 1; }
.who { display: flex; align-items: center; gap: 16px; }
.who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.who span { display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.who b { color: var(--ink); font-size: 15px; font-weight: 700; }

/* CTA */
.cta {
  --ink: #F3E9DD; --ink-2: #D9C8B6; --line: rgba(243, 233, 221, 0.16);
  --accent: #D08A4E; --accent-text: #E7AE78; --accent-ink: #1B130E; --accent-soft: rgba(208, 138, 78, 0.18); --copper: #E7AE78;
  background: var(--espresso); color: var(--ink); border-radius: var(--r-lg); padding: clamp(48px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-m);
}
.cta h2 { margin-bottom: 20px; color: var(--ink); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.cta p { max-width: 600px; margin: 0 auto 40px auto; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* Footer */
.footer { background-color: var(--bg-soft); padding-block: 60px 32px; border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 60px; }
.footer .footer-heading { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.footer a:not(.btn), .footer p { color: var(--ink-2); text-decoration: none; font-size: 14px; display: block; margin-bottom: 12px; transition: color 0.3s; }
.footer a:not(.btn):hover { color: var(--accent-text); }
.footer .btn { display: inline-flex; width: auto; color: var(--accent-ink); margin-bottom: 0; }
.footer .brand-col p { margin-bottom: 8px; }
.footer .bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }

/* Placeholders */
.ph { background: repeating-linear-gradient(45deg, var(--line-2), var(--line-2) 2px, transparent 2px, transparent 12px); border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; font-size: 13px; text-transform: uppercase; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 200; transform: translateY(-100%); transition: transform 0.4s var(--ease); display: flex; flex-direction: column; }
.mobile-menu.is-open { transform: translateY(0); }
.mm-top { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.mobile-menu [data-menu-close] { background: none; border: none; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 8px; }
.mobile-menu nav { padding: 40px 24px; display: flex; flex-direction: column; gap: 24px; flex-grow: 1; overflow-y: auto; }
.mobile-menu nav a { font-size: 28px; font-weight: 700; text-decoration: none; color: var(--ink); }
.mm-cta { padding: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.mm-cta .btn { width: 100%; }

/* Animation Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }


/* Loader */
.vm-loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease); }
.vm-loader[hidden] { display: none !important; opacity: 0; visibility: hidden; pointer-events: none; }
.vm-stage { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.vm-mark { font-size: 32px; font-weight: 800; color: var(--accent-text); }
.vm-bar { width: 160px; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; position: relative; }
.vm-bar span { display: block; height: 100%; width: 40px; background: var(--accent); border-radius: 4px; position: absolute; left: -40px; animation: load 1.2s infinite ease-in-out; }
@keyframes load { 0% { left: -40px; } 100% { left: 100%; } }


/* Columns utility */
.cols { display: grid; grid-template-columns: 1fr 1fr; }
.cols--2 { grid-template-columns: 1fr 1fr; }

/* Utility visibility */
.hide-sm {}
@media (max-width: 760px) { .hide-sm { display: none !important; } }

/* Kicker (subtitle in category cards) */
.kicker { font-size: 13px; font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .js .burger { display: block; }
  .nojs-navigation { display: block; border-top: 1px solid var(--line); background: var(--bg); }
  .nojs-navigation nav { display: flex; gap: 10px 20px; height: auto; overflow-x: auto; padding-block: 12px; }
  .nojs-navigation a { color: var(--ink); flex: 0 0 auto; font-size: 14px; font-weight: 600; text-decoration: none; }
  .cats { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .utility .util-note { display: none; }
  .utility a { margin-left: 0; }
  .brand-wordmark strong { font-size: 18px; }
  .brand-wordmark small { font-size: 8px; max-width: 155px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; }
  .features { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .guide-split { grid-template-columns: 1fr; gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 40px; }
  .footer .bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ===== Apple iOS Showcase UI (Clair & Épuré) ===== */
.apple-subnav {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
  transition: all 0.3s;
}
:root[data-theme="dark"] .apple-subnav {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom-color: var(--line);
}
.apple-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.apple-subnav-inner::-webkit-scrollbar { display: none; }
.apple-subnav-title {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.03em;
}
:root[data-theme="dark"] .apple-subnav-title { color: var(--ink); }
.apple-subnav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.apple-subnav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.apple-subnav-links a:hover, .apple-subnav-links a.is-active {
  color: var(--accent-text);
}

/* Apple Typography & Hero Showcase */
.apple-hero {
  padding-block: clamp(60px, 8vw, 110px);
  text-align: center;
}
.apple-headline {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 980px;
  margin: 0 auto 24px;
  text-wrap: balance;
}
.apple-headline .gradient-text {
  background: linear-gradient(135deg, var(--copper) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.apple-subheadline {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--ink-2);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Apple Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  margin-block: 48px;
}
.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-6  { grid-column: span 6; }
.bento-col-4  { grid-column: span 4; }

.bento-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 56px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.bento-card h1, .bento-card h2, .bento-card h3, .bento-card h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
}
.bento-card p {
  color: var(--ink-2);
  line-height: 1.6;
}

/* Authentic Coffee Bean Roast Tones */
.roast-card--light {
  background: #f5e9da !important;
  border: 1px solid #d9b99b !important;
  color: #362215 !important;
}
:root[data-theme="dark"] .roast-card--light {
  background: #36251b !important;
  border-color: rgba(217, 185, 155, 0.3) !important;
  color: #f7ede2 !important;
}
.roast-card--light h1, .roast-card--light h2, .roast-card--light h3 {
  color: #2b1a0e !important;
}
:root[data-theme="dark"] .roast-card--light h1,
:root[data-theme="dark"] .roast-card--light h2,
:root[data-theme="dark"] .roast-card--light h3 {
  color: #f7ede2 !important;
}
.roast-card--light p {
  color: #4a3224 !important;
}
:root[data-theme="dark"] .roast-card--light p {
  color: rgba(247, 237, 226, 0.85) !important;
}
.roast-card--light .bento-tag {
  background: rgba(163, 88, 34, 0.15) !important;
  color: #8c4615 !important;
}
:root[data-theme="dark"] .roast-card--light .bento-tag {
  background: rgba(247, 237, 226, 0.18) !important;
  color: #f7ede2 !important;
}

.roast-card--medium {
  background: #5c3d2e !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}
.roast-card--medium h1, .roast-card--medium h2, .roast-card--medium h3, .roast-card--medium h4 {
  color: #ffffff !important;
}
.roast-card--medium p, .roast-card--medium li {
  color: rgba(255, 255, 255, 0.9) !important;
}
.roast-card--medium .bento-tag {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.roast-card--dark {
  background: #1c100b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.roast-card--dark h1, .roast-card--dark h2, .roast-card--dark h3, .roast-card--dark h4 {
  color: #ffffff !important;
}
.roast-card--dark p, .roast-card--dark li {
  color: rgba(255, 255, 255, 0.85) !important;
}
.roast-card--dark .bento-tag {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.bento-card--dark { background: var(--espresso); box-shadow: var(--shadow-m); }
:root[data-theme="dark"] .bento-card--dark { background: #0F0A07; box-shadow: inset 0 0 0 1px var(--line); }
.bento-card--dark h1, .bento-card--dark h2, .bento-card--dark h3, .bento-card--dark h4 { color: #FFF8F0; }
.bento-card--dark p { color: rgba(255, 248, 240, 0.85); }
.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-soft);
  color: var(--copper);
  width: fit-content;
  margin-bottom: 24px;
}
.bento-number {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent-text);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .bento-col-8, .bento-col-6, .bento-col-4 { grid-column: span 12; }
  .apple-subnav-title { display: none; }
}

/* ===== Pages institutionnelles, marques et service ===== */
.breadcrumb {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}
.breadcrumb-list a { color: var(--accent-text); }
.page-hero { padding-block: clamp(56px, 8vw, 96px); }
.page-hero .lead { max-width: 780px; }
.page-hero .hero-cta { flex-wrap: wrap; }
.identity-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--accent-soft);
}
.identity-note .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
}
.identity-note h2, .identity-note h3 { margin-bottom: 8px; }
.identity-note p { color: var(--ink-2); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.brand-card,
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-s);
}
.brand-card .status,
.service-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-card p,
.detail-card p { color: var(--ink-2); }
.brand-card .link-arrow,
.detail-card .link-arrow { margin-top: auto; }
.brand-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.brand-products .pcard { min-width: 0; min-height: 0; }
.brand-products .pcard .media { aspect-ratio: 1 / 1; }
.brand-products .pcard .media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 20px;
  transform: scale(var(--card-image-scale, 1));
  transform-origin: center;
}
.brand-products .pcard[data-media-fit="compact-square"] { --card-image-scale: 1.08; }
.service-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  counter-reset: service-step;
}
.service-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  counter-increment: service-step;
}
.service-step::before {
  content: counter(service-step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent-text);
  font-family: var(--mono);
  font-weight: 700;
}
.service-step p { margin-top: 8px; color: var(--ink-2); }
.faq-list { display: grid; gap: 16px; margin-top: 32px; }
.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
}
.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}
.faq-item p { margin-top: 16px; color: var(--ink-2); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.contact-grid address { font-style: normal; color: var(--ink-2); }
.proof-note { max-width: 900px; margin: 28px auto 0; color: var(--ink-2); font-size: 14px; text-align: center; }
.compact-list { display: grid; gap: 10px; padding-left: 20px; color: var(--ink-2); }
.brand-card:focus-within,
.detail-card:focus-within,
.service-step:focus-within { box-shadow: var(--shadow-m); }

@media (max-width: 1080px) {
  .brand-products,
  .service-steps,
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn { width: 100%; }
  .brand-grid,
  .brand-products,
  .service-steps,
  .contact-grid { grid-template-columns: 1fr; }
  .identity-note { grid-template-columns: 1fr; }
}

/* Catalogue de présentation et parcours de conseil */
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
[hidden] { display:none !important; }
.skip-link { position:fixed; top:8px; left:8px; transform:translateY(-160%); z-index:10000; padding:12px 20px; background:var(--bg); color:var(--ink); border:2px solid var(--accent); }
.skip-link:focus { transform:none; }
.product-card-link { display:flex; flex-direction:column; color:inherit; text-decoration:none; flex:1; }
.product-card-link .body { flex:1; }
.product-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"photo heading" "photo summary" "photo points" "photo actions"; align-items:start; column-gap:clamp(24px,5vw,64px); row-gap:16px; }
.product-heading { grid-area:heading; align-self:end; }
.product-heading h1 { font-size:clamp(30px,3.8vw,48px); margin-bottom:0; }
.product-heading .eyebrow { text-decoration:none; }
.product-summary { grid-area:summary; }
.product-summary .lead { margin-bottom:0; }
.product-key-points { grid-area:points; display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:10px; margin:0; }
.product-key-points div { min-width:0; padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--bg-soft); }
.product-key-points dt { color:var(--ink-2); font-size:12px; font-weight:700; }
.product-key-points dd { margin:4px 0 0; color:var(--ink); font-size:14px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.product-layout > .product-actions { grid-area:actions; margin-top:0; }
.product-photo { background:var(--product-surface); border:0; border-radius:var(--r-xl); padding:clamp(24px,5vw,56px); display:grid; place-items:center; aspect-ratio:1; }
.product-layout > .product-photo { grid-area:photo; }
.product-photo img { width:100%; height:100%; max-height:440px; object-fit:contain; mix-blend-mode:multiply; }
.product-actions { display:grid; justify-items:start; gap:10px; margin-top:24px; }
.product-actions .btn { height:auto; min-height:52px; padding-block:12px; text-align:center; }
.product-confirmation { max-width:560px; color:var(--ink-2); font-size:14px; }
.product-secondary-actions { display:flex; flex-wrap:wrap; gap:4px 24px; }
.product-secondary-actions .link-arrow { min-height:44px; align-items:center; }
.product-features { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.product-choice .product-features { grid-template-columns:repeat(3,minmax(0,1fr)); }
.product-choice .detail-card { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.product-choice .detail-card h3,.product-choice .detail-card p { margin:0; }
.product-choice .detail-card .link-arrow { margin-top:auto; }
.product-service .cta { display:grid; justify-items:start; gap:16px; }
.product-service .cta h2,.product-service .cta p { margin:0; }
.guide-related-links { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:28px; }
.guide-related-links .link-arrow { min-height:44px; }
.buying-guide .guide-hero { padding-block:clamp(28px,5vw,64px); }
.buying-guide .guide-hero h1 { max-width:900px; }
.buying-guide .guide-hero .lead { max-width:780px; }
.buying-guide .hero-banner-image { width:100%; max-height:320px; object-fit:cover; border-radius:var(--r-xl); border:1px solid var(--line); margin-block:22px; }
.buying-guide .guide-hero .hero-cta { display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px; }
.guide-narrative { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:clamp(24px,5vw,64px); }
.guide-narrative > div:last-child { display:flex; flex-direction:column; align-items:flex-start; gap:18px; }
.guide-narrative h2,.guide-narrative p { margin:0; }
.guide-chapters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(24px,4vw,48px); margin-top:28px; }
.guide-chapters article { border-top:2px solid var(--accent); padding-top:20px; display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.guide-chapters h3,.guide-chapters p { margin:0; }
.guide-table-wrap { max-width:100%; overflow-x:auto; margin-block:20px; border:1px solid var(--line); border-radius:var(--r-md); }
.guide-table-wrap .specs-table { min-width:560px; }
.guide-table-wrap .specs-table caption { padding-inline:16px; }
.buying-guide #comparaison > .wrap > p:last-child { max-width:760px; }
.product-features h3 { font-size:18px; margin-bottom:12px; }
.product-features h2 { font-size:23px; }
.product-details { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:40px; align-items:start; }
.product-details aside .btn { margin-top:24px; }
.product-hero { padding-block:clamp(28px,5vw,64px); }
.product-essentials,.product-specifications,.product-service { padding-block:clamp(40px,6vw,72px); }
.repair-callout { max-width:760px; padding:12px 16px; border-left:4px solid var(--accent); background:var(--accent-soft); color:var(--ink); font-weight:600; }
.repair-hero .head { margin-bottom:0; }
.repair-hero .eyebrow,.repair-hero h1,.repair-hero .lead,.repair-hero .repair-callout { margin-bottom:0; }
.repair-issues { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:0; list-style:none; }
.repair-issues li { padding:16px 18px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--bg); color:var(--ink); font-weight:600; }
.hero-cta .link-arrow { min-height:48px; align-items:center; }
.specs-table { width:100%; border-collapse:collapse; color:var(--ink); }
.specs-table th,.specs-table td { padding:16px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.specs-table th { font-weight:600; }
.specs-table caption { text-align:left; padding-block:16px; color:var(--ink-2); }
.specs-table tr:nth-child(even) { background:var(--bg-soft); }
.catalog-intro { padding-bottom:24px; }
.catalog-list { padding-top:24px; }
.catalog-filters { display:flex; flex-wrap:wrap; gap:16px; align-items:end; margin-block:28px 16px; }
.catalog-filters label { flex:1; min-width:160px; display:grid; gap:8px; font-weight:600; }
.catalog-filters select,.request-form input,.request-form select,.request-form textarea { width:100%; padding:12px; min-height:48px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--bg); color:var(--ink); }
.catalog-filters select { border-color:var(--ink-2); }
.compare-choice { display:flex; gap:10px; align-items:center; padding:16px 24px; border-top:1px solid var(--line); cursor:pointer; }
.compare-choice input { width:20px; height:20px; accent-color:var(--accent); }
.compare-limit { padding:8px 12px; border-top:1px solid var(--accent); color:var(--ink); background:var(--accent-soft); font-size:13px; }
.compare-scroll { max-width:100%; overflow-x:auto; margin-top:24px; border:1px solid var(--line); border-radius:var(--r-lg); overscroll-behavior-inline:contain; }
.compare-scroll:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.compare-table { min-width:760px; }
.compare-table th { min-width:170px; }
.compare-table thead th { vertical-align:bottom; }
.compare-table thead th:not(:first-child) { min-width:190px; }
.compare-table thead th a { display:block; margin-bottom:12px; }
.compare-table tbody th { position:sticky; left:0; z-index:1; background:var(--bg); box-shadow:1px 0 0 var(--line); }
.compare-table tbody tr:nth-child(even) th { background:var(--bg-soft); }
.compare-table tr.is-different > * { background:var(--accent-soft); }
.compare-table tr.is-different > th { box-shadow:inset 4px 0 0 var(--accent),1px 0 0 var(--line); }
.compare-difference { display:block; width:max-content; margin-top:6px; padding:2px 7px; border:1px solid var(--accent); border-radius:var(--r-sm); color:var(--ink); font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.compare-remove { min-height:36px; padding:6px 10px; border:1px solid var(--ink-2); border-radius:var(--r-sm); background:var(--bg); color:var(--ink); font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.compare-remove:hover { border-color:var(--accent); }
.compare-empty { padding:24px; color:var(--ink-2); }
#comparateur .wrap { min-width:0; }
#compare-status { margin-bottom:16px; }
.compare-selected { padding:16px; border-bottom:1px solid var(--line); }
.compare-selected h3 { font-size:16px; margin-bottom:10px; }
.compare-selected ul { display:flex; flex-wrap:wrap; gap:12px; padding:0; list-style:none; }
.compare-selected li { display:flex; align-items:center; gap:10px; min-width:0; }
.compare-selected a { overflow-wrap:anywhere; }
.compare-mobile { display:none; }
#comparateur,#catalogue-grid { scroll-margin-top:130px; }
#catalogue-grid a,#catalogue-grid input { scroll-margin-top:140px; }
#catalog-empty { display:grid; justify-items:start; gap:16px; margin-top:24px; }
.section-link { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:32px; }
.category-photo { aspect-ratio:4/3; object-fit:cover; width:100%; border-radius:var(--r-xl); }
.contact-intro { padding-block:32px 48px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:48px; align-items:start; }
.contact-email { margin-block:24px; overflow-wrap:anywhere; }
.request-form { background:var(--bg); border:1px solid var(--line); border-radius:var(--r-lg); padding:28px; display:grid; gap:18px; }
.request-form label { display:grid; gap:8px; font-weight:600; }
.request-form textarea { resize:vertical; }
.request-form [aria-invalid="true"] { border-color:var(--accent-text); box-shadow:0 0 0 1px var(--accent-text); }
.form-note { font-size:14px; color:var(--ink-2); }
.request-form button:disabled { opacity:.65; cursor:not-allowed; }
.request-form[aria-busy="true"] button:disabled { cursor:wait; }
#contact-request-status { min-height:1.6em; color:var(--ink-2); }
.request-actions { display:flex; flex-wrap:wrap; gap:12px; }
#request-recovery { display:grid; gap:16px; border-top:1px solid var(--line); padding-top:20px; }
.contact-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.reading-content { max-width:850px; }
.reading-content section { margin-block:36px; }
.reading-content h2 { font-size:26px; }
.footer .legal-links { display:flex; flex-wrap:wrap; gap:16px; }
.footer .legal-links a { display:inline; }
.home-page .section { padding-block:clamp(48px,7vw,84px); }
.home-page .hero { padding-block:clamp(36px,6vw,72px); }
.home-page .hero-grid { gap:clamp(28px,5vw,72px); }
.home-page .hero-content { max-width:620px; }
.home-page .hero-content .lead { max-width:590px; }
.home-showcase { margin:0; display:grid; gap:14px; }
.home-showcase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.home-showcase-product { position:relative; min-width:0; min-height:0; aspect-ratio:4/3; overflow:hidden; border:1px solid var(--line); border-radius:var(--r-md); background:var(--product-surface); }
.home-showcase-product img { position:absolute; inset-block:28px 10px; inset-inline:12px; width:calc(100% - 24px); height:calc(100% - 38px); max-width:none; object-fit:contain; padding:0; }
.home-showcase-product span { position:absolute; z-index:1; inset-block-start:10px; inset-inline-start:12px; color:var(--product-ink); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.home-showcase figcaption { color:var(--ink-2); font-size:12px; line-height:1.5; }
.anchor-target { display:block; position:relative; top:-92px; visibility:hidden; }
.home-choice-intro { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(28px,6vw,80px); align-items:start; }
.home-choice-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block:1px solid var(--line); }
.home-choice-paths article { min-width:0; padding-block:24px; }
.home-choice-paths article + article { padding-inline-start:28px; border-inline-start:1px solid var(--line); }
.home-choice-paths article:first-child { padding-inline-end:28px; }
.home-choice-paths h3 { margin-bottom:10px; font-size:22px; }
.home-choice-paths p { margin-bottom:16px; color:var(--ink-2); font-size:15px; }
.home-featured-head { display:flex; justify-content:space-between; align-items:end; gap:32px; margin-block:56px 24px; padding-block-end:20px; border-bottom:1px solid var(--line); }
.home-featured-head h3 { font-size:clamp(24px,3vw,32px); }
.home-featured-head p:last-child { max-width:500px; color:var(--ink-2); font-size:14px; }
.home-page .brand-products { grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-page .pcard .media { aspect-ratio:4/3; }
.home-page .pcard .body { padding:20px; }
.home-choice-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px 18px; margin-top:32px; }
.home-choice-links .link-arrow { min-height:48px; }
.home-secondary-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); font-size:14px; }
.home-secondary-links span { color:var(--ink-2); font-weight:700; }
.home-secondary-links a { color:var(--accent-text); font-weight:600; text-decoration:none; }
.home-secondary-links a:hover { text-decoration:underline; text-underline-offset:3px; }
.home-workshop-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); gap:clamp(32px,7vw,88px); align-items:center; }
.home-workshop-points { display:grid; gap:12px; margin:28px 0 0; padding-inline-start:22px; color:var(--ink); }
.home-prepare { padding:clamp(24px,4vw,40px); border-inline-start:4px solid var(--accent); background:var(--bg); }
.home-prepare h3 { margin-bottom:24px; font-size:clamp(22px,2.6vw,30px); }
.home-prepare ol { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.home-prepare li { display:grid; grid-template-columns:38px minmax(0,1fr); gap:12px; padding-block:16px; border-top:1px solid var(--line); color:var(--ink-2); }
.home-prepare li span { color:var(--accent-text); font-weight:700; }
.home-visit-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:clamp(32px,7vw,88px); align-items:start; }
.home-visit-copy > p:not(.eyebrow) { max-width:720px; color:var(--ink-2); }
.home-visit address { margin-block:28px; font-style:normal; font-size:18px; }
.home-hours { display:grid; max-width:620px; border-block:1px solid var(--line); }
.home-hours p { display:flex; justify-content:space-between; gap:24px; padding-block:12px; color:var(--ink-2); }
.home-hours p + p { border-top:1px solid var(--line); }
.home-hours strong { color:var(--ink); }
.home-visit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:28px; }
.home-guide-callout { padding:clamp(24px,4vw,40px); border:1px solid var(--line); border-radius:var(--r-lg); background:var(--bg-soft); }
.home-guide-callout h3 { margin-bottom:16px; font-size:clamp(24px,3vw,34px); }
.home-guide-callout p:not(.eyebrow) { margin-bottom:24px; color:var(--ink-2); }
@media (max-width:1080px) {
  .product-features,.home-page .brand-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-choice-intro { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
  .home-page .hero { padding-block:28px 36px; }
  .home-page .hero h1 { font-size:clamp(30px,9vw,40px); }
  .home-page .hero .eyebrow { font-size:10px; }
  .home-page .hero .lead { font-size:15px; margin-bottom:20px; }
  .home-showcase { order:-1; }
  .home-showcase-product { aspect-ratio:3/2; }
  .home-showcase-product span { font-size:9px; }
  .hero-cta { gap:12px; }
  .hero-cta .btn { padding-inline:16px; width:100%; min-height:48px; height:auto; padding-block:12px; }
  .home-choice-paths { grid-template-columns:minmax(0,1fr); }
  .home-choice-paths article:first-child { padding-inline-end:0; }
  .home-choice-paths article + article { padding-inline-start:0; border-inline-start:0; border-top:1px solid var(--line); }
  .home-featured-head { display:grid; margin-block-start:40px; }
  .home-page .brand-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .home-page .pcard h3 { font-size:15px; }
  .home-page .pcard .body { padding:12px; }
  .home-page .pcard .spec { font-size:12px; margin-bottom:12px; }
  .home-page .pcard .link-arrow { font-size:12px; }
  .home-page .pcard .media img { padding:10px; }
  .home-choice-links { align-items:stretch; }
  .home-choice-links .btn { width:100%; }
  .home-workshop-grid,.home-visit-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .home-prepare { border-inline-start:0; border-block-start:4px solid var(--accent); }
  .home-hours p { align-items:baseline; }
  .home-visit-actions { align-items:stretch; }
  .home-visit-actions .btn { width:100%; }
  .product-layout,.product-details,.contact-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .product-layout { grid-template-areas:"heading" "photo" "summary" "actions" "points"; gap:14px; }
  .product-hero { padding-block:20px 36px; }
  .product-photo { max-height:225px; width:100%; aspect-ratio:4/3; padding:16px; }
  .product-photo img { max-height:195px; }
  .product-heading h1 { font-size:30px; }
  .product-key-points { gap:6px; }
  .product-key-points div { padding:8px; }
  .product-key-points dd { font-size:13px; }
  .product-actions { justify-items:stretch; }
  .product-actions .btn { width:100%; }
  .product-secondary-actions { display:grid; gap:0; }
  .repair-hero { padding-block:24px; }
  .repair-hero .head { gap:10px; }
  .repair-issues { grid-template-columns:minmax(0,1fr); }
  .product-features { grid-template-columns:minmax(0,1fr); }
  .product-choice .product-features { grid-template-columns:minmax(0,1fr); }
  .buying-guide .hero-banner-image { max-height:210px; margin-block:16px; }
  .buying-guide .guide-hero .hero-cta { align-items:stretch; flex-direction:column; }
  .buying-guide .guide-hero .hero-cta .btn { width:100%; }
  .guide-narrative,.guide-chapters { grid-template-columns:minmax(0,1fr); }
  .guide-table-wrap .specs-table { min-width:520px; }
  .request-form { padding:20px; }
  .catalog-filters { display:grid; grid-template-columns:1fr; }
  .lang { flex-wrap:nowrap; }
  .lang a { align-items:center; display:flex; min-height:40px; min-width:28px; }
  .nav-tools { gap:10px; }
}

.lang { display:flex; align-items:center; gap:4px; padding-inline:0; }
.compare-shortcut { position:sticky; top:68px; z-index:10; width:max-content; max-width:calc(100% - 32px); height:auto; min-height:48px; display:flex; margin:16px auto; padding-block:10px; text-align:center; box-shadow:var(--shadow-m); }
@media (max-width:760px) {
  #catalogue-grid { grid-template-columns:minmax(0,1fr); gap:10px; margin-top:24px; }
  #catalogue-grid .pcard { display:grid; grid-template-columns:minmax(0,1fr); }
  #catalogue-grid .product-card-link { display:grid; grid-template-columns:88px minmax(0,1fr); align-items:stretch; }
  #catalogue-grid .pcard .media { width:88px; height:88px; min-height:88px; aspect-ratio:auto; border-right:1px solid var(--line); border-bottom:0; }
  #catalogue-grid .pcard .media img { padding:8px; }
  #catalogue-grid .pcard .body { min-width:0; padding:10px 12px; }
  #catalogue-grid .pcard .series { font-size:11px; margin-bottom:2px; }
  #catalogue-grid .pcard h3 { font-size:15px; line-height:1.3; margin-bottom:4px; overflow-wrap:anywhere; }
  #catalogue-grid .pcard .spec { font-size:12px; line-height:1.35; margin-bottom:4px; }
  #catalogue-grid .pcard .link-arrow { font-size:12px; }
  #catalogue-grid .compare-choice { min-height:44px; padding:7px 12px; font-size:13px; }
  #catalogue-grid .compare-choice input { flex:none; }
  .compare-scroll { overflow:visible; }
  .compare-table { display:none; }
  .compare-mobile { display:block; }
  .compare-selected ul { display:grid; gap:8px; }
  .compare-selected li { justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:8px; }
  .compare-selected li a { min-width:0; }
  .compare-feature { padding:14px 16px; border-bottom:1px solid var(--line); }
  .compare-feature.is-different { border-left:4px solid var(--accent); background:var(--accent-soft); }
  .compare-feature h3 { font-size:16px; line-height:1.35; }
  .compare-feature .compare-difference { margin-top:4px; }
  .compare-feature dl { display:grid; gap:10px; margin-top:10px; }
  .compare-feature dl div { display:grid; grid-template-columns:minmax(0,1fr); gap:2px; }
  .compare-feature dt { font-size:13px; font-weight:700; overflow-wrap:anywhere; }
  .compare-feature dd { margin:0; overflow-wrap:anywhere; }
}
:root[data-theme="dark"] a:not([class]),
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .series,
:root[data-theme="dark"] .link-arrow,
:root[data-theme="dark"] .btn--ghost { color:var(--accent-text); }
:root[data-theme="dark"] .theme-toggle { color:var(--ink); }
:root[data-theme="dark"] :focus-visible { outline-color:var(--ink); }

/* ==========================================================================
   Look « café de quartier » : composants partagés et accueil.
   Les couleurs viennent des jetons de :root ; aucune valeur codée en dur ici,
   sauf les bandes espresso et le comptoir cuivré, volontairement fixes.
   ========================================================================== */

/* Typographie : titres à empattements, texte inchangé */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.012em; font-optical-sizing: auto; }
.eyebrow { color: var(--copper); letter-spacing: 0.14em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* En-tête : bandeau espresso, marque en Fraunces */
.utility { background: var(--espresso); color: #E9DCCB; border-bottom: 0; }
.utility a { color: #F3E9DD; }
.utility .dot { background: #D08A4E; }
.header { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line); }
.header .wrap { gap: 20px; }
.nav-links { gap: clamp(18px, 2vw, 30px); }
.header .nav-links a { color: var(--ink); white-space: nowrap; }
.header .nav-links a:hover { color: var(--copper); }
:root[data-theme="dark"] .header .nav-links a, :root[data-theme="dark"] .mobile-menu nav a { color: var(--ink); }
:root[data-theme="dark"] .header .nav-links a:hover, :root[data-theme="dark"] .mobile-menu nav a:hover { color: var(--copper); }
.header .btn { white-space: nowrap; }
.brand-wordmark small { max-width: 190px; }
.brand-wordmark strong { font-family: var(--font-head); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.brand-wordmark small { color: var(--ink-2); letter-spacing: 0.06em; }

/* Boutons : arrondis, chauds */
.btn { border-radius: 999px; }
.btn--ghost { border-color: color-mix(in srgb, var(--accent-text) 55%, transparent); }

/* Hero : titre d'abord, machines posées sur un comptoir */
.home-page .hero { background: radial-gradient(120% 80% at 85% 20%, color-mix(in srgb, var(--copper) 10%, var(--bg)) 0%, var(--bg) 55%); border-bottom: 0; }
.home-page .hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; }
.home-showcase { position: relative; padding: clamp(18px, 3vw, 32px) clamp(16px, 3vw, 32px) 0; border-radius: var(--r-lg); background: linear-gradient(180deg, #F3EBE0 0%, #E6D8C4 100%); }
.home-showcase::after { content: ""; display: block; height: 14px; margin-inline: calc(-1 * clamp(16px, 3vw, 32px)); border-radius: 0 0 var(--r-lg) var(--r-lg); background: linear-gradient(180deg, #B8733A 0%, #8A4A1F 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25); }
.home-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(6px, 1.5vw, 18px); }
.home-showcase-product { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; aspect-ratio: auto; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.home-showcase-product img { position: static; inset: auto; width: 100%; height: clamp(110px, 17vw, 230px); object-fit: contain; object-position: bottom; mix-blend-mode: multiply; }
.home-showcase-product span { position: static; order: -1; margin-bottom: 10px; color: #6B5A4E; font-size: 10px; letter-spacing: 0.12em; }
.home-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: clamp(28px, 4vw, 48px) 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.home-facts li { display: inline-flex; align-items: center; gap: 10px; }
.home-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }

/* Choisir : cartes chaudes sans bordure */
.home-choice-paths { gap: 16px; border-block: 0; }
.home-choice-paths article, .home-choice-paths article + article { padding: 24px; border: 0; border-radius: var(--r-md); background: var(--card); }
.home-featured-head { border-bottom-color: var(--line); }
.pcard { border: 0; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-s); }
.pcard:hover { box-shadow: var(--shadow-m); }
.pcard .media, :root[data-theme="dark"] .pcard .media { background: var(--product-surface); }
.pcard .media img { mix-blend-mode: multiply; }
.pcard .series { color: var(--copper); letter-spacing: 0.04em; }
.request-form input, .request-form select, .request-form textarea { background: var(--card); }
.catalog-filters select { background: var(--card); }
.home-secondary-links { border-top-color: var(--line); }

/* Atelier : bande espresso (les jetons locaux restylent tout le contenu) */
.home-workshop {
  --ink: #F3E9DD; --ink-2: #D9C8B6; --line: rgba(243, 233, 221, 0.16);
  --accent: #D08A4E; --accent-text: #E7AE78; --accent-ink: #1B130E; --accent-soft: rgba(208, 138, 78, 0.18);
  --copper: #E7AE78; --bg: #34251B;
  background: var(--espresso); border: 0; color: var(--ink);
}
:root[data-theme="dark"] .home-workshop { --bg: #241A13; }
.home-prepare { border-inline-start: 0; border-radius: var(--r-lg); background: var(--bg); }

/* Venir : encart latte */
.home-guide-callout { border: 0; background: var(--bg-soft); }
.home-hours { border-block-color: var(--line); }

@media (max-width: 760px) {
  .home-showcase { order: 0; margin-top: 8px; }
  .home-showcase-product span { font-size: 8px; letter-spacing: 0.08em; }
  .home-page .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .home-facts { flex-direction: column; gap: 8px; }
  .brand-wordmark strong { font-size: 21px; }
}
@media (max-width: 1320px) and (min-width: 761px) {
  .header .btn { display: none; }
}
