/* ============================================================
   Les Oies Sauvages — feuille de style unique
   Charpente reprise du site fassler-tech.ch, nettoyée.
   Pour changer l'identité du site : modifier uniquement :root.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-var.woff2') format('woff2');
}

:root {
  /* Couleurs tirées du logo */
  --accent: #2d572e;        /* sapins foncés : boutons, liens, filets */
  --accent-dark: #19321b;   /* anneau du logo : survol, bandeau final */
  --accent-light: #a9cb9b;  /* ciel du logo : détails décoratifs (jamais du texte) */
  --accent-tint: rgba(45, 87, 46, 0.09);

  /* Neutres */
  --black: #121a13;
  --ink: #1e2420;
  --subtext: #5a6359;
  --subtext-on-dark: rgba(255, 255, 255, 0.82);
  --line: #dde4d8;
  --soft: #f1f6ee;          /* vert très pâle : sections alternées */
  --white: #ffffff;

  --radius: 8px;
  --shadow-card: 0 14px 36px rgba(20, 32, 20, 0.07);
  --gutter: clamp(18px, 5vw, 82px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 144px;
}

html, body { overflow-x: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

img, video { display: block; max-width: 100%; }

h1, h2, h3, p, li { overflow-wrap: break-word; }

h1, h2, h3 {
  margin: 0;
  color: var(--black);
  line-height: 1.08;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.01em; }

h3 { font-size: 1.2rem; line-height: 1.25; }

p { margin: 0; }

.nowrap { white-space: nowrap; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 800;
  border-radius: 0 0 var(--radius) 0;
}

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

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(45, 87, 46, 0.55);
  outline-offset: 2px;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 124px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

/* Grand écran : trois colonnes égales, les onglets au centre exact de la page */
@media (min-width: 961px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
  }

  .site-header .brand { justify-self: start; }
  .site-header .nav { justify-self: center; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.brand img {
  width: 104px;
  height: 104px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  color: var(--accent-dark);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.brand-sub {
  color: var(--subtext);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a { padding: 8px 0; border-bottom: 2px solid transparent; }

.nav a:hover { color: var(--accent); }

.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  border-radius: 6px;
  color: var(--subtext);
  font-size: 0.8rem;
  font-weight: 900;
}

.language-switch a.active,
.language-switch a:hover {
  color: var(--white);
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle-bars { position: relative; }

.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; }

.site-header.nav-open .nav-toggle-bars { background: transparent; }
.site-header.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button.primary { color: var(--white); background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.button.secondary {
  color: var(--accent-dark);
  border-color: var(--line);
  background: var(--white);
}

.button.secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Bouton clair posé sur la vidéo ou le bandeau foncé */
.button.on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.on-dark:hover { background: rgba(255, 255, 255, 0.22); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) var(--gutter); }

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

.section-heading { margin-bottom: 34px; }

.heading-lead {
  margin-top: 14px;
  color: var(--subtext);
  font-size: 1.08rem;
  line-height: 1.6;
}

.lead-dark {
  margin-top: 22px;
  color: var(--subtext);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

.lead-dark + .lead-dark { margin-top: 14px; }

.prose p {
  color: var(--subtext);
  font-size: 1.08rem;
}

.prose p + p { margin-top: 16px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 850;
}

.link-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(3px); }

/* ---------- Accueil : vidéo d'en-tête ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: min(calc(100vh - 124px), 720px);
  padding: clamp(40px, 6vw, 84px) var(--gutter) clamp(40px, 5vw, 70px);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--accent-dark);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 55%;
}

/* Ombre limitée au côté du texte : le reste de l'image reste lumineux */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 30, 15, 0.78) 0%, rgba(14, 30, 15, 0.52) 38%, rgba(14, 30, 15, 0) 68%),
    linear-gradient(0deg, rgba(14, 30, 15, 0.45) 0%, rgba(14, 30, 15, 0) 40%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent-dark) 0 40%, var(--accent) 40% 72%, var(--accent-light) 72% 100%);
}

.hero-content { max-width: 760px; }

.hero .tagline {
  margin: 0 0 16px;
  color: #dcebd5;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero .lead {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-hero.is-single { grid-template-columns: 1fr; }

.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: none; }

.page-hero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-hero-photo img { width: 100%; height: auto; }

/* ---------- Cartes ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-grid.three { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card p {
  margin-top: 12px;
  color: var(--subtext);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-tint);
}

.card-icon svg { width: 25px; height: 25px; }

/* Liste de règles (label) */
.rule-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--subtext);
}

.rule-list li strong { color: var(--black); }

.rule-list svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}

/* ---------- Bloc texte + photo ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split.is-reversed .split-photo { order: -1; }

.split-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.split-photo img { width: 100%; height: auto; }

.split-photo figcaption {
  padding: 10px 14px;
  color: var(--subtext);
  font-size: 0.88rem;
  background: var(--white);
}

/* Label weidegans.ch : image de taille modeste à côté du texte */
.label-block {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.label-block img { width: 100%; height: auto; }

/* ---------- Frise de l'élevage ---------- */
.path-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
}

.path-item.no-photo { grid-template-columns: 1fr; }

.path-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
}

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

.path-step {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.path-step sup {
  margin: 0 0.35em 0 1px;
  font-size: 0.8em;
  line-height: 0;
  text-transform: none;
  vertical-align: 0.3em;
}

.path-item p {
  margin-top: 10px;
  color: var(--subtext);
}

/* Flèche entre deux étapes d'une même ligne */
.path-item:nth-child(odd):not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -44px;
  width: 34px;
  height: 12px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' viewBox='0 0 34 12'%3E%3Cg fill='none' stroke='%232d572e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h30'/%3E%3Cpath d='M27 2l5 4-5 4'/%3E%3C/g%3E%3C/svg%3E") center / 34px 12px no-repeat;
}

/* Dernière étape seule sur sa ligne : elle prend toute la largeur */
.path-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
}

/* Aperçu de la frise sur l'accueil : quatre étapes compactes, sans photo */
.mini-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.mini-path li {
  position: relative;
  padding: 22px 22px 24px;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--soft);
  counter-increment: step;
}

.mini-path li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.mini-path h3 { font-size: 1.08rem; }

.mini-path p {
  margin-top: 8px;
  color: var(--subtext);
  font-size: 0.97rem;
}

/* ---------- Étapes de réservation ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.steps p {
  margin-top: 8px;
  color: var(--subtext);
}

.note {
  margin-top: 22px;
  color: var(--subtext);
  font-size: 1rem;
}

.note a { color: var(--accent); font-weight: 800; }
.note a:hover { text-decoration: underline; }

/* ---------- Carte de coordonnées ---------- */
.contact-card {
  display: grid;
  gap: 6px;
  max-width: 420px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  font-style: normal;
  box-shadow: var(--shadow-card);
}

.contact-card strong {
  color: var(--black);
  font-size: 1.12rem;
}

.contact-card a {
  color: var(--accent);
  font-weight: 850;
}

.contact-card a:hover { text-decoration: underline; }

.contact-card span { color: var(--subtext); }

/* ---------- Bandeau final ---------- */
.cta-band {
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  color: var(--white);
  background: var(--accent-dark);
}

.cta-band h2 { color: var(--white); }

.cta-band .cta-sub {
  margin-top: 12px;
  color: var(--subtext-on-dark);
  font-size: 1.1rem;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-contacts .button.primary {
  color: var(--accent-dark);
  background: var(--white);
}

.cta-contacts .button.primary:hover { background: #e6efe1; }

.cta-address {
  margin-top: 18px;
  color: var(--subtext-on-dark);
}

/* ---------- Recettes ---------- */
.recipe-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.recipe-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--white);
  font-size: 0.93rem;
  font-weight: 750;
}

.recipe-toc a:hover { border-color: var(--accent); color: var(--accent); }

.recipe-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.recipe-teasers a {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 10px;
  align-items: center;
  height: 100%;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 750;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.recipe-teasers a::after {
  content: "→";
  color: #a3ab9f;
  transition: color 0.18s ease, transform 0.18s ease;
}

.recipe-teasers a:hover {
  border-color: rgba(45, 87, 46, 0.5);
  box-shadow: 0 12px 30px rgba(20, 32, 20, 0.08);
  transform: translateY(-1px);
}

.recipe-teasers a:hover::after { color: var(--accent); transform: translateX(3px); }

.recipe {
  scroll-margin-top: 144px;
}

.recipe-head { margin-bottom: 26px; }

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.recipe-meta li {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-tint);
  font-size: 0.88rem;
  font-weight: 750;
}

.recipe-body {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.recipe-ingredients {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
}

.recipe-ingredients h3,
.recipe-steps h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.recipe-ingredients h4 {
  margin: 18px 0 6px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.recipe-ingredients ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}

.recipe-ingredients li + li { margin-top: 5px; }

.recipe-steps ol {
  margin: 0;
  padding-left: 22px;
}

.recipe-steps li {
  padding-left: 6px;
  color: var(--ink);
}

.recipe-steps li + li { margin-top: 12px; }

.recipe-steps li::marker {
  color: var(--accent);
  font-weight: 900;
}

.recipe-tip {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--accent-tint);
}

.recipe-credits {
  color: var(--subtext);
  font-size: 0.92rem;
}

.recipe-credits a { color: var(--accent); font-weight: 750; }

.print-button { margin-top: 22px; }

/* ---------- Pages légales ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
}

.legal p,
.legal li { color: var(--subtext); }

.legal p + p { margin-top: 12px; }

.legal ul { margin: 10px 0 0; padding-left: 20px; }

.legal ul + p { margin-top: 12px; }

.legal a { color: var(--accent); font-weight: 750; }

.legal .updated {
  margin-top: 8px;
  color: var(--subtext);
  font-size: 0.9rem;
}

/* ---------- Page 404 ---------- */
.error-page {
  display: grid;
  place-content: center;
  gap: 14px;
  min-height: 56vh;
  text-align: center;
}

.error-page .button { justify-self: center; margin-top: 8px; }

/* ---------- Pied de page (repris du site de l'éditeur) ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px var(--gutter);
  color: var(--subtext-on-dark);
  background: var(--black);
}

.footer-line {
  margin: 0;
  color: var(--white);
}

.site-footer .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.footer-links .sep { margin: 0 14px; }

.footer-links a {
  color: var(--accent-light);
  font-weight: 700;
}

.footer-links a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mini-path { grid-template-columns: repeat(2, 1fr); }
  .recipe-teasers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; }

  /* Le logo et le nom se resserrent pour laisser le bouton du menu sur la même ligne */
  .brand { flex: 1 1 0; min-width: 0; }

  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; flex: 0 0 auto; }

  .site-header .nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .site-header .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 6px;
  }

  .site-header .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-header .nav a[aria-current="page"] { border-bottom-color: var(--line); }

  .site-header.nav-open .nav { display: flex; }

  /* Texte sur toute la largeur : on assombrit la photo de bas en haut */
  .hero::before {
    background: linear-gradient(0deg, rgba(14, 30, 15, 0.82) 0%, rgba(14, 30, 15, 0.6) 50%, rgba(14, 30, 15, 0.25) 100%);
  }

  .page-hero,
  .split,
  .recipe-body { grid-template-columns: 1fr; }

  .split.is-reversed .split-photo { order: 0; }

  .page-hero-photo,
  .split-photo { max-width: 640px; }

  .feature-grid,
  .feature-grid.three,
  .steps,
  .rule-list { grid-template-columns: 1fr; }

  .path-flow { grid-template-columns: 1fr; gap: 34px; }

  .path-item:nth-child(odd):not(:last-child)::after,
  .path-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: -28px;
    left: 50%;
    right: auto;
    width: 34px;
    height: 12px;
    transform: translateX(-50%) rotate(90deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' viewBox='0 0 34 12'%3E%3Cg fill='none' stroke='%232d572e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h30'/%3E%3Cpath d='M27 2l5 4-5 4'/%3E%3C/g%3E%3C/svg%3E") center / 34px 12px no-repeat;
  }

}

@media (max-width: 640px) {
  html { scroll-padding-top: 0; }

  .site-header { position: static; }

  .site-header { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .site-header { min-height: 92px; }
  .brand img { width: 72px; height: 72px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: 0.78rem; }

  .hero { min-height: 78vh; }

  .hero-actions .button,
  .cta-contacts .button { width: 100%; }

  .mini-path,
  .recipe-teasers { grid-template-columns: 1fr; }

  .path-item,
  .path-item:last-child:nth-child(odd) { grid-template-columns: 1fr; }

  .path-photo { aspect-ratio: 4 / 3; }

  .label-block { grid-template-columns: 1fr; }
  .label-block img { max-width: 200px; }

  .feature-card,
  .steps li,
  .recipe-ingredients { padding: 20px; }
}

/* ---------- Impression (recettes) ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .print-button,
  .recipe-toc,
  .no-print { display: none !important; }

  body { color: #000; font-size: 11pt; }

  .section { padding: 0 0 12pt; background: none !important; }

  .page-hero-photo { display: none; }

  .recipe {
    break-before: page;
    padding: 0;
  }

  .recipe-body { grid-template-columns: 34% 1fr; gap: 18pt; }

  .recipe-ingredients { border: 1px solid #999; }

  a { color: #000 !important; }
}
