/* Maison Martin — home page styles. Tokens mirror /brand.json. Mobile-first. */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #7A3B1C;
  --primary-hover: #5F2D14;
  --accent: #C9782E;
  --ink: #2A1C13;
  --bg: #F7F1E7;
  --surface: #FFFCF6;
  --muted: #5C4B3F;
  --line: rgba(42, 28, 19, 0.12);
  --on-dark: #F7F1E7;
  --on-dark-muted: #D9CBB8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 1rem;
  --radius-sm: 0.625rem;
  --shadow: 0 1px 2px rgba(42, 28, 19, 0.06), 0 12px 32px -8px rgba(42, 28, 19, 0.18);
  --shadow-lg: 0 1px 2px rgba(42, 28, 19, 0.06), 0 18px 40px -20px rgba(42, 28, 19, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.5rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .11 0 0 0 0 .07 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.005em; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.eyebrow {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow-light { color: #F3D2A8; }

.lead { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 34rem; }
.lead-sm { font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-dark); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 2px 6px -2px rgba(122, 59, 28, 0.45); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(42, 28, 19, 0.28); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(42, 28, 19, 0.04); }
.btn-sm { min-height: 2.75rem; padding: 0.625rem 1.125rem; font-size: 0.9375rem; }
.icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 231, 0.88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(42, 28, 19, 0.5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 960px) { .header-inner { gap: 1.5rem; } }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--primary); }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.brand-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-top: 0.2rem; }
.header-call {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--primary); color: var(--on-dark);
  transition: background-color 0.2s var(--ease);
}
.header-call:hover { background: var(--primary-hover); }
.header-call .icon { width: 1.125rem; height: 1.125rem; }
@media (min-width: 960px) { .header-call { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.125rem; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 0.5rem 1.25rem 1.5rem;
  display: none;
}
.nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-list a {
  display: flex; align-items: center; min-height: 3rem; padding: 0.25rem 0;
  font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav .btn { width: 100%; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 2rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-list { display: flex; gap: 2rem; margin: 0; }
  .nav-list a {
    min-height: 2.75rem; border: 0; font-size: 1rem; color: var(--muted);
    background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 85% / 0 2px;
    transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
  }
  .nav-list a:hover { color: var(--ink); background-size: 100% 2px; }
  .nav .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: 2rem 3rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(201, 120, 46, 0.14), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(122, 59, 28, 0.08), transparent 60%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 7.5vw, 4.25rem); line-height: 1.04; letter-spacing: -0.015em; font-variation-settings: "opsz" 110; max-width: 14ch; margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.status { display: flex; align-items: center; gap: 0.625rem; margin-top: 1.75rem; font-size: 0.9375rem; color: var(--muted); }
.status-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(201, 120, 46, 0.18); }
.status[data-open="true"] .status-dot { background: #3F7A3A; box-shadow: 0 0 0 4px rgba(63, 122, 58, 0.18); }
.status[data-open="false"] .status-dot { background: #9B8A7C; box-shadow: 0 0 0 4px rgba(155, 138, 124, 0.2); }
.status strong { color: var(--ink); font-weight: 600; }
.hero-where { display: flex; align-items: flex-start; gap: 0.625rem; margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.hero-where .icon { flex: none; margin-top: 0.2rem; margin-left: -0.1875rem; color: var(--primary); }
.hero-where a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.hero-where a:hover { color: var(--primary-hover); }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow-lg);
}
.next-batch {
  position: relative; margin: -2.5rem 1rem 0;
  display: grid; gap: 0.25rem;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: var(--shadow);
}
.next-batch-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.25rem; }
.next-batch-time { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1; color: var(--ink); }
.next-batch-what { font-size: 1rem; color: var(--ink); line-height: 1.4; }

@media (min-width: 960px) {
  .hero { padding-block: 4.5rem 6rem; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .next-batch { position: absolute; margin: 0; left: -1.5rem; bottom: 2rem; width: 18rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: 3.75rem; }
.section-tight { padding-block: 3.5rem 3.75rem; }
@media (min-width: 960px) { .section { padding-block: 7rem; } .section-tight { padding-block: 5rem 6rem; } }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
@media (min-width: 960px) { .section-head { margin-bottom: 3rem; } }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.875rem); margin-bottom: 1rem; }
h2 { font-variation-settings: "opsz" 90; letter-spacing: -0.012em; }
.section-intro { color: var(--muted); max-width: 32rem; }
.section-head-row { max-width: none; display: grid; gap: 1rem; }
.section-head-row h2 { margin-bottom: 0; }
@media (min-width: 960px) {
  .section-head-row { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .section-head-row .section-intro { max-width: 22rem; }
}

/* ---------- Batches ---------- */
.batches { display: grid; gap: 1rem; counter-reset: batch; }
@media (min-width: 720px) { .batches { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.batch {
  position: relative; padding: 1.75rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.batch:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.batch-time { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; color: var(--primary); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.batch-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.batch-text { color: var(--muted); }
.batch.is-next { border-color: var(--primary); box-shadow: var(--shadow); }
.batch.is-next::after {
  content: "Prochaine"; position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-dark); background: var(--primary); padding: 0.3rem 0.65rem; border-radius: 999px;
}
@media (max-width: 719px) {
  .batch { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 1rem; padding: 1.25rem; }
  .batch > * { grid-column: 2; }
  .batch .batch-time { grid-column: 1; grid-row: 1 / span 2; font-size: 1.75rem; margin: 0; }
  .batch.is-next::after { position: static; grid-column: 2; justify-self: start; margin-top: 0.625rem; }
}
.batches-note { margin-top: 1.5rem; color: var(--ink); font-size: 1rem; }

/* ---------- Products ---------- */
.products { display: grid; gap: 1rem; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.product {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start; align-content: start;
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(122, 59, 28, 0.3); }
.product-ill {
  width: 3.5rem; height: 3.5rem; padding: 0.375rem; border-radius: 50%;
  background: rgba(201, 120, 46, 0.12); color: var(--primary);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.375rem; }
.product h3 { font-size: 1.3125rem; }
.product p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.tag { display: inline-block; margin-top: 0.875rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.tag-accent { color: var(--on-dark); background: var(--primary); }
.product-weekend .tag-accent { color: var(--primary); background: transparent; border: 1px solid rgba(122, 59, 28, 0.4); }
.product-feature { background: #F1E4D1; border-color: rgba(122, 59, 28, 0.28); }
.product-feature .product-ill { background: rgba(122, 59, 28, 0.14); }
@media (min-width: 640px) {
  .product { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem; }
  .product-ill { width: 4.5rem; height: 4.5rem; padding: 0.5rem; }
  .product h3 { font-size: 1.5rem; }
}
.products-cta {
  margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  background: #F1E4D1; border: 1px solid rgba(122, 59, 28, 0.22);
}
.products-cta p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; max-width: 34rem; }
@media (max-width: 479px) { .products-cta .btn { flex: 1 1 100%; } }

/* ---------- Fournil ---------- */
.fournil-grid { display: grid; gap: 3rem; align-items: center; }
.fournil-media { margin: 0; }
.fournil-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow-lg); }
.fournil-copy h2 { font-size: clamp(2rem, 4.5vw, 2.875rem); margin-bottom: 2.5rem; }
.fournil-copy .rules { display: grid; gap: 1.75rem; margin-bottom: 2.5rem; }
.rules li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; padding-bottom: 0; }
.rule-num { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--primary); padding-top: 0.15rem; }
.rules h3 { font-size: 1.3125rem; margin-bottom: 0.375rem; }
.rules p { color: var(--muted); }
.quote { margin: 0; padding: 1.5rem 1.75rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.4; font-style: italic; margin-bottom: 0.75rem; }
.quote footer { font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 960px) {
  .fournil-grid { grid-template-columns: 0.85fr 1fr; gap: 6rem; }
}

/* ---------- Seasons (dark) ---------- */
.section-dark {
  background:
    radial-gradient(50rem 24rem at 100% 0%, rgba(201, 120, 46, 0.22), transparent 60%),
    var(--ink);
  color: var(--on-dark);
}
.section-dark .eyebrow::before { background: var(--accent); }
.seasons { display: grid; gap: 0; border-top: 1px solid rgba(247, 241, 231, 0.16); }
@media (min-width: 720px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.seasons li { padding: 1.25rem 0; border-bottom: 1px solid rgba(247, 241, 231, 0.16); display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 1rem; }
.seasons li > * { grid-column: 2; }
.seasons li > .season-when { grid-column: 1; grid-row: 1 / span 2; margin: 0.35rem 0 0; }
@media (min-width: 720px) { .seasons li { display: block; } }
@media (min-width: 720px) {
  .seasons li { padding: 2rem 2rem 2rem 0; }
  .seasons li + li { padding-left: 2rem; border-left: 1px solid rgba(247, 241, 231, 0.16); }
  .seasons li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (min-width: 1024px) {
  .seasons li { border-bottom: 0; }
  .seasons li:nth-child(3) { padding-left: 2rem; border-left: 1px solid rgba(247, 241, 231, 0.16); }
}
.season-when { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #F3C58E; margin-bottom: 0.75rem; }
.seasons h3 { font-size: 1.375rem; margin-bottom: 0.375rem; color: var(--on-dark); }
@media (min-width: 720px) { .seasons h3 { font-size: 1.5rem; } .seasons li > .season-when { margin: 0 0 0.75rem; } }
.seasons li > p:last-child { color: #E8DCCB; }

/* ---------- Infos ---------- */
.infos-grid { display: grid; gap: 3rem; align-items: start; }
.infos-copy h2 { font-size: clamp(2rem, 4.5vw, 2.875rem); margin-bottom: 1rem; }
.infos-copy .lead { margin-bottom: 2rem; }
.address { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.8; }
.address strong { color: var(--ink); }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.25); padding: 2rem; box-shadow: var(--shadow); }
.hours-title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.8rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--primary); }
.hours tr.is-today th::after { content: "aujourd’hui"; display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; line-height: 1.3; }
@media (min-width: 480px) { .hours tr.is-today th::after { content: " · aujourd’hui"; display: inline; } }
.hours-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 960px) { .infos-grid { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; } .hours-card { padding: 2.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E8DCCB; padding-block: 3.5rem 2rem; }
.footer-inner { display: grid; gap: 2rem; }
.brand-footer { color: var(--on-dark); }
.brand-footer .brand-name { color: var(--on-dark); }
.brand-footer .brand-tag { color: #F3C58E; }
.footer-pitch { margin-top: 1rem; max-width: 22rem; font-size: 0.9375rem; color: #D9CBB8; }
.footer-title { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #F3C58E; margin-bottom: 0.75rem; }
.footer-col p { font-size: 0.9375rem; line-height: 1.8; }
.footer-col a { color: var(--on-dark); text-underline-offset: 3px; }
.footer-col a:hover { color: #F3C58E; }
.footer-legal { font-size: 0.875rem; color: #CDBBA7; padding-top: 1.5rem; border-top: 1px solid rgba(247, 241, 231, 0.14); }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
  .footer-legal { grid-column: 1 / -1; }
}

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

/* ---------- Brand seal (signature element) ---------- */
.seal { position: absolute; z-index: 2; top: -1.25rem; right: 0.75rem; width: 5.5rem; height: 5.5rem; transform: rotate(-8deg); filter: drop-shadow(0 6px 14px rgba(42, 28, 19, 0.25)); }
.seal-bg { fill: var(--primary); }
.seal-inner { fill: none; stroke: rgba(247, 241, 231, 0.45); stroke-width: 1; }
.seal-text { fill: var(--on-dark); font: 600 9.5px var(--font-body); letter-spacing: 0.08em; }
.seal-loaf { fill: none; stroke: var(--on-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) { .seal { top: -2rem; right: -2rem; width: 7.5rem; height: 7.5rem; } }

/* ---------- Mobile: denser catalogue, fournil title before its photo ---------- */
@media (max-width: 639px) {
  .product { grid-template-columns: 2.75rem 1fr; gap: 0.875rem; padding: 1rem 1.125rem; }
  .product-ill { width: 2.75rem; height: 2.75rem; padding: 0.3rem; }
  .product h3 { font-size: 1.1875rem; }
  .product p { font-size: 0.9375rem; }
  .products { gap: 0.75rem; }
}
@media (max-width: 959px) {
  .fournil-grid { gap: 0; }
  .fournil-copy { display: contents; }
  .fournil-copy > .eyebrow { order: 1; justify-self: start; }
  .fournil-copy > h2 { order: 2; margin-bottom: 1.5rem; }
  .fournil-media { order: 3; margin-bottom: 2rem; }
  .fournil-media img { aspect-ratio: 4 / 3; }
  .fournil-copy > .rules { order: 4; }
  .fournil-copy > .quote { order: 5; }
}

/* ---------- Mobile hero: practical info within the first screen ---------- */
@media (max-width: 639px) {
  .hero-grid { gap: 1.75rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero .lead { font-size: 1.0625rem; margin-bottom: 1.5rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
  .hero-actions .btn { flex: none; padding-inline: 1.125rem; }
  .status { margin-top: 1.25rem; }
  .hero-media img { aspect-ratio: 16 / 10; }
}
