*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--t-16-16-18); line-height: 1.6; color: var(--texte-principal); background: var(--papier); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.eyebrow { display: block; font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-bottom: 1.1rem; }
:focus-visible { outline: 2px solid var(--charbon); outline-offset: 3px; }
/* informations à confirmer par la ferme avant la mise en vente */
.todo { background: #fff3c4; border-left: 3px solid #d9a400; padding: .1em .45em; }

/* ---------- En-tête ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding-block: .65rem; }   /* barre compacte, même hauteur que sur l'accueil */
.topbar__brand { display: flex; align-items: center; text-decoration: none; gap: .75rem; }
.topbar__brand .topbar__nom { display: block; height: 25px; width: auto; margin-top: 6px; }
@media (max-width: 359px) { .topbar__brand .topbar__nom { height: 21px; } }
.topbar__brand img { width: 46px; height: auto; }
.topbar nav { display: flex; gap: 1.8rem; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.topbar nav a { text-decoration: none; display: inline-block; padding: .9em .2em; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
/* barre collante : le menu reste accessible en faisant défiler */
.topbar { position: sticky; top: 0; z-index: 20; }
.topbar::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: #fff; box-shadow: 0 1px 0 #EEEEED; z-index: -1; }   /* blanc cassé + ombre légère */
/* bouton « Menu » et panneau sur mobile */
.topbar__menu { display: none; font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: .55em 1.1em; cursor: pointer; }
@media (max-width: 640px) {
  .topbar__menu { display: inline-block; }
  .topbar nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1rem; background: #fff; color: var(--texte-principal); border-bottom: 1px solid var(--taupe); box-shadow: 0 14px 24px rgba(40,40,38,.12); }
  .topbar.menu-ouvert nav { display: flex; }
  .topbar nav { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); }
  .topbar nav a { padding: .95em 0; border-bottom: 1px solid var(--taupe); opacity: 1; }
  .topbar nav a:last-child { border-bottom: 0; }
}

.fil { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-discret); padding-block: .6rem 2rem; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fil span[aria-hidden] { margin-inline: .6em; }

/* ---------- Produit ---------- */
.produit { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--col-gap); align-items: start; padding-bottom: clamp(56px, 6.5vw, 90px); }

/* galerie */
.galerie { position: sticky; top: 6rem; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; }
.galerie__vignettes { display: flex; flex-direction: column; gap: .7rem; }
.galerie__vignettes button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; opacity: .55; transition: opacity .2s ease; outline-offset: 2px; }
.galerie__vignettes button:hover { opacity: .85; }
.galerie__vignettes button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--charbon); }
.galerie__vignettes img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; }
.galerie__vue { border-radius: var(--radius); overflow: hidden; background: var(--taupe); }
.galerie__vue img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.galerie [hidden] { display: none; }

/* informations */
.infos h1 { font-size: 32px; max-width: 16ch; }
.prix { font-size: 24px; margin: 1.1rem 0 1.6rem; }
h1 + .accroche { margin-top: 1.5rem; }   /* prix masqués (PRIX_VISIBLES = false) : l'accroche suit directement le titre */
.accroche { font-size: var(--t-16-16-18); max-width: 50ch; }

.coloris { border: 0; padding: 0; margin: 2rem 0 0; }
.coloris legend { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-bottom: .9rem; padding: 0; }
.coloris legend strong { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--texte-principal); font-size: 16px; margin-left: .5em; }
.coloris__choix { display: flex; flex-wrap: wrap; gap: .7rem; padding: 5px; margin: -5px; }   /* marge = place de l'anneau de sélection */
@media (max-width: 640px) { .coloris__choix { gap: .5rem; } }   /* téléphone : huit pastilles sur une ligne */
.coloris input { position: absolute; opacity: 0; pointer-events: none; }
.coloris label { display: block; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(40,40,38,.15); position: relative; }
.coloris label::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s ease; }
.coloris input:checked + label::after { border-color: var(--charbon); }
.coloris input:focus-visible + label { outline: 2px solid var(--charbon); outline-offset: 7px; }
.coloris .bleu { background: #1F5E7A; }
.coloris .moutarde { background: #D98E1C; }

.actions { display: grid; gap: .8rem; margin-top: 2.2rem; max-width: 420px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; box-sizing: border-box; min-height: var(--bouton); padding: 0 1.8em; font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--charbon); border-radius: 999px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--solid { background: var(--charbon); color: var(--ecru); font-weight: 700; }
.btn--solid:hover, .btn--solid:focus-visible { background: #3a3a37; }
.btn--ghost { background: transparent; color: var(--texte-principal); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(40,40,38,.06); }
.actions__note { font-size: 14px; color: var(--texte-discret); margin: .2rem 0 0; }

.atouts { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: .55rem; font-size: 16px; }
.atouts li { display: flex; gap: .8rem; align-items: baseline; }
.atouts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lin); transform: translateY(-2px); }

/* détails dépliables */
.details { margin-top: 2.6rem; border-top: 1px solid var(--filet-moyen); }
.details details { border-bottom: 1px solid var(--filet-moyen); }
.details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 18px; letter-spacing: 0; line-height: 1; transition: transform .25s ease; }
.details details[open] summary::after { transform: rotate(45deg); }
.details .contenu { padding: 0 0 1.3rem; font-size: 16px; }
.details .contenu p:last-child, .details .contenu ul:last-child { margin-bottom: 0; }
.details ul { padding-left: 1.1rem; margin: 0 0 1em; }
.details li { margin-bottom: .3rem; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.6rem; margin: 0; }
.details dt { color: var(--texte-discret); }
.details dd { margin: 0; }

/* bande « fait à la ferme » */
.ferme { background: var(--ecru); color: var(--texte-principal);   /* charte : écru plutôt qu’un aplat charbon */ padding-block: clamp(56px, 6.5vw, 90px); }
.ferme .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.ferme .eyebrow { color: var(--texte-discret); }
.ferme h2 { font-size: var(--t-24-24-32); max-width: 20ch; }
.ferme p { color: var(--texte-discret); max-width: 52ch; margin: 0; }


/* ordinateur : la photo prend plus de place que le texte ; tablette et téléphone : pleine largeur (ci-dessous) */
@media (min-width: 901px) { .produit { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4.5rem); } }
@media (max-width: 900px) {
  .produit, .ferme .wrap { grid-template-columns: 1fr; }
  .galerie { position: static; grid-template-columns: 1fr; }
  .galerie__vignettes { flex-direction: row; order: 2; overflow-x: auto; }
  .galerie__vignettes img { width: 64px; }
  .actions { max-width: none; }
}

/* ---------- Ajouts : fiches construites depuis le catalogue ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.galerie__vue { background: var(--voile); }
.galerie__vue img { transition: opacity .25s ease; }
.prix--avenir { font-size: 16px; letter-spacing: .02em; color: var(--texte-discret); }
/* choix d'une pièce unique : vignettes photo */
.pieces { border: 0; padding: 0; margin: 2rem 0 0; }
.pieces legend { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-bottom: .9rem; padding: 0; }
.pieces legend strong { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--texte-principal); font-size: 16px; margin-left: .5em; }
.pieces__choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: .55rem; max-width: 460px; }
.pieces input { position: absolute; opacity: 0; pointer-events: none; }
.pieces label { display: block; cursor: pointer; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 0 0 1px rgba(40,40,38,.08); transition: box-shadow .2s ease; }
.pieces label img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.35); }
.pieces label:hover { box-shadow: 0 0 0 1px var(--lin); }
.pieces input:checked + label { box-shadow: 0 0 0 1px var(--charbon), 0 0 0 3px var(--papier), 0 0 0 4px var(--charbon); }
.pieces input:focus-visible + label { outline: 2px solid var(--charbon); outline-offset: 5px; }
.pieces .vendu label { opacity: .35; cursor: default; }
.pieces .vendu label::after { content: ""; position: absolute; inset: 50% -10%; height: 1px; background: var(--charbon); transform: rotate(-38deg); }
.pieces__compte { font-size: 14px; color: var(--texte-discret); margin: .8rem 0 0; }
.pieces__compte:empty { display: none; }
.coloris__choix label { flex: none; }
/* modèles proches, en bas de fiche */
.proches { padding-block: clamp(56px, 7.5vw, 110px); }   /* pas de filet : l'espace seul sépare la fiche des suggestions */
.proches__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.proches h2 { font-size: 24px; }
.proches__tete a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.proches__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.proches .carte { display: grid; gap: .45rem; text-decoration: none; }
.proches .carte__photo { border-radius: var(--radius); overflow: hidden; background: var(--voile); aspect-ratio: 4 / 5; }
.proches .carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proches .carte:hover img { transform: scale(1.03); }
.proches .carte__nom { font-size: 16px; line-height: 1.3; margin-top: .3rem; }
.proches .carte__prix { font-size: 14px; color: var(--texte-discret); }
@media (max-width: 900px) { .proches__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.galerie--seule { grid-template-columns: minmax(0, 1fr); }
/* Épuisé / Vendu : un état, pas un bouton en panne. Fond clair, texte discret lisible (5:1), sans relief. */
.btn[aria-disabled="true"] { opacity: 1; pointer-events: none; background: transparent; border: 1px solid #D9CFC2; color: var(--texte-discret); font-weight: 400; box-shadow: none; transform: none; }
/* vignettes plus fines : six photos tiennent dans la hauteur de la grande photo */
.galerie { grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
.galerie__vignettes { gap: .5rem; }
.galerie__vignettes img { width: 64px; }
@media (max-width: 900px) { .galerie { grid-template-columns: 1fr; } .galerie__vignettes img { width: 60px; } }
.pieces, .coloris { min-width: 0; }
@media (max-width: 900px) { .produit { grid-template-columns: minmax(0, 1fr); } .infos { min-width: 0; } }

/* macaron « Fait main » posé sur la photo */
.galerie__vue, .proches .carte__photo { position: relative; }
.macaron { position: absolute; top: .9rem; left: .9rem; z-index: 2; display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em .45em; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--texte-principal); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; line-height: 1; box-shadow: 0 1px 2px rgba(40,40,38,.06); pointer-events: none; }
.macaron::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lin-fonce); }
.proches .macaron { top: .6rem; left: .6rem; font-size: 12px; }
.galerie.galerie--seule { grid-template-columns: minmax(0, 1fr); }

/* choix de la taille */
.tailles { border: 0; padding: 0; margin: 1.8rem 0 0; min-width: 0; }
.tailles legend { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-bottom: .9rem; padding: 0; }
.tailles legend strong { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--texte-principal); font-size: 16px; margin-left: .5em; }
.tailles__choix { display: flex; gap: .6rem; }
.tailles input { position: absolute; opacity: 0; pointer-events: none; }
.tailles label { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 .9rem; border: 1px solid var(--lin); border-radius: 999px; cursor: pointer; font-size: 16px; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.tailles label:hover { border-color: var(--charbon); }
.tailles input:checked + label { background: var(--charbon); border-color: var(--charbon); color: var(--ecru); }
.tailles input:focus-visible + label { outline: 2px solid var(--charbon); outline-offset: 3px; }
/* « Bientôt en vente » : statut, pas un bouton */
.statut { display: flex; align-items: center; justify-content: center; gap: .7em; margin: 0; box-sizing: border-box; min-height: var(--bouton); padding: 0 1.8em; border-radius: 999px; background: var(--voile); color: var(--texte-discret); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.statut::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C9A227; }
.actions__note a { color: var(--texte-principal); text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* Pied de page : logo + trois rubriques */
footer { background: #fff; color: var(--texte-principal); border-top: 1px solid #EEEEED; padding: clamp(48px, 6vw, 72px) 0 1.6rem; }
.pied__haut { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 2.4rem clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 2.8rem; }
.pied__logo { display: block; }
.pied__logo img { display: block; width: 120px; height: auto; }
.pied__bloc { font-style: normal; display: flex; flex-direction: column; gap: .5rem; font-size: 16px; line-height: 1.4; }
.pied__titre { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-bottom: .45rem; }
/* noms et ville en gris doux : l'e-mail et Instagram ressortent comme des liens */
.pied__bloc a { text-decoration: none; }
.pied__bloc a:hover, .pied__bloc a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.pied__bas { padding-top: 1.2rem; border-top: 1px solid var(--taupe); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-discret); }
@media (max-width: 900px) {
  .pied__haut { grid-template-columns: auto repeat(2, minmax(0, 1fr)); }
  .pied__logo { grid-row: span 2; }
  address.pied__bloc { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .pied__haut { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.2rem; text-align: center; }
  .pied__logo { grid-column: 1 / -1; grid-row: auto; justify-self: center; }
  .pied__logo img { width: 132px; }
  address.pied__bloc { grid-column: 1 / -1; }
  .pied__bloc { align-items: center; }
  .pied__bas { text-align: center; }
}


/* ===== Fiches : mise à jour du 13 novembre 2026 ===== */
/* titre : lignes équilibrées (plus de mot seul en fin de titre) */
.infos h1 { text-wrap: balance; }
/* la grande photo reste en place pendant que la colonne de droite défile (ordinateur) */
@media (min-width: 901px) { .galerie { align-self: start; } }
/* vente fermée : une seule ligne discrète, avec le point safran du bandeau de la boutique */
.actions { margin-top: 1.8rem; }
.actions__note--vente { position: relative; padding-left: 1.1rem; font-size: 14px; line-height: 1.55; color: var(--texte-secondaire); margin: 0; }
.actions__note--vente::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #D98E1C; }
.actions__note--vente a { color: var(--texte-principal); }
/* tailles ou modèles affichés (vente fermée) */
.tailles--info { margin-top: 1.8rem; }
.tailles__titre { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin: 0 0 .9rem; }
.tailles__valeur { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 .9rem; border: 1px solid var(--taupe); border-radius: 999px; font-size: 16px; }
/* prix sous la taille, quand il change selon la taille */
.tailles__choix { flex-wrap: wrap; }
.tailles label:has(small), .tailles__valeur:has(small) { height: auto; min-height: 44px; padding: .45rem 1rem; line-height: 1.25; }
.tailles label small, .tailles__valeur small { display: block; font-size: 12px; opacity: .7; }
/* bande d'engagements sous les détails */
.garanties.garanties--fiche { margin-top: 2.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* deux par ligne : la colonne est étroite */
.garanties--fiche li:nth-child(3) { border-left: 0; }
.garanties--fiche li:nth-child(n+3) { border-top: 1px solid var(--taupe); }
.garanties--fiche img[src$="tricot.svg"] { height: 48px; margin-block: -4px calc(.2rem - 4px); }
.garanties--fiche a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.garanties--fiche span { color: var(--texte-secondaire); }
/* grande photo : un clic l'ouvre en plein écran */
.zoomable { cursor: zoom-in; }

/* produits proches : mêmes cartes que l'accueil et la boutique */
.proches__grille { gap: 0 1.4rem; }
.proches .carte { position: relative; display: flex; flex-direction: column; gap: .4rem; text-decoration: none; margin-bottom: 1rem; }
@supports (grid-template-rows: subgrid) {
  .proches .carte { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: .4rem; align-content: start; }
  .proches .carte__famille { align-self: end; }
}
.proches .carte__photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #F9F8F4; aspect-ratio: 4 / 5; }
.proches .carte__photo picture { display: block; width: 100%; height: 100%; }
.proches .carte__photo img { width: 100%; height: 100%; object-fit: cover; transform: translate(var(--dx, 0%), var(--dy, 0%)) scale(var(--zoom, 1)); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.proches .carte:hover img { transform: translate(var(--dx, 0%), var(--dy, 0%)) scale(var(--zoom, 1)); }
.proches .carte:hover .carte__photo:not(.carte__photo--double) img { transform: translate(var(--dx, 0%), var(--dy, 0%)) scale(calc(var(--zoom, 1) * 1.04)); }
.proches .carte__photo2 { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.proches .carte__photo2 img { --zoom: 1; --dx: 0%; --dy: 0%; }
@media (hover: hover) { .proches .carte:hover .carte__photo--double .carte__photo2 { opacity: 1; } }
.proches .carte__infos { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; min-height: 1.5rem; margin-top: .15rem; font-size: 12px; color: var(--texte-secondaire); pointer-events: none; }
.proches .carte__infos > * { pointer-events: auto; }
.proches .teinte { position: relative; flex: none; display: inline-block; width: 14px; height: 14px; margin: 3px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(40,40,38,.16); cursor: pointer; transition: transform .2s ease; }
.proches .teinte::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
.proches button.teinte:hover { transform: scale(1.15); }
.proches .teinte.is-on { outline: 1px solid var(--charbon); outline-offset: 2px; }
.proches .teinte__plus { font-size: 12px; margin-left: .15rem; color: inherit; text-decoration: none; }
.proches .option { padding: .18em .65em .12em; border: 1px solid var(--taupe); border-radius: 999px; font-size: 12px; letter-spacing: .04em; line-height: 1.4; color: var(--texte-secondaire); }
.proches .carte__famille { font-size: var(--etiquette); letter-spacing: var(--etiquette-espace); text-transform: uppercase; color: var(--texte-discret); margin-top: .35rem; }
.proches .carte__nom { font-size: 16px; line-height: 1.3; margin-top: 0; color: inherit; text-decoration: none; }
.proches .carte__nom::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.proches .carte:hover .carte__nom { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.proches .carte__bas { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.proches .carte__prix { font-size: 16px; color: var(--texte-principal); }
.proches .carte__voir { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.proches .carte__voir i { font-style: normal; margin-left: .35em; }
.proches .carte:hover .carte__voir { opacity: 1; transform: none; }
@media (hover: none) { .proches .carte__voir { display: none; } }
@media (max-width: 520px) { .proches .carte__famille { font-size: 12px; letter-spacing: .18em; } .proches .carte__nom { font-size: 16px; } }


/* ===== Vue en grand (clic sur la grande photo) : sobre, sur fond blanc ===== */
.plein-ecran { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 3.6rem 1rem 1.4rem; background: #fff; cursor: zoom-out; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.plein-ecran.est-ouvert { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.plein-ecran__cadre { position: relative; display: grid; gap: .9rem; margin: 0; cursor: default; }
.plein-ecran__cadre picture { display: block; }
.plein-ecran__cadre img { display: block; width: auto; height: auto; max-width: min(1000px, calc(100vw - 9rem)); max-height: calc(100vh - 8.6rem); max-height: calc(100dvh - 8.6rem); border-radius: var(--radius); transition: opacity .22s ease; }
.plein-ecran__cadre img.est-change { opacity: 0; }
.plein-ecran.a-vignettes .plein-ecran__cadre picture img { max-height: calc(100vh - 13rem); max-height: calc(100dvh - 13rem); }   /* place pour les miniatures */
.plein-ecran__photo { position: relative; justify-self: center; }
.plein-ecran__photo img { cursor: pointer; user-select: none; -webkit-user-select: none; }

.plein-ecran__legende { opacity: 0; pointer-events: none; }
.plein-ecran__fermer { z-index: 3; }
/* légende : nom de la pièce à gauche, compteur et flèches (téléphone) à droite */
.plein-ecran__legende { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--texte-discret); }
.plein-ecran__compte { white-space: nowrap; }
/* flèches fines, presque collées à la photo */
.plein-ecran__nav { position: absolute; top: calc(50% - 1.2rem); translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--texte-principal); opacity: .65; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.plein-ecran__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.plein-ecran__nav:hover, .plein-ecran__nav:focus-visible { opacity: 1; }
.plein-ecran__nav--prec { left: -52px; }
.plein-ecran__nav--suiv { right: -52px; }
.plein-ecran__nav--prec:hover { transform: translateX(-3px); }
.plein-ecran__nav--suiv:hover { transform: translateX(3px); }
.plein-ecran:focus { outline: none; }
.plein-ecran__nav:focus-visible, .plein-ecran__fermer:focus-visible { outline: 1px solid var(--charbon); outline-offset: 2px; border-radius: 50%; }
/* croix fine, sans rond */
.plein-ecran__fermer { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--texte-principal); opacity: .75; cursor: pointer; transition: opacity .2s ease; }
.plein-ecran__fermer svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.plein-ecran__fermer:hover { opacity: 1; }
/* miniatures sous la photo, seulement au-delà de 3 photos */
.plein-ecran__vignettes { display: flex; justify-content: center; gap: .5rem; }
.plein-ecran__vignettes button { padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; border-radius: var(--radius); overflow: hidden; transition: opacity .2s ease; }
.plein-ecran__vignettes button[aria-current="true"], .plein-ecran__vignettes button:hover { opacity: 1; }
.plein-ecran__vignettes img { display: block; width: 44px; height: 55px; max-height: none; object-fit: cover; }
/* téléphone : photo pleine largeur, flèches dans la légende */
.plein-ecran__nav-mobile { display: flex; align-items: center; gap: .2rem; }
.plein-ecran__nav-mobile .plein-ecran__nav { display: none; }   /* ordinateur : flèches contre la photo, seul le compteur reste ici */
/* écran en largeur (ordinateur, tablette couchée) : la photo prend toute la hauteur de l'écran ; le nom et le compteur
   passent en haut à gauche, les miniatures en colonne contre le bord gauche, comme sur la fiche */
@media (min-width: 641px) and (min-aspect-ratio: 1/1) {
  .plein-ecran { padding: 1.4rem 7.5rem; }
  .plein-ecran__cadre { display: block; }
  .plein-ecran__cadre picture img, .plein-ecran.a-vignettes .plein-ecran__cadre picture img { max-width: calc(100vw - 15rem); max-height: calc(100vh - 2.8rem); max-height: calc(100dvh - 2.8rem); }
  .plein-ecran__legende { position: fixed; top: 1.55rem; left: 1.8rem; right: 5rem; justify-content: flex-start; gap: 1.4rem; }
  .plein-ecran__vignettes { position: fixed; left: 1.8rem; top: 50%; transform: translateY(-50%); flex-direction: column; max-height: calc(100dvh - 8rem); overflow-y: auto; }
  .plein-ecran__nav { top: 50%; }
  .plein-ecran__vignettes img { width: 52px; height: 65px; }
}
/* tablette debout : la photo prend toute la largeur, miniatures dessous */
@media (min-width: 641px) and (max-aspect-ratio: 1/1) {
  .plein-ecran { padding-inline: 1rem; }
  .plein-ecran__cadre picture img, .plein-ecran.a-vignettes .plein-ecran__cadre picture img { max-width: calc(100vw - 7rem); }
}
@media (max-width: 640px) {
  .plein-ecran { padding-inline: .9rem; }
  .plein-ecran__cadre img { max-width: calc(100vw - 1.8rem); }
  .plein-ecran__cadre > .plein-ecran__nav { display: none; }
  .plein-ecran__nav-mobile .plein-ecran__nav { display: grid; position: static; translate: none; width: 36px; height: 36px; }
  .plein-ecran__legende { letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) { .plein-ecran, .plein-ecran.est-ouvert, .plein-ecran__cadre img { transition: none; } }

/* bande sombre en bas de fiche : lien « Découvrir la ferme » au style des liens d'action du site */
.ferme__lien { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.4rem; padding-bottom: 3px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-principal); text-decoration: none; border-bottom: 1px solid currentColor; }
.ferme__lien span { transition: transform .25s ease; }
.ferme__lien:hover span, .ferme__lien:focus-visible span { transform: translateX(4px); }

/* bande sombre : toison de mohair sur la moitié gauche, bord à bord.
   La hauteur reste celle du texte (la photo est recadrée) : la bande accompagne les produits sans les écraser. */
.ferme--photo { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.ferme__photo { position: relative; margin: 0; min-height: 260px; overflow: hidden; }
.ferme__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ferme--photo .wrap { width: auto; margin: 0; max-width: 620px; padding: clamp(44px, 5vw, 64px) clamp(24px, 5vw, 72px); grid-template-columns: 1fr; gap: 1.2rem; align-content: center; }
.ferme--photo h2 { font-size: var(--t-24-24-32); }
@media (max-width: 900px) {
  .ferme--photo { grid-template-columns: 1fr; }
  .ferme__photo { min-height: 0; height: 170px; }
  .ferme--photo .wrap { max-width: none; padding: 2.4rem var(--gutter, 20px); }
}

/* bande toison : le texte démarre sur la 3e colonne des produits suggérés (milieu de page + une demi-gouttière),
   la photo s'arrête un peu avant pour laisser respirer le texte ; moins d'espace entre les produits et la bande */
@media (min-width: 901px) {
  .ferme--photo { grid-template-columns: calc(50% - 3.8rem) 1fr; }
  .ferme--photo .wrap { padding-left: 4.5rem; }
}
.proches { padding-bottom: clamp(36px, 4.2vw, 58px); }

/* engagements : une seule ligne discrète sous le message de vente */
.reassurance { margin: .9rem 0 0; padding-left: 1.1rem; font-size: 12px; line-height: 1.7; color: var(--texte-discret); }   /* aligné sur le texte du message de vente */
.reassurance span { white-space: nowrap; }
.reassurance span:not(:last-child)::after { content: "·"; margin: 0 .2em 0 .55em; }   /* le point reste en fin de ligne si la phrase passe à la ligne */

/* vignette sélectionnée : un trait fin dessous (comme « Boutique » dans le menu), les autres légèrement atténuées */
.galerie__vignettes button { position: relative; padding: 0 0 6px; border-radius: 0; overflow: visible; box-shadow: none; opacity: .6; transition: opacity .2s ease; }
.galerie__vignettes button img { border-radius: var(--radius); }
.galerie__vignettes button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; transition: background .2s ease; }
.galerie__vignettes button:hover { opacity: 1; }
.galerie__vignettes button[aria-current="true"] { opacity: 1; box-shadow: none; }
.galerie__vignettes button[aria-current="true"]::after { background: var(--charbon); }

.pieces label { overflow: visible; box-shadow: none; padding-bottom: 6px; border-radius: 0; opacity: .6; transition: opacity .2s ease; }
.pieces label picture { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(40,40,38,.06); }
.pieces label::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; transition: background .2s ease; }
.pieces label:hover { box-shadow: none; opacity: 1; }
.pieces input:checked + label { box-shadow: none; opacity: 1; }
.pieces input:checked + label::before { background: var(--charbon); }
.pieces input:focus-visible + label { outline-offset: 3px; }
.pieces .vendu label, .pieces .vendu label:hover { opacity: .3; }
.galerie__vignettes { gap: .9rem; }   /* de l'air sous le trait de la vignette choisie */

/* 13 nov. : vignettes à pleine couleur (le trait suffit à marquer la sélection) */
.galerie__vignettes button, .galerie__vignettes button:hover { opacity: 1; }
.pieces label, .pieces label:hover { opacity: 1; }
.pieces .vendu label, .pieces .vendu label:hover { opacity: .3; }
/* description à la taille du texte courant : titre, prix, puis texte */
.accroche { font-size: 16px; line-height: 1.65; }
/* espaces réguliers entre les blocs de la colonne */
.atouts { margin-top: 1.8rem; }
.details { margin-top: 1.8rem; }

/* survol des vignettes : un trait gris clair apparaît (le trait charbon reste réservé à la sélection) */
.galerie__vignettes button:hover:not([aria-current="true"])::after,
.pieces input:not(:checked):not(:disabled) + label:hover::before { background: var(--taupe); }

/* « Tout voir » (Dans la boutique) : flèche qui glisse au survol, comme les autres liens d'action */
.proches__tete a { display: inline-flex; align-items: center; gap: .5em; transition: color .2s ease; }
.proches__tete a::after { content: "→"; letter-spacing: 0; transition: transform .25s ease; }
.proches__tete a:hover::after, .proches__tete a:focus-visible::after { transform: translateX(4px); }

/* pied de page : petite frisouille de la charte en signature, avant le copyright */
.pied__bas { display: flex; align-items: center; gap: .9rem; }
.pied__friso { width: 34px; height: auto; }
@media (max-width: 640px) { .pied__bas { justify-content: center; } }

/* label « Mohair de nos chèvres », sous la composition */
.label-mohair { display: flex; align-items: center; gap: .9rem; margin: 1.1rem 0 .3rem; font-size: 14px; line-height: 1.45; color: var(--texte-discret); }
.label-mohair img { display: block; width: 64px; height: auto; flex: none; }
.label-mohair a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* cartes sans pastilles : pas de place réservée (si aucune carte de la ligne n’en a) */
.proches .carte__infos:empty { min-height: 0; margin-top: 0; }

/* Vente en ligne : panier */
.actions__aide { margin: -.2rem 0 0; font-size: 14px; color: var(--texte-secondaire); min-height: 0; }
.actions__aide:empty { display: none; }
.actions__aide a { color: var(--texte-principal); text-underline-offset: 3px; }
#reserver[role="button"] { cursor: pointer; user-select: none; }
.tailles label.epuise { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* ===== Cibles tactiles (audit, 18 nov. 2026) : zones de clic d’au moins 24 px sur écran tactile, sans changer le dessin ===== */
@media (pointer: coarse) {
  .proches .teinte { margin: 5px; }
  .proches .teinte__plus { display: inline-block; padding: .4rem .35rem; margin-block: -.4rem; }
  .pied__bloc a { padding-block: .25rem; margin-block: -.25rem; }
  .proches__tete a { position: relative; }
  .proches__tete a::before { content: ""; position: absolute; inset: -12px -6px; }
}

/* ===== Bouton principal sur toute la largeur de la colonne, aligné sur les accordéons (audit, 18 nov. 2026) ===== */
.actions { max-width: none; }

/* ===== Coloris épuisé : « Prévenez-moi de son retour » ===== */
.pieces .vendu--retour label { cursor: pointer; }
.retour { margin: 1rem 0 0; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--voile); }
.retour[hidden] { display: none; }
.retour__titre { margin: 0 0 .25rem; font-size: 16px; color: var(--texte-principal); }
.retour__texte { margin: 0 0 .8rem; font-size: 14px; line-height: 1.5; color: var(--texte-discret); }
.retour__ligne { display: flex; gap: .5rem; }
.retour__ligne[hidden] { display: none; }
.retour input[type=email] { flex: 1; min-width: 0; height: 46px; padding: 0 1rem; border: 1px solid var(--taupe); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--texte-principal); }
.retour input[type=email]:focus { outline: none; border-color: var(--lin); box-shadow: 0 0 0 3px rgba(205,191,173,.35); }
.retour button { height: 46px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: var(--charbon); color: #FBF8F3; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.retour button:disabled { opacity: .5; cursor: default; }
.retour__etat { margin: .6rem 0 0; font-size: 14px; color: var(--texte-principal); }
.retour__etat:empty { display: none; }

/* ---------- Modèle de formulaire de rétractation (CGV, Livraison et retours) ---------- */
.formulaire-retractation { margin: 1.6rem 0 2rem; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--taupe); border-radius: var(--radius); background: var(--voile); }
.formulaire-retractation h3 { font-size: var(--t-16-18-18); margin: 0 0 .4rem; }
.formulaire-retractation__aide { font-size: 14px; color: var(--texte-discret); margin: 0 0 1rem; }
.formulaire-retractation__texte { padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--papier); font-size: 14px; line-height: 1.7; color: var(--texte-secondaire); }
.formulaire-retractation__texte p { margin: 0 0 .7rem; }
.formulaire-retractation__texte p:last-child { margin-bottom: 0; }
.formulaire-retractation__note { font-size: 12px; color: var(--texte-discret); }
@media print { .formulaire-retractation { break-inside: avoid; background: none; } }

/* aperçu d’une fiche désactivée, ouvert depuis /gestion */
.bandeau-apercu { position: sticky; top: 0; z-index: 200; padding: .6rem 1.2rem; background: #2F2E2B; color: #FBF8F3; font-size: 13px; line-height: 1.4; text-align: center; }

/* engagements sous le bouton : expédition, livraison offerte, retours */
.engagements { margin: 1.3rem 0 0; }
.engagements ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.engagements li { display: flex; align-items: center; gap: .75rem; font-size: 14px; line-height: 1.45; color: var(--texte-secondaire); }
.engagements svg { flex: none; color: var(--texte-principal); opacity: .75; }
.engagements b { font-weight: 500; color: var(--texte-principal); }
.engagements__lien { display: inline-block; margin: .75rem 0 0 calc(20px + .75rem); font-size: 13px; color: var(--texte-discret); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.engagements__lien:hover { color: var(--texte-principal); }
.accroche + .atouts { margin: 1.3rem 0 1.6rem; }

/* Zone d’achat : invisible le temps que le script la mette dans son état réel (vente ouverte ou non, épuisé…),
   pour qu’aucun bouton n’apparaisse puis disparaisse ; filet de sécurité au bout de 3 s */
.infos > .actions:not([data-pret]) { visibility: hidden; animation: secours-visible 0s 3s forwards; }
@keyframes secours-visible { to { visibility: visible; } }
/* lien vers la page d’entretien, sous les conseils de la fiche */
.conseils-lien { margin: .2rem 0 0; font-size: 14px; }
.conseils-lien a { color: var(--texte-principal); text-decoration: underline; text-decoration-color: #CDBFAD; text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.conseils-lien a:hover { text-decoration-color: currentColor; }
.conseils-lien a::after { content: " →"; }
