/* Belenvert Primeur, version 2 : les producteurs du Vaucluse sur un plan dessiné */
:root {
  --paper: #EEF1E6;
  --paper-2: #E3E8D7;
  --card: #F8FAF3;
  --ink: #2F3324;
  --ink-deep: #1F2217;
  --ink-2: #555B47;
  --line: #CDD3BE;
  --dots: #C2C9AF;
  --ochre: #C77D2A;
  --ochre-text: #9A5A14;
  --ochre-pale: #F3E6D2;
  --terra: #C4674A;
  --terra-text: #A8442A;
  --river: #6F8E96;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
}
svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--card); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* En-tête */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; font: 700 1.5rem/1 var(--serif); }
.brand-name small { font: 500 .82rem/1.2 var(--sans); color: var(--ink-2); margin-top: 4px; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ochre); }
.top-tel {
  margin-left: 4px; white-space: nowrap; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; background: var(--card);
}
.top-tel:hover { background: var(--ink); color: var(--card); }
.hours-strip {
  margin: 0; background: var(--ink); color: var(--paper); font-size: .88rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; padding: 8px 16px;
}
.hours-strip b { color: #F2C98F; font-weight: 600; }

/* Premier écran */
.hero { padding: 32px 0 52px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.hero-text { padding-top: 12px; }
.kicker { margin: 0 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ochre-text); }
h1 { margin: 0 0 18px; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero-note { margin: 0; font-size: .95rem; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 999px; font: 700 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-main { background: var(--ink); color: var(--card); }
.btn-main:hover { background: var(--ink-deep); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--card); }
.btn-block { width: 100%; }

/* Le plan */
.map-fig { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 16px; }
.map { display: block; width: 100%; height: auto; }
.map .dept { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.map .ring { fill: rgba(199, 125, 42, .07); stroke: var(--ochre); stroke-width: 1.6; stroke-dasharray: 6 6; }
.map .ring-lbl { font: italic 600 13px var(--serif); fill: var(--ochre-text); }
.map .river { fill: none; stroke: var(--river); stroke-width: 3.5; stroke-linecap: round; }
.map .river-lbl { font: italic 13px var(--serif); fill: #45626A; }
.map .mount { fill: url(#hatch); stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.map .ridge { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; }
.map .ridge-ticks { fill: none; stroke: var(--ink-2); stroke-width: 9; stroke-dasharray: 1.6 7; }
.map .relief-lbl { font: italic 13px var(--serif); fill: var(--ink-2); }
.map .shop rect { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
.map .lbl, .map .lbl2, .map .ring-lbl, .map .relief-lbl {
  paint-order: stroke fill; stroke: var(--paper-2); stroke-width: 4px; stroke-linejoin: round;
}
.map .lbl { font: 700 14px var(--sans); fill: var(--ink); }
.map .lbl2 { font: 500 12.5px var(--sans); fill: var(--ink-2); }
.map .pin { cursor: pointer; }
.map .pin:focus { outline: none; }
.map .dot { transform-box: fill-box; transform-origin: center; }
.map .dot circle { fill: var(--ochre); stroke: var(--ink); stroke-width: 2; }
.map .dot text { font: 800 15px var(--sans); fill: var(--ink-deep); }
.map .pin:hover .dot, .map .pin:focus .dot, .map .pin.is-on .dot { transform: scale(1.25); }
.map .pin.is-on .dot circle, .map .pin:focus-visible .dot circle { stroke: var(--ink-deep); stroke-width: 3; }
.map .pin.is-on .lbl, .map .pin:hover .lbl { fill: var(--ochre-text); }
.map .pin:focus-visible .lbl { text-decoration: underline; }

.legend {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; font-size: .9rem;
}
.legend a { display: flex; gap: 8px; align-items: flex-start; padding: 5px 6px; border-radius: 8px; text-decoration: none; line-height: 1.35; }
.legend a:hover, .legend a.is-on { background: var(--ochre-pale); }
.legend b {
  flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ochre); color: var(--ink-deep); border: 1.5px solid var(--ink); font-size: .78rem;
}
.legend small { display: block; margin-top: 1px; font-size: .84rem; font-weight: 600; color: var(--ochre-text); }
.legend small i { font-style: normal; white-space: nowrap; }
.map-note { margin: 8px 6px 0; font-size: .8rem; color: var(--ink-2); }

/* Sections */
.band { padding: 64px 0; }
.band-alt { background: var(--paper-2); }
.sec-head { max-width: 46em; margin-bottom: 28px; }
h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.15; }
.sec-head p { margin: 0; font-size: 1.05rem; color: var(--ink-2); }

/* Les six cartes */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 14px;
  scroll-margin-top: 20px;
}
.card.is-on { border-color: var(--ochre); box-shadow: 0 0 0 3px var(--ochre); }
.card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.veg { flex: none; width: 58px; height: 58px; padding: 5px; background: var(--paper); border-radius: 12px; }
.card-num { margin: 0; font-size: .82rem; font-weight: 700; color: var(--ochre-text); }
.card h3 { margin: 2px 0 0; font-size: 1.35rem; line-height: 1.2; }
.grows { margin: 0 0 12px; font-size: .96rem; color: var(--ink-2); }
.prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--dots); }
.prices li:last-child { border-bottom: 0; }
.prices b { color: var(--ochre-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices em { display: block; font-style: normal; font-size: .8rem; color: var(--ink-2); }

/* D'ailleurs */
.far { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.far li {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px;
  background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--terra); border-radius: 14px;
}
.far-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra-text); }
.far-name { font: 700 1.3rem/1.2 var(--serif); margin-top: 4px; }
.far-from { font-weight: 700; color: var(--terra-text); }
.far b { margin-top: 10px; font-size: 1.15rem; color: var(--ochre-text); }
.season { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.season > div { border-left: 3px solid var(--ink); padding: 2px 0 2px 16px; }
.season h3 { margin: 0 0 4px; font-size: 1.15rem; }
.season p { margin: 0; color: var(--ink-2); }

/* Paniers */
.baskets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.basket { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.basket-big { border: 2px solid var(--ink); }
.basket h3 { margin: 0; font-size: 1.4rem; }
.b-meta { margin: 4px 0 8px; font-size: .92rem; color: var(--ink-2); }
.b-price { margin: 0 0 12px; font: 700 2.2rem/1 var(--serif); color: var(--ochre-text); }
.basket ul { list-style: none; margin: 0; padding: 0; }
.basket li { padding: 7px 0; border-top: 1px dotted var(--dots); font-size: .95rem; }
.basket li i { display: block; font-style: normal; font-size: .82rem; color: var(--ink-2); }

.order-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 40px; align-items: start; }
.how h3, .order h3, .order-ok h3 { margin: 0 0 12px; font-size: 1.4rem; }
.how ol { margin: 0; padding-left: 1.3em; }
.how li { margin-bottom: 10px; }
.how-note { margin: 4px 0 0; color: var(--ink-2); }
.order-box { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 24px; scroll-margin-top: 20px; }
.field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 700; font-size: .95rem; }
.order input[type="text"], .order input[type="tel"], .order select {
  width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px solid #6B715B; border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit;
}
.order input:focus, .order select:focus { outline: 3px solid var(--ochre); outline-offset: 1px; }
.order input.bad { border-color: var(--terra-text); border-width: 2px; }
.radio, .check { display: flex; align-items: center; gap: 10px; margin: 6px 0; cursor: pointer; }
.radio input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.form-err { margin: 10px 0; font-weight: 700; color: var(--terra-text); }
.order .btn { width: 100%; margin-top: 12px; }
.form-note { margin: 12px 0 0; font-size: .86rem; color: var(--ink-2); }
.order-ok:focus { outline: none; }
.order-ok p { margin: 0 0 10px; }

/* Tournée */
.stops { list-style: none; margin: 0 0 0 8px; padding: 0 0 0 26px; border-left: 3px solid var(--ochre); max-width: 760px; }
.stops li { position: relative; padding: 8px 0 12px; }
.stops li::before {
  content: ""; position: absolute; left: -36px; top: 12px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--paper-2); border: 3px solid var(--ink);
}
.stops li:first-child::before, .stops li:last-child::before { background: var(--ink); border-radius: 3px; }
.stops b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.stops span { color: var(--ink-2); }
.tour-note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); }

/* Boutique */
.shop-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.shop-addr { margin: 0 0 10px; font-weight: 700; font-size: 1.15rem; }
.facts { margin: 14px 0 0; padding-left: 1.2em; }
.facts li { margin-bottom: 4px; }
.antigaspi { margin-top: 22px; padding: 16px 18px; background: var(--card); border: 1.5px dashed var(--terra-text); border-radius: 14px; }
.antigaspi h3 { margin: 0 0 6px; font-size: 1.15rem; }
.antigaspi p { margin: 0; }
.hours-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.hours-box h3 { margin: 0 0 6px; font-size: 1.3rem; }
.hours-box dl { margin: 0 0 18px; }
.hours-box dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dotted var(--dots); }
.hours-box dt { font-weight: 700; }
.hours-box dd { margin: 0; text-align: right; }

/* Pied de page */
.foot { background: var(--ink); color: #E3E8D7; padding: 48px 0 24px; }
.foot a { color: #F2C98F; }
.foot p { margin: 0 0 10px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-name { font: 700 1.3rem/1.2 var(--serif); color: var(--card); }
.foot-h { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #F2C98F; }
.foot-end { margin-top: 28px !important; padding-top: 16px; border-top: 1px solid rgba(238, 241, 230, .2); font-size: .85rem; color: #C9CFB8; }

/* Barre du bas, téléphone */
.mbar { display: none; }

@media (max-width: 1080px) {
  /* one column: the title, then the map, then the rest of the text */
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-text { display: contents; }
  .kicker { order: 1; }
  .hero h1 { order: 2; }
  .map-fig { order: 3; max-width: 760px; margin-bottom: 24px; }
  .lead { order: 4; }
  .hero-cta { order: 5; }
  .hero-note { order: 6; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top-tel { margin-left: auto; }
  .far { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .baskets, .order-wrap, .shop-in, .foot-grid, .season { grid-template-columns: 1fr; }
  .baskets { max-width: 560px; }
}
@media (max-width: 759px) {
  .mbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: var(--band, 0px); z-index: 50;
    padding: 8px 10px; background: var(--ink); box-shadow: 0 -2px 12px rgba(0, 0, 0, .18);
  }
  .mbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 8px;
    border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; text-align: center; white-space: nowrap;
  }
  .mbar-order { flex: 2; background: var(--ochre); color: var(--ink-deep); }
  .mbar-call { border: 2px solid var(--paper); color: var(--paper); }
  body { padding-bottom: calc(62px + var(--band, 0px)); }
}
@media (max-width: 640px) {
  .band { padding: 44px 0; }
  .cards { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 40px; }
  .kicker { margin-bottom: 10px; font-size: .74rem; }
  .hero h1 { margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .map .lbl { font-size: 21px; transform: translate(6px, 2px); }
  .map .lbl2 { display: none; }
  .map .lbl2.keep { display: inline; font-size: 17px; transform: translate(0, 8px); }
  .map .ring-lbl, .map .relief-lbl, .map .river-lbl { font-size: 18px; }
  .map .dot { transform: scale(1.45); }
  .map .pin:hover .dot, .map .pin:focus .dot, .map .pin.is-on .dot { transform: scale(1.7); }
  .map-fig { padding: 8px 8px 12px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 12px; min-height: 64px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.22rem; }
  .brand-name small { font-size: .74rem; }
  .top-tel { padding: 7px 12px; font-size: .9rem; }
  .hours-strip { font-size: .82rem; gap: 2px 16px; }
  .far li { padding: 14px; }
  .far-name { font-size: 1.15rem; }
}

/* Site menu (grow) */
.top { position: relative; }
.menu-btn { display: none; }
.nav a[aria-current="page"] { border-bottom-color: var(--ochre); font-weight: 700; }
.hs-tel, .tel-short { display: none; }
.hours-strip a { color: var(--paper); font-weight: 700; }
.card-more { margin: 14px 0 0; font-weight: 700; }
.card-more a { color: var(--ochre-text); }
@media (max-width: 1180px) {
  .menu-btn {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 42px; padding: 0 16px;
    border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
    font: 700 .95rem/1 var(--sans); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin: 0;
    flex-direction: column; gap: 0; padding: 6px 24px 14px; background: var(--card);
    border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -18px rgba(0, 0, 0, .4);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--ochre); padding-left: 12px; }
  .top-tel { margin-left: 0; }
}
@media (max-width: 480px) {
  .tel-num { display: none; }
  .tel-short { display: inline; }
  .hs-tel { display: inline; }
  .brand-name small { display: none; }
  .menu-btn { padding: 0 12px; }
  .top-tel { padding: 7px 12px; }
}

/* Inner pages (grow) */
.page-head { padding: 36px 0 28px; }
.page-head h1 { max-width: 22em; }
.page-head .lead { max-width: 40em; }
.crumb { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.crumb a { color: var(--ochre-text); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .map .dot { transition: transform .15s ease; }
  .card { transition: box-shadow .2s ease, border-color .2s ease; }
}
