/* Accès Québec — thème « Québec moderne »
   Inspiré de Bonjour Québec : aérien, photo-first, turquoise institutionnel,
   blanc neige, typo géométrique — adapté au B2B agroalimentaire. */

:root {
  /* Marque — turquoise / nordique (esprit Bonjour Québec) */
  --teal: #0d8a80;
  --teal-deep: #0a4f56;
  --teal-mid: #14a89a;
  --teal-soft: #e6f7f5;
  --teal-mist: #f0faf9;

  /* Identité Québec — bleu drapeaux / ciel, érable discret */
  --quebec-blue: #1a3a6b;
  --maple: #c41e3a;
  --maple-soft: #fde8ec;

  /* Surfaces froides et propres (moins « rustique crème ») */
  --surface: #ffffff;
  --surface-2: #f5f8fa;
  --surface-3: #eef3f6;
  --line: #d8e2e8;
  --line-strong: #c5d2db;

  /* Texte ardoise moderne */
  --ink: #0f1c24;
  --ink-soft: #2c3e4a;
  --muted: #5c6f7c;

  /* Accents secondaires (terroir, sans lourdeur) */
  --forest: #2a6b4a;
  --forest-soft: #e8f3ec;
  --wheat: #c9852a;
  --wheat-soft: #fdf3e3;

  /* Compatibilité classes existantes (mapping sémantique) */
  --green-deep: var(--teal-deep);
  --green: var(--teal);
  --green-mid: var(--teal-mid);
  --green-soft: var(--teal-soft);
  --earth: var(--quebec-blue);
  --earth-soft: #e8eef6;
  --cream: var(--surface-2);
  --cream-2: var(--surface);
  --warm: var(--maple);
  --warm-deep: #9e1830;
  --warm-soft: var(--maple-soft);
  --white: #ffffff;

  --shadow: 0 16px 48px rgba(10, 79, 86, 0.1);
  --shadow-sm: 0 4px 18px rgba(10, 79, 86, 0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --font-logo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1160px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--teal-deep);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  letter-spacing: -0.025em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal-deep);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ——— Layout ——— */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-green {
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(20, 168, 154, 0.25), transparent 55%),
    linear-gradient(145deg, var(--teal-deep) 0%, #0c3d44 55%, var(--quebec-blue) 100%);
  color: #e8f6f5;
}

.section-green h2,
.section-green h3 {
  color: #fff;
}

.section-green p {
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* ——— Header + burger (tous viewports) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand-text strong,
.brand-wordmark {
  font-family: var(--font-logo);
  font-size: clamp(1.55rem, 2.5vw, 1.85rem);
  font-weight: 700;
  font-style: italic;
  color: var(--teal-deep);
  line-height: 1;
  letter-spacing: -0.01em;
}

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

.header-phone {
  display: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.header-phone:hover {
  color: var(--teal);
}

@media (min-width: 560px) {
  .header-phone {
    display: inline;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  z-index: 220;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.22s var(--ease), opacity 0.15s;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 36, 0.45);
  z-index: 180;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-backdrop[hidden] {
  display: none !important;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(100%, 380px);
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: calc(var(--header-h) + 1.25rem) 1.5rem 2rem;
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(15, 28, 36, 0.12);
  transform: translateX(104%);
  transition: transform 0.28s var(--ease);
  visibility: hidden;
  pointer-events: none;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav[hidden] {
  display: block !important;
}

.site-nav ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.site-nav li {
  border-bottom: 1px solid var(--line);
}

.site-nav a {
  display: block;
  padding: 0.95rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.site-nav-cta {
  display: grid;
  gap: 0.65rem;
}

.site-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Legacy mobile-nav class (if any leftover) */
.main-nav,
.mobile-nav,
.header-cta {
  display: none !important;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(13, 138, 128, 0.25);
}

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.btn-warm {
  background: var(--maple);
  color: white;
  border-color: var(--maple);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.btn-warm:hover {
  background: var(--warm-deep);
  border-color: var(--warm-deep);
  color: white;
}

.btn-light {
  background: white;
  color: var(--teal-deep);
  border-color: white;
}

.btn-light:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.btn-ghost-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero (photo-first, destination QC) ——— */
.hero {
  position: relative;
  padding: clamp(2.75rem, 6.5vw, 5rem) 0 clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 95% 5%, rgba(20, 168, 154, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 90%, rgba(26, 58, 107, 0.08), transparent 50%),
    linear-gradient(180deg, var(--teal-mist) 0%, var(--surface) 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-tagline span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--maple);
  box-shadow: 0 0 0 3px var(--maple-soft);
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 340px;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--teal);
  box-shadow: var(--shadow);
  min-height: 150px;
}

.hero-card:first-child {
  grid-row: 1 / -1;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(15, 28, 36, 0.1);
}

.hero-card--photo {
  background:
    linear-gradient(160deg, rgba(10, 79, 86, 0.12), rgba(10, 79, 86, 0.42)),
    center/cover no-repeat;
}

/* Photos : paysages & terroir QC (esprit Bonjour Québec) */
.hero-card--1 {
  background-image:
    linear-gradient(165deg, rgba(10, 79, 86, 0.15) 0%, rgba(15, 28, 36, 0.45) 100%),
    url("https://images.unsplash.com/photo-1503614472-8c93d56e92ce?w=900&q=80");
}
.hero-card--2 {
  background-image:
    linear-gradient(165deg, rgba(13, 138, 128, 0.2), rgba(10, 79, 86, 0.4)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=700&q=80");
}
.hero-card--3 {
  background-image:
    linear-gradient(165deg, rgba(196, 30, 58, 0.12), rgba(10, 79, 86, 0.38)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?w=700&q=80");
}

/* ——— Stats ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

/* ——— Cards / grids ——— */
.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: var(--teal-soft);
}

.card-icon.warm {
  background: var(--maple-soft);
}
.card-icon.earth {
  background: var(--earth-soft);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.card p {
  flex: 1;
  font-size: 0.97rem;
}

.card .btn {
  margin-top: 1.25rem;
  align-self: flex-start;
}

.audience-card {
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
}

.audience-card.institutions::before {
  background: var(--teal);
}
.audience-card.commerces::before {
  background: var(--maple);
}
.audience-card.producteurs::before {
  background: var(--forest);
}

/* ——— SNAAQ banner ——— */
.snaaq-banner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(20, 168, 154, 0.28), transparent 50%),
    linear-gradient(125deg, var(--teal-deep) 0%, #0c5c62 50%, var(--quebec-blue) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .snaaq-banner {
    grid-template-columns: 1fr auto;
  }
}

.snaaq-banner h2,
.snaaq-banner h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.snaaq-banner p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 40rem;
}

.snaaq-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ——— Triple promise ——— */
.promise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  counter-reset: promise;
}

@media (min-width: 700px) {
  .promise {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
}

.promise-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.promise-item span {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(2.4rem, 5.5vw, 3.75rem) 0;
  background:
    radial-gradient(ellipse 55% 90% at 100% 0%, rgba(13, 138, 128, 0.1), transparent 55%),
    linear-gradient(180deg, var(--teal-mist) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero h1 {
  color: var(--ink);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

/* ——— Catalogue filters ——— */
.filters {
  display: grid;
  gap: 0.85rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 800px) {
  .filters {
    grid-template-columns: repeat(5, 1fr) auto;
    align-items: end;
  }
}

.filter-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.filter-group select,
.filter-group input,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-group select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 138, 128, 0.18);
  background: white;
}

.catalogue-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 4/3;
  background: var(--teal-soft);
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  background: linear-gradient(145deg, var(--teal-soft), var(--surface-3));
}

.product-badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge.bio {
  background: var(--forest-soft);
  color: var(--forest);
}
.badge.adq {
  background: #e3f0ff;
  color: var(--quebec-blue);
}
.badge.saison {
  background: var(--wheat-soft);
  color: #8a5a12;
}

.product-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.product-body p {
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 0.85rem;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 600;
}

.product-card[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* ——— Producers ——— */
.producer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .producer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .producer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.producer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.producer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.producer-photo {
  aspect-ratio: 16/10;
  background: center/cover no-repeat var(--teal-soft);
}

.producer-body {
  padding: 1.25rem;
}

.producer-region {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.producer-body h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.producer-body p {
  font-size: 0.93rem;
  margin-bottom: 0.85rem;
}

.producer-products {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* Region map */
.region-map {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .region-map {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.region-viz {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.region-svg {
  width: 100%;
  height: auto;
  display: block;
}

.region-zone {
  cursor: pointer;
  transition: fill 0.2s, stroke 0.2s, opacity 0.2s;
}

.region-zone:hover,
.region-zone.active {
  fill: var(--teal-mid) !important;
  stroke: var(--teal-deep);
  stroke-width: 2;
  opacity: 1 !important;
}

.region-list {
  display: grid;
  gap: 0.75rem;
}

.region-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.region-item:hover,
.region-item.active {
  border-color: var(--teal);
  background: var(--teal-mist);
  box-shadow: var(--shadow-sm);
}

.region-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.region-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ——— Forms ——— */
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  max-width: 640px;
}

.form-card h2 {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-card > p {
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.form-field .hint {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.form-success {
  display: none;
  background: var(--teal-soft);
  border: 1px solid #9ad9d2;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

.form-success strong {
  color: var(--teal-deep);
  display: block;
  margin-bottom: 0.25rem;
}

/* ——— Steps ——— */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal-mid), var(--teal-deep));
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.step h3 {
  color: var(--ink);
}

/* ——— Split layout ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .split.reverse {
    direction: rtl;
  }
  .split.reverse > * {
    direction: ltr;
  }
}

.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 5px var(--teal);
}

/* ——— Contact block ——— */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-person {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-person .role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.contact-person h2 {
  margin-bottom: 1rem;
  color: var(--ink);
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details .label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-details a {
  font-weight: 700;
  text-decoration: none;
  color: var(--teal-deep);
  font-size: 1.05rem;
}

.contact-details a:hover {
  color: var(--maple);
}

/* ——— Impact numbers ——— */
.impact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.impact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.impact-card .num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.impact-card .label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer {
  background:
    linear-gradient(160deg, var(--teal-deep) 0%, #083840 55%, #0a2a3a 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: white;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: white;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.footer-brand strong {
  color: white;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 750;
}

.footer-tagline {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 0.75rem !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Utility ——— */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}

.two-col-text {
  columns: 1;
  column-gap: 2.5rem;
}
@media (min-width: 800px) {
  .two-col-text {
    columns: 2;
  }
}
.two-col-text p {
  break-inside: avoid;
}

.cta-band {
  background:
    radial-gradient(ellipse 70% 100% at 0% 50%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(125deg, var(--maple) 0%, #9e1830 55%, #7a1428 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.cta-band h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.data th,
table.data td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.data th {
  background: var(--surface-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

table.data tr:last-child td {
  border-bottom: none;
}

/* ——— Region SVG default fills (QC palette) ——— */
.region-viz .region-zone[data-region-id="monteregie"] {
  fill: #14a89a;
  opacity: 0.88;
}
.region-viz .region-zone[data-region-id="centre"] {
  fill: #0d8a80;
  opacity: 0.92;
}
.region-viz .region-zone[data-region-id="cantons"] {
  fill: #0a4f56;
  opacity: 0.94;
}


/* ——— Full-bleed hero banner ——— */
.hero-banner {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--teal-deep);
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 40, 46, 0.25) 0%, rgba(10, 40, 46, 0.55) 45%, rgba(8, 30, 36, 0.88) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  color: white;
  max-width: 42rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: 1rem;
  width: min(100% - 2rem, 42rem);
}

.hero-banner-content h1 {
  color: white;
  font-size: clamp(2.15rem, 5.5vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-banner-content .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero-banner-content .btn-row {
  margin-top: 1.75rem;
}

/* ——— Page hero with photo ——— */
.page-hero-banner {
  position: relative;
  min-height: min(42vh, 420px);
  padding: 0 !important;
  border-bottom: none;
  background: var(--teal-deep);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 32, 38, 0.88) 0%, rgba(8, 32, 38, 0.55) 55%, rgba(8, 32, 38, 0.35) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.page-hero-banner .breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-banner .breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero-banner .breadcrumbs a:hover {
  color: white;
}

.page-hero-banner h1 {
  color: white;
}

.page-hero-banner .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* ——— Photo strip ——— */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 0.5rem;
}

@media (min-width: 800px) {
  .photo-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ——— Card with photo ——— */
.card-photo {
  padding: 0;
  overflow: hidden;
}

.card-photo-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-3);
}

.card-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.card-photo:hover .card-photo-media img {
  transform: scale(1.04);
}

.card-photo-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-photo-body p {
  flex: 1;
}

.card-photo-body .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ——— Media frames / split with image ——— */
.split-media {
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-3);
  aspect-ratio: 4/3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-media .step {
  padding: 0;
  overflow: hidden;
}

.step-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-3);
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-media .step h3,
.steps-media .step p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.steps-media .step h3 {
  margin-top: 1.1rem;
}

.steps-media .step p {
  padding-bottom: 1.25rem;
}

.steps-media .step::before {
  margin: 1rem 0 0 1.25rem;
}

/* CTA with photo */
.cta-band-photo {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  text-align: left;
  padding: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.cta-band-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.cta-band-photo .cta-band-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 36rem;
}

.cta-band-photo .btn-row {
  justify-content: flex-start;
}

.stats-row {
  margin-top: 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand .brand-wordmark {
  color: white;
  font-size: 1.65rem;
}

/* Hide decorative AI-style badges if any remain */
.hero-tagline,
.snaaq-badge {
  display: none !important;
}


/* ——— Focus visible ——— */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
