/* =========================================================
   MK BONHEUR — Design system
   Palette: crème #FAF8F4, encre #1C1C1A, argile #B8845A, sauge #7A8B7F
   Type: display serif (Fraunces) + sans-serif (Inter)
   Signature: trait "souffle" — ligne fine qui se dessine au survol/scroll
   ========================================================= */

:root {
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --ink: #1C1C1A;
  --ink-soft: #4A4845;
  --clay: #B8845A;
  --clay-dark: #9C6A42;
  --sage: #7A8B7F;
  --sage-soft: #E7E9E3;
  --border: #E5E0D6;
  --shadow: rgba(28, 28, 26, 0.06);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 2px;
  --transition: 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95rem 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--clay-dark); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-whatsapp {
  background: #1C1C1A;
  color: var(--cream);
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}
.btn-whatsapp:hover { background: var(--clay-dark); }
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Signature: breath line ---------- */
.breath-line {
  position: relative;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
.breath-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.breath-line.in-view::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem var(--space-md);
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}
.logo img {
  height: 46px;
  width: auto;
  border-radius: 4px;
}

.nav-desktop {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--clay);
  transition: width var(--transition);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }
.nav-desktop a.active { color: var(--clay-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  position: relative;
}
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md) var(--space-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-text .eyebrow { margin-bottom: 1.4rem; }
.hero-text h1 { margin-bottom: 1.4rem; }
.hero-text p {
  font-size: 1.1rem;
  max-width: 460px;
  margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--sage-soft);
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  right: -24px; bottom: -24px;
  border: 1px solid var(--clay);
  z-index: -1;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero-visual { order: -1; aspect-ratio: 1/1; }
}

/* ---------- Section ---------- */
.section { padding: var(--space-xl) 0; }
.section-tight { padding: var(--space-lg) 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-lg);
}
.section-head .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: 1rem; }

.bg-white { background: var(--white); }

/* ---------- Category cards (home) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-md);
}
.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,26,0) 40%, rgba(28,28,26,0.55) 100%);
}
.category-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  color: var(--white);
}
.category-label .eyebrow { color: var(--white); opacity: 0.85; }
.category-label .eyebrow::before { background: var(--white); }
.category-label h3 {
  font-size: 1.7rem;
  color: var(--white);
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ---------- Product grid ---------- */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  background: var(--white);
}
.filter-pill:hover { border-color: var(--clay); }
.filter-pill.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.sort-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;
}

.product-card {
  display: block;
  background: var(--white);
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--sage-soft);
  margin-bottom: 1.1rem;
}
.product-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .thumb img { transform: scale(1.05); }

.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  color: var(--clay-dark);
}
.product-tag.out-of-stock {
  background: var(--ink);
  color: var(--cream);
}
.product-card.out-of-stock .thumb img { opacity: 0.55; filter: grayscale(30%); }
.stock-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--ink);
  color: var(--cream);
}
.stock-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--sage-soft);
  padding: 0.8rem 1rem;
  margin: 1rem 0 1.4rem;
  border-left: 3px solid var(--sage);
}
.to-complete {
  background: #FDF0D5;
  color: #8A5A00;
  padding: 0.05rem 0.4rem;
  border-radius: 2px;
  font-weight: 600;
  white-space: nowrap;
}
.legal-warning {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: #FDF0D5;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.6rem;
  border-left: 3px solid #C98A1F;
}

.product-card .cat { font-size: 0.78rem; color: var(--sage); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.3rem; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.product-card .price { font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; }
.product-card .discover {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.product-card:hover .discover { gap: 0.7rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem 0.9rem; }
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
}
.pagination .current { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Product detail ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--clay-dark); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.detail-gallery .main-image {
  aspect-ratio: 1/1;
  background: var(--sage-soft);
  overflow: hidden;
  margin-bottom: 1rem;
}
.detail-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 0.7rem; }
.thumb-row .t {
  width: 70px; height: 70px;
  background: var(--sage-soft);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
}
.thumb-row .t.active { border-color: var(--clay); }
.thumb-row img { width: 100%; height: 100%; object-fit: cover; }

.detail-info .cat { font-size: 0.8rem; color: var(--sage); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.detail-info h1 { font-size: 2.1rem; margin-bottom: 0.8rem; }
.detail-info .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--clay-dark); margin-bottom: 1.6rem; }
.detail-info .desc { margin-bottom: 1.8rem; }
.detail-info .desc p { margin-bottom: 0.9rem; }

.option-group { margin-bottom: 1.6rem; }
.option-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.7rem; display: block; }
.option-choices { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.option-choice {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  transition: var(--transition);
}
.option-choice:hover { border-color: var(--clay); }
.option-choice.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--border);
}
.qty-control button { width: 44px; height: 44px; font-size: 1.1rem; }
.qty-control span { width: 40px; text-align: center; font-weight: 600; }

.detail-ctas { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }

.detail-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.detail-meta div { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.detail-meta strong { color: var(--ink); }

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ---------- Related products ---------- */
.related { margin-top: var(--space-xl); }

/* ---------- Values strip ---------- */
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.value-item svg { width: 32px; height: 32px; color: var(--clay); margin-bottom: 1rem; }
.value-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-item p { font-size: 0.9rem; }

@media (max-width: 700px) {
  .values-strip { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ---------- Reviews (empty state) ---------- */
.reviews-empty {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--border, #e5ddd2);
  border-radius: 12px;
}
.reviews-stars {
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  color: var(--clay);
  margin-bottom: 0.8rem;
}
.reviews-empty p { margin-bottom: 1.4rem; }

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-image { aspect-ratio: 4/5; overflow: hidden; background: var(--sage-soft); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.timeline { max-width: 700px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}
.timeline-item:first-child { border-top: none; }
.timeline-item .year { font-family: var(--font-display); font-size: 1.3rem; color: var(--clay-dark); }

@media (max-width: 700px) {
  .about-hero { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 60px 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.contact-channels { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-channel:hover { border-color: var(--clay); }
.contact-channel .icon {
  width: 46px; height: 46px;
  background: var(--ink);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel .icon svg { width: 22px; height: 22px; }
.contact-channel .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage); font-weight: 600; }
.contact-channel .value { font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.85rem; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 120px; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: var(--space-lg); margin-bottom: 1rem; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { margin-bottom: 1rem; color: var(--ink-soft); }
.legal-content ul { padding-left: 1.4rem; list-style: disc; }
.legal-content .updated { color: var(--sage); font-size: 0.85rem; margin-bottom: var(--space-lg); }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-lg) 0;
}
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.newsletter-inner h2 { color: var(--cream); font-size: 1.8rem; max-width: 420px; }
.newsletter-form { display: flex; gap: 0.7rem; flex: 1; max-width: 420px; min-width: 280px; }
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: transparent;
  border: 1px solid rgba(250,248,244,0.3);
  color: var(--cream);
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(250,248,244,0.5); }
.newsletter-form button {
  background: var(--clay);
  color: var(--ink);
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--cream); }

@media (max-width: 700px) {
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; margin-bottom: 1.4rem; }
.footer-socials { display: flex; gap: 0.7rem; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--ink); border-color: var(--ink); }
.footer-socials a:hover svg { color: var(--cream); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--ink-soft); transition: color var(--transition); }
.footer-col a:hover { color: var(--clay-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--sage);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 56px; height: 56px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(28,28,26,0.25);
  transition: var(--transition);
}
.float-whatsapp:hover { background: var(--clay-dark); transform: translateY(-3px); }
.float-whatsapp svg { width: 26px; height: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.16,1,0.3,1), transform 800ms cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-xl) 0;
}
.empty-state p { margin-bottom: 1.5rem; }

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: var(--space-xl) 0;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--sage-soft);
  line-height: 1;
}
