/* ==========================================================================
   producteurs.css — « Nos producteurs » et fiche producteur (décision D10),
   reprises de la maquette Vitrine-Producteurs / Vitrine-Producteur
   (règles extraites de prototype/public/assets/css/vitrine.css).
   Chargée après shop.css et shop-pages.css, sur ces deux pages seulement.
   ========================================================================== */

:root {
  --sable: #EFE4CE;      /* emplacements photo / carte à venir */
  --sable-txt: #6E5235;
  --creme-txt: #FFFFFF;  /* texte clair sur photo */
}

.v-h2 { font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.v-h2--serre { line-height: 1.15; }
.v-h2--md { font-size: 30px; }
.v-h2--sm { font-size: 26px; letter-spacing: 0; }
.v-h2--xs { font-size: 20px; letter-spacing: 0; }
.v-lead { font-size: 16px; line-height: 1.6; color: var(--gris); }
.eyebrow--jaune { color: var(--vert-pale); } /* kraft clair sur photo, comme la maquette du 25/10 */
.link-more { font-size: 15px; font-weight: 600; }

.band-blanc { background: #fff; }
.btn--vitrine { padding: 12px 22px; }
.btn--compact { font-size: 14px; padding: 9px 16px; }

.v-meta { display: flex; flex-direction: column; gap: 3px; }
.v-meta__eyebrow { font-size: 12px; font-weight: 600; color: var(--vert); text-transform: uppercase; letter-spacing: .06em; }
.v-meta__nom { font-size: 17px; color: var(--encre); }
.v-meta__nom--sm { font-size: 16px; }
.v-meta__lieu { font-size: 14px; color: var(--gris); }

.photo-vide {
  aspect-ratio: 4 / 3; border-radius: 16px; background: var(--sable); color: var(--sable-txt);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere;
}
.vide { font-size: 15px; color: var(--gris); }


/* ---- Hero photo (accueil, producteur) ----------------------------------- */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--encre); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.hero__voile { position: absolute; inset: 0; }
.hero__inner { position: relative; width: 100%; }
.hero__text { display: flex; flex-direction: column; gap: 14px; max-width: 620px; color: #fff; }
.hero__title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--creme-txt); max-width: 520px; }

/* ---- Pages intérieures : en-tête, filtres -------------------------------- */
.page-vitrine { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.page-vitrine > .btn { align-self: flex-start; }
.page-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.page-head__text { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.page-title { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.page-lead { font-size: 17px; line-height: 1.6; color: var(--gris); }
.page-lead--16 { font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--bord-fort); background: #fff; color: var(--encre);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--encre); color: var(--encre); }
.chip.is-active { background: var(--encre); border-color: var(--encre); color: #fff; }


.prod-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prod-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.prod-card__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--sable); }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-card__vide {
  position: absolute; inset: 0; padding: 16px; color: var(--sable-txt); font-size: 13px; text-align: center; overflow-wrap: anywhere;
  display: flex; align-items: center; justify-content: center;
}
.prod-card__km { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--encre); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }


/* ---- Fiche producteur --------------------------------------------------- */
.hero--producteur { min-height: 460px; }
.hero--producteur .hero__img { object-position: center 35%; }
.hero--producteur .hero__voile { background: rgba(20,20,18,.62); /* voile uni, sans dégradé (charte D14) */ }
.hero--sans-photo { background: var(--vert-fonce); }
.hero__vide { position: absolute; top: 16px; right: 24px; left: 24px; text-align: right; font-size: 13px; color: #FFFFFF; overflow-wrap: anywhere; }
.hero__inner--col { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.hero__retour { align-self: flex-start; font-size: 13px; color: var(--creme-txt); text-decoration: none; }
.hero__retour:hover { color: #fff; text-decoration: underline; }
.hero__title--producteur { font-size: 46px; line-height: 1.05; }
.hero__sous-titre { font-size: 16px; color: var(--creme-txt); }

.fiche { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.fiche__texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; font-size: 16px; line-height: 1.7; color: var(--texte); }
.fiche__chapo { font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--encre); }
.faits { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fait { background: #fff; border: 1px solid var(--bord); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.fait dt { font-size: 12px; color: var(--gris); }
.fait dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--encre); }
.photo-paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-paire img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.citation { margin: 0; padding: 20px 24px; border-left: 4px solid var(--jaune); background: #fff; border-radius: 0 16px 16px 0; font-size: 17px; line-height: 1.6; color: var(--encre); }
.citation footer { margin-top: 8px; font-size: 13px; color: var(--gris); }

.fiche__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.semaine { background: var(--vert); color: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.semaine__titre { font-size: 17px; font-weight: 700; }
.semaine__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.semaine__item { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--encre); border-radius: 12px; padding: 10px; text-decoration: none; }
.semaine__item:hover { color: var(--encre); box-shadow: 0 0 0 2px var(--jaune); }
.semaine__item img { flex: 0 0 auto; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.semaine__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.semaine__txt strong { font-size: 14px; }
.semaine__txt span { font-size: 12px; color: var(--gris); }
.semaine__prix { font-size: 14px; color: var(--vert); white-space: nowrap; }
.semaine__cta { align-self: flex-start; }
.ferme-carte { background: #fff; border: 1px solid var(--bord); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ferme-carte__titre { font-size: 14px; font-weight: 700; }
.photo-vide--carte { border-radius: 12px; }

.voisins { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.voisins__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.voisin { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.voisin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.voisin .v-meta { gap: 2px; }



@media (max-width: 760px) {
  .v-h2, .v-h2--md { font-size: 24px; line-height: 1.15; }
  .v-h2--sm { font-size: 22px; }
  .v-h2--xs { font-size: 20px; }
  .page-title { font-size: 30px; }
  .page-lead { font-size: 15px; }
  .hero .eyebrow { font-size: 12px; }
  .hero__title { font-size: 34px; line-height: 1.05; }
  .page-vitrine { padding-top: 28px; padding-bottom: 48px; gap: 24px; }
  .page-head { gap: 16px; }
  .chips { gap: 6px; }
  .prod-grid { gap: 16px; }
  .hero--producteur { min-height: 360px; }
  .hero__inner--col { padding-top: 24px; padding-bottom: 24px; }
  .hero__title--producteur { font-size: 32px; }
  .hero__sous-titre { font-size: 14px; }
  .hero__vide { right: 16px; left: 16px; }
  .fiche { padding-top: 28px; padding-bottom: 40px; gap: 32px; }
  .fiche__texte { gap: 20px; font-size: 15px; }
  .fiche__chapo { font-size: 18px; }
  .citation { padding: 16px 18px; font-size: 16px; }
  .voisins { padding-top: 32px; padding-bottom: 32px; }
}

/* Fiche complète (maquette Vitrine-Producteur, lms-app v1.36). */
.fiche__section { display: flex; flex-direction: column; gap: 10px; }
.fiche__h2 { margin: 0; font-size: 28px; }
.fiche__video { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fiche__video-cadre { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #24402D; }
.fiche__video-cadre img { width: 100%; height: 100%; object-fit: cover; opacity: .55; display: block; }
.fiche__video-cadre button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; color: var(--vert); font-size: 30px; cursor: pointer; }
.fiche__video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fiche__video figcaption { font-size: 13px; color: #6E5235; }
.fiche__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fiche__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.fiche__liens { display: flex; flex-wrap: wrap; gap: 10px; }
.semaine__vide { margin: 0; opacity: .85; }

/* Lot 9 (03/11) : alignement sur Vitrine-Producteurs et Vitrine-Producteur (chargé après vitrine-maquettes.css). */
.chip { min-height: 44px; padding: 9px 16px; font-size: 14px; }
.vd .prod-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vd .prod-card { gap: 0; }
.vd .prod-card .v-meta__nom { font-family: var(--font-titre); font-size: 20px; line-height: 1.2; }
.vd .prod-card .v-meta__eyebrow { font-weight: 700; letter-spacing: .08em; }
.hero--producteur { min-height: 480px; }
.hero--producteur .hero__inner--col { gap: 10px; padding-top: 40px; padding-bottom: 40px; }
.hero__title--producteur { font-size: 56px; font-weight: 800; line-height: 1; }
.hero__retour { font-size: 14px; color: #fff; padding: 6px 0; }
.fiche { padding-top: 48px; padding-bottom: 72px; }
.fiche__texte { font-size: 17px; line-height: 1.7; gap: 28px; }
.fiche__chapo { font-size: 22px; line-height: 1.5; font-weight: 600; }
.fiche__h2 { font-size: 28px; }
.citation { border-left-width: 5px; font-family: var(--font-titre); font-size: 19px; line-height: 1.55; font-weight: 600; }
.citation footer { font-family: var(--font); font-weight: 400; font-size: 14px; }
.fiche__aside { flex-basis: 340px; position: sticky; top: 20px; align-self: flex-start; }
.semaine__titre { font-family: var(--font-titre); font-size: 20px; }
.semaine__ligne { display: flex; align-items: center; gap: 10px; }
.semaine__ligne .semaine__item { flex: 1; min-width: 0; }
.semaine__item img { width: 52px; height: 52px; }
.semaine__ajout { margin: 0; flex: 0 0 auto; }
.semaine__cta { color: #fff; font-weight: 700; font-size: 14px; padding: 6px 0; text-decoration: none; }
.semaine__cta:hover { text-decoration: underline; }
.ferme-carte__titre { font-family: var(--font-titre); font-size: 18px; }
.voisins { padding-top: 48px; padding-bottom: 48px; }
.voisins__grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.voisin .v-meta__nom--sm { font-family: var(--font-titre); font-size: 19px; }
@media (max-width: 760px) { .hero__title--producteur { font-size: 34px; } .fiche__aside { position: static; } }
/* « + » sur le bloc vert : pastille blanche, signe vert (maquette). */
.semaine .round-btn--primary { background: #fff; border-color: #fff; color: var(--vert); width: 44px; height: 44px; font-size: 22px; }
.semaine .round-btn--primary:hover { background: #EFE4CE; color: var(--vert-fonce); }
