/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --cream:    #F7F2E8;
  --cream2:   #EDE7D6;
  --forest:   #2A3820;
  --sage:     #7A8C6A;
  --sage-lt:  #E8EDDF;
  --accent:   #C4622D;
  --ocre:     #D4A853;
  --text:     #2A2A22;
  --text-lt:  #6B6B58;
  --radius:   18px;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Outfit', sans-serif;
  --display:  'Barlow Condensed', sans-serif;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
  opacity: 0.6;
}

/* ─── SKIP NAV ────────────────────────────────────────────── */
.skip-nav {
  position: absolute; top: -100%; left: 1rem;
  background: var(--forest); color: var(--cream);
  padding: 0.6rem 1.2rem; border-radius: 0 0 8px 8px;
  font-size: 0.85rem; font-weight: 500; z-index: 10000;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ─── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  height: 88px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-logo { justify-self: start; display: flex; align-items: center; }
.nav-logo-img { height: 68px; width: 68px; object-fit: cover; border-radius: 50%; transition: opacity 0.4s; }
#nav.scrolled .nav-logo-img { opacity: 1; }
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
}
.nav-links a {
  color: rgba(247,242,232,0.9);
  transition: color 0.3s;
  position: relative; padding-bottom: 4px;
}
#nav.scrolled .nav-links a { color: var(--text); }
/* Soulignement : entre de gauche à droite, repart vers la droite */
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1.5px; background: var(--ocre);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-right {
  justify-self: end; display: flex; align-items: center; gap: 1rem;
}
.nav-cta {
  font-size: 0.83rem; font-weight: 500;
  padding: 9px 22px; border-radius: 999px;
  border: 1.5px solid rgba(247,242,232,0.6);
  color: var(--cream);
  transition: all 0.3s;
  white-space: nowrap;
}
#nav.scrolled .nav-cta {
  border-color: var(--forest);
  color: var(--forest);
}
.nav-cta:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* ─── BURGER & MENU MOBILE ────────────────────────────────── */
.burger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px; align-items: center;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); transition: all 0.3s;
}
#nav.scrolled .burger span { background: var(--forest); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4.5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--forest); flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display); font-size: 2rem; font-weight: 700;
  color: var(--cream); letter-spacing: 0.04em; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--ocre); }

/* ─── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding: 0 8vw 10vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  transform-origin: center; will-change: transform;
  transform: translateY(0) scale(1.1);
  background: url('../images/ferme-drone_comp.webp') center/cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(24, 24, 24, 0.5) 55%, transparent 100%);
}
.hero-overlay::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ocre);
  margin-bottom: 1.2rem; opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--display); font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700; line-height: 0.95; color: var(--cream);
  margin-bottom: 1.4rem; opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ocre); }
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 300;
  color: rgba(247,242,232,0.82); line-height: 1.65;
  max-width: 480px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.9s forwards; }
.btn-primary {
  padding: 14px 34px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.3s; border: 2px solid var(--accent);
}
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost {
  padding: 14px 34px; border-radius: 999px;
  border: 1.5px solid rgba(247,242,232,0.5); color: var(--cream);
  font-size: 0.9rem; font-weight: 400;
  transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(247,242,232,0.1); border-color: var(--cream); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 8vw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
}
.hero-mute {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(247,242,232,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(247,242,232,0.7);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
}
.hero-mute:hover { background: rgba(255,255,255,0.2); color: var(--cream); border-color: rgba(247,242,232,0.5); }
.hero-mute.active { background: rgba(196,98,45,0.25); border-color: var(--accent); color: var(--cream); }
.hero-mute .icon-unmuted { display: none; }
.hero-mute.active .icon-muted { display: none; }
.hero-mute.active .icon-unmuted { display: block; }
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,242,232,0.5); }
.scroll-line {
  width: 1px; height: 52px; background: rgba(247,242,232,0.3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--ocre);
  animation: scrollAnim 1.8s ease-in-out infinite;
}

/* ─── SECTION SHARED ──────────────────────────────────────── */
section { padding: 100px 8vw; }
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.8rem; display: block;
}
.section-title {
  font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; line-height: 0.95; color: var(--forest);
}
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.section-rule {
  width: 48px; height: 2px; background: var(--accent);
  margin: 1.4rem 0 2rem; border: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(.2,.9,.2,1), transform 0.75s cubic-bezier(.2,.9,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-32px); transition: opacity 0.75s cubic-bezier(.2,.9,.2,1), transform 0.75s cubic-bezier(.2,.9,.2,1); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(32px); transition: opacity 0.75s cubic-bezier(.2,.9,.2,1), transform 0.75s cubic-bezier(.2,.9,.2,1); }
.reveal-r.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }

/* ─── HISTOIRE ────────────────────────────────────────────── */
#histoire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.histoire-img-wrap { position: relative; }
.histoire-img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 120px 24px 120px 24px;
  box-shadow: 0 24px 60px rgba(42,56,32,0.18);
}
.histoire-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--forest);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream); font-family: var(--serif);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.histoire-badge strong { font-size: 2rem; line-height: 1; }
.histoire-badge span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-top: 4px; text-align: center; padding: 0 10px; }
.histoire-text { padding: 20px 0; }
.histoire-text p {
  font-size: 1.05rem; line-height: 1.8; color: var(--text-lt);
  margin-bottom: 1.5rem;
}
.histoire-text p strong { color: var(--text); font-weight: 500; }
.milestones { display: flex; gap: 2.5rem; margin: 2rem 0; }
.milestone { flex: 1; }
.milestone-year {
  font-family: var(--serif); font-size: 1.6rem; color: var(--accent);
  line-height: 1;
}
.milestone-label { font-size: 0.8rem; color: var(--text-lt); margin-top: 4px; line-height: 1.4; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 12px 28px; border-radius: 999px;
  border: 1.5px solid var(--forest); color: var(--forest);
  font-size: 0.88rem; font-weight: 500;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-outline svg { transition: transform 0.3s; }
.btn-outline:hover svg { transform: translateX(4px); }

/* ─── PRODUITS ────────────────────────────────────────────── */
#produits { background: var(--forest); }
.produits-header { text-align: center; margin-bottom: 60px; }
.produits-header .section-rule { margin: 1.4rem auto 2rem; }
.produits-intro { max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: rgba(247,242,232,0.75); }
#produits .section-label { color: var(--ocre); }
#produits .section-title { color: var(--cream); }
#produits .section-rule { background: var(--ocre); }

.produits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 560px));
  gap: 28px;
  justify-content: center;
}
.card {
  background: var(--cream2); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(42,56,32,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
}
.card:hover { box-shadow: 0 16px 48px rgba(42,56,32,0.14); }
.card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.card-badge.green { background: var(--forest); }
.card-body { padding: 16px 18px 20px; }
.card-body h3 {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--forest);
  margin-bottom: 0.4rem; letter-spacing: 0.02em;
}
.card-body p { font-size: 0.84rem; line-height: 1.6; color: var(--text-lt); text-align: justify; }
.card-aromes-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-wrap: nowrap;
  gap: 0; padding: 10px 12px 8px;
  overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(to top, rgba(10,8,5,0.72) 0%, rgba(10,8,5,0.45) 70%, transparent 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.card-aromes-overlay::-webkit-scrollbar { display: none; }
.arome-icon {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; flex: 1 0 0; min-width: 52px;
  cursor: default;
  transition: transform 0.2s ease;
}
.arome-icon:hover { transform: translateY(-3px); }
.arome-icon svg {
  width: 32px; height: 32px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
  transition: filter 0.2s ease;
}
.arome-icon:hover svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)) brightness(1.08); }
.arome-icon > span {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 500;
  color: rgba(255,248,235,0.92); letter-spacing: 0.03em;
  text-align: center; line-height: 1.2; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.produits-info-banner {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 20px 36px; border-radius: 14px;
  background: var(--cream); box-shadow: 0 2px 20px rgba(42,56,32,0.08);
}
.produits-info-banner p {
  font-size: 0.92rem; color: var(--text-lt);
}
.produits-info-banner strong { color: var(--text); }
.produits-info-center { text-align: center; margin-top: 52px; }

/* ─── GALERIE ─────────────────────────────────────────────── */
#galerie { padding: 80px 8vw 100px; background: var(--cream); }
.galerie-header { margin-bottom: 48px; }
.galerie-header .section-label { color: var(--forest); }
.galerie-header .section-title { color: var(--forest); }
.galerie-header .section-rule { margin: 1.4rem 0 0; background: var(--ocre); }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
}
.galerie-item { overflow: hidden; border-radius: 12px; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.galerie-item:hover img { transform: scale(1.07); }
.galerie-item--tall { grid-row: span 2; }
.galerie-item--wide { grid-column: span 2; }

/* ─── GALERIE FABRICATION ─────────────────────────────────── */
.galerie-fab-cta {
  text-align: center;
  margin-top: 48px;
}
.btn-fab-toggle {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 13px 30px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  border: none;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-fab-toggle:hover { background: var(--accent); transform: translateY(-2px); }
.btn-fab-toggle .icon-chevron { transition: transform 0.35s ease; }
.btn-fab-toggle[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }

.galerie-fabrication {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  pointer-events: none;
}
.galerie-fabrication.open {
  max-height: 3200px;
  opacity: 1;
  pointer-events: auto;
}
.galerie-fab-header { margin: 56px 0 40px; }

/* ─── NOUS TROUVER ────────────────────────────────────────── */
#trouver { padding: 0; display: block; }

.trouver-pvente {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
  padding: 100px 8vw;
  background: var(--forest);
}
.trouver-pvente .section-label { color: var(--ocre); }
.trouver-pvente .section-title { color: var(--cream); }
.trouver-pvente .section-rule  { background: var(--ocre); margin-bottom: 1.8rem; }
.trouver-pvente .pvente-item { background: rgba(247,242,232,0.1); border-color: transparent; }
.trouver-pvente .pvente-item:hover,
.trouver-pvente .pvente-item.active { background: rgba(247,242,232,0.15); border-color: var(--ocre); }
.trouver-pvente .pvente-item-text strong { color: var(--cream); }
.trouver-pvente .pvente-item-text span { color: rgba(247,242,232,0.65); }

.trouver-contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 100px 8vw;
  background: var(--cream);
}
.trouver-contact img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(42,56,32,0.14);
}
.trouver-info .section-rule { margin-bottom: 2.5rem; }
.contact-block { margin-bottom: 2rem; font-style: normal; }
.contact-block h3 {
  font-family: var(--serif); font-size: 1.3rem; color: var(--forest);
  margin-bottom: 1rem;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 0.9rem;
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--forest); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-row-text { font-size: 0.95rem; line-height: 1.6; color: var(--text-lt); }
.contact-row-text strong {
  color: var(--text); font-weight: 500; display: block;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 2px;
}
.contact-accent { color: var(--accent); }

/* ─── RECHERCHE MAGASIN (mobile) ─────────────────────────── */
.pvente-search { display: none; margin-bottom: 1.4rem; position: relative; }
.pvente-search-wrap {
  display: flex;
  background: rgba(247,242,232,0.1);
  border: 1.5px solid rgba(247,242,232,0.22);
  border-radius: 12px; overflow: hidden;
}
.pvente-search-wrap input {
  flex: 1; padding: 12px 14px;
  background: transparent; border: none; outline: none;
  color: var(--cream); font-family: var(--sans); font-size: 0.9rem;
}
.pvente-search-wrap input::placeholder { color: rgba(247,242,232,0.4); }
.pvente-search-wrap button {
  padding: 0 14px; background: transparent; border: none;
  color: rgba(247,242,232,0.7); cursor: pointer; transition: color 0.2s;
  display: flex; align-items: center;
}
.pvente-search-wrap button:hover { color: var(--ocre); }
.pvente-search-anchor { position: relative; }
.pvente-autocomplete {
  display: none; list-style: none; margin: 0; padding: 4px 0;
  position: absolute; bottom: calc(100% + 6px); top: auto;
  left: 0; right: 0; z-index: 300;
  background: #1a2416;
  border: 1.5px solid rgba(247,242,232,0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 -6px 28px rgba(0,0,0,0.45);
}
.pvente-autocomplete.open { display: block; }
.pvente-autocomplete li {
  padding: 10px 14px;
  color: rgba(247,242,232,0.72);
  font-family: var(--sans); font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(247,242,232,0.07);
}
.pvente-autocomplete li:last-child { border-bottom: none; }
.pvente-autocomplete li:hover,
.pvente-autocomplete li.focused {
  background: rgba(196,152,83,0.2);
  color: var(--cream);
}
.pvente-search-result { margin-top: 0.8rem; }
.pvente-search-card {
  background: rgba(247,242,232,0.1); border-radius: 12px;
  padding: 14px 16px; border: 1.5px solid var(--ocre);
}
.pvente-search-card strong { color: var(--cream); display: block; margin-bottom: 3px; font-size: 0.9rem; }
.pvente-search-card span { color: rgba(247,242,232,0.65); font-size: 0.8rem; display: block; }
.pvente-search-dist { margin-top: 6px; color: var(--ocre); font-size: 0.78rem; font-weight: 600; }
.pvente-search-msg { color: rgba(247,242,232,0.55); font-size: 0.85rem; }

.pvente-list {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 380px; overflow-y: auto; padding-right: 6px;
  scrollbar-width: thin; scrollbar-color: var(--sage) transparent;
}
.pvente-list::-webkit-scrollbar { width: 4px; }
.pvente-list::-webkit-scrollbar-track { background: transparent; }
.pvente-list::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 99px; }
.pvente-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--cream2); cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s;
}
.pvente-item:hover, .pvente-item.active { border-color: var(--accent); background: #fff; }
.pvente-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.pvente-dot.ferme { background: var(--accent); }
.pvente-dot.store { background: var(--sage); }
.pvente-item-text { flex: 1; }
.pvente-item-text strong { font-size: 0.88rem; font-weight: 600; color: var(--text); display: block; }
.pvente-item-text span { font-size: 0.78rem; color: var(--text-lt); }

#map-pv {
  border-radius: var(--radius); overflow: hidden;
  height: 480px; width: 100%;
  box-shadow: 0 8px 32px rgba(42,56,32,0.12);
  position: sticky; top: 100px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--forest); padding: 72px 8vw 36px;
  color: rgba(247,242,232,0.75);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
}
.footer-brand-name {
  font-family: var(--serif); font-size: 1.4rem; color: var(--cream);
  margin-bottom: 0.6rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ocre); margin-bottom: 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cream); }
.footer-col p { font-size: 0.88rem; line-height: 1.8; }
.footer-col a.footer-phone { color: var(--ocre); transition: color 0.2s; }
.footer-col a.footer-phone:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(247,242,232,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 1.8rem; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--cream); }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollAnim { 0%,100%{transform:translateY(-100%)} 50%{transform:translateY(200%)} }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

/* ── Tablette (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .produits-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid  { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Mobile (≤ 768px) ───────────────────────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* Nav */
  #nav {
    height: 64px; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-links { display: none; }
  .nav-right { justify-self: unset; }
  .nav-cta   { display: none; }
  .burger    { display: flex; }
  .nav-logo-img { height: 44px; width: 44px; }

  /* Sections */
  section  { padding: 60px 1.25rem; }
  #galerie { padding: 60px 1.25rem 72px; }
  .trouver-pvente,
  .trouver-contact { padding: 60px 1.25rem; }

  /* Hero */
  #hero { padding: 0 1.25rem 10vh; }
  .hero-scroll { display: none; }
  .hero-mute { bottom: 1.5rem; }
  .hero-actions { margin-bottom: 3.5rem; }

  /* Histoire */
  #histoire { grid-template-columns: 1fr; gap: 40px; }
  .histoire-img { max-height: 320px; aspect-ratio: auto; }
  .histoire-badge { bottom: 10px; right: 10px; width: 100px; height: 100px; }
  .histoire-badge strong { font-size: 1.5rem; }
  .milestones { flex-direction: row; gap: 1.2rem; }
  .histoire-text .btn-outline { display: flex; justify-content: center; }

  /* Produits */
  .produits-grid { grid-template-columns: 1fr; }
  .produits-info-banner { flex-direction: column; text-align: center; padding: 16px 20px; gap: 0.6rem; }

  /* Galerie */
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .galerie-item--tall { grid-row: span 1; }
  .galerie-item--wide { grid-column: auto; }
  .galerie-grid--cerises .galerie-item:nth-child(n+4) { display: none; }

  /* Trouver */
  .trouver-pvente, .trouver-contact { grid-template-columns: 1fr; gap: 36px; }
  .trouver-contact-img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #map-pv { position: relative; top: auto; height: 280px; }
  .pvente-list { display: none; }
  .pvente-search { display: block; }

  /* Footer */
  footer { padding: 52px 1.25rem 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Petit mobile (≤ 480px) ─────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .hero-title    { font-size: clamp(1.9rem, 9vw, 2.6rem); line-height: 1.0; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    text-align: center; justify-content: center;
    min-height: 48px; display: flex; align-items: center;
  }

  /* Titres */
  .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  /* Galerie */
  .galerie-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .galerie-item--tall { grid-row: span 2; }
}

/* ─── ACCESSIBILITÉ ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r { transition: none !important; opacity: 1; transform: none; }
  .hero-bg { transform: none !important; }
  .hero-video { display: none; }
  .scroll-line::after { animation: none; }
}

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
