/* Cafe Joliette - Design System Chamaran eCommerce */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Thème Clair par défaut (Chamaran style) */
  --bg: #ffffff; 
  --bg-soft: #f8f9fa; 
  --bg-ink: #1a1a1a;
  --ink: #212529; 
  --ink-2: #6c757d; 
  --muted: #adb5bd;
  --line: rgba(0, 0, 0, 0.08); 
  --line-2: rgba(0, 0, 0, 0.04);
  
  /* Accent Chamaran (#B11E2E) */
  --accent: #B11E2E;
  --accent-ink: #ffffff;
  --accent-soft: rgba(177, 30, 46, 0.08);
  
  --font: 'Montserrat', sans-serif;
  --font-head: 'Montserrat', sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  
  --shadow-s: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-m: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-l: 0 16px 48px rgba(0, 0, 0, 0.12);
  
  --maxw: 1280px; 
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, 1, .2, 1);
}

/* Thème Sombre (Optionnel) */
:root[data-theme="dark"] {
  --bg: #121212; --bg-soft: #1e1e1e; --bg-ink: #ffffff;
  --ink: #f8f9fa; --ink-2: #adb5bd; --muted: #6c757d;
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.05);
  --accent: #d32f2f; --accent-ink: #ffffff; --accent-soft: rgba(211, 47, 47, 0.15);
  --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.8);
}

/* 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: #ffffff;
}

: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); }
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); 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); border-color: var(--accent); }
.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); 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); }

/* 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; }
.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); }
.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); }
.lang.is-on { color: var(--accent); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

/* 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: 1; background: var(--bg); border-radius: var(--r-xl); box-shadow: var(--shadow-m); border: 1px solid var(--line); }
.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); 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(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); color: white; }
.cat h3 { font-size: 28px; color: white; 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); color: var(--accent); }
.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: var(--shadow-s); transition: transform 0.3s, box-shadow 0.3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.pcard .media { aspect-ratio: 1; 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); 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); 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); }
.guide-teaser .gt-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); 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); 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 { background: #1a1a1a; color: #ffffff; border-radius: var(--r-lg); padding: clamp(48px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-m); }
:root[data-theme="dark"] .cta { background: #1e1e1e; border: 1px solid var(--line); }
.cta h2 { margin-bottom: 20px; color: #ffffff; }
.cta p { max-width: 600px; margin: 0 auto 40px auto; color: rgba(255,255,255,0.85); }
.cta .btn--primary { background-color: var(--accent); color: var(--accent-ink); }
.cta .btn--primary:hover { background-color: color-mix(in srgb, var(--accent) 85%, black); }
.cta .btn--ghost { color: #ffffff; border-color: rgba(255,255,255,0.5); }
.cta .btn--ghost:hover { background-color: rgba(255,255,255,0.1); border-color: #ffffff; }

/* 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 h4 { 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); }
.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); }
.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-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .cats { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .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: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-block: 16px;
  transition: all 0.3s;
}
:root[data-theme="dark"] .apple-subnav {
  background: rgba(26, 26, 26, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.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: #1d1d1f;
  letter-spacing: -0.03em;
}
:root[data-theme="dark"] .apple-subnav-title { color: #f5f5f7; }
.apple-subnav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.apple-subnav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #86868b;
  transition: color 0.2s;
}
.apple-subnav-links a:hover, .apple-subnav-links a.is-active {
  color: var(--accent);
}

/* 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: #1d1d1f;
  max-width: 980px;
  margin: 0 auto 24px;
  text-wrap: balance;
}
:root[data-theme="dark"] .apple-headline { color: #f5f5f7; }
.apple-headline .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #E65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.apple-subheadline {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #86868b;
  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: #f5f5f7;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  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);
}
:root[data-theme="dark"] .bento-card {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}
.bento-card:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.bento-card h1, .bento-card h2, .bento-card h3, .bento-card h4 {
  color: #1d1d1f;
  font-weight: 700;
  letter-spacing: -0.025em;
}
:root[data-theme="dark"] .bento-card h1,
:root[data-theme="dark"] .bento-card h2,
:root[data-theme="dark"] .bento-card h3,
:root[data-theme="dark"] .bento-card h4 {
  color: #f5f5f7;
}
.bento-card p {
  color: #3a3a3c;
  line-height: 1.6;
}
:root[data-theme="dark"] .bento-card p {
  color: rgba(255, 255, 255, 0.75);
}

/* 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-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: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  width: fit-content;
  margin-bottom: 24px;
}
:root[data-theme="dark"] .bento-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}
.bento-number {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  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; }
}
