@font-face{font-family:"Archivo";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/archivo-latin.woff2)format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Archivo";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/archivo-latin-ext.woff2)format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* ==========================================================================
   Le Fromager — feuille de style
   Palette strictement dérivée du logo : jaune #FFFF00, noir #000000.
   ========================================================================== */

:root {
  --jaune: #ffff00;
  --noir: #000000;
  --blanc: #ffffff;
  --lait: #f4f3ee;
  --lait-fonce: #e9e8e1;
  --gris: #5f5f59;
  --gris-clair: #77776f;
  --bord: #dedcd4;
  --rouge: #a4231c;

  --sur-noir-texte: #d6d6d0;
  --sur-noir-faible: #9a9a93;
  --sur-noir-filet: #4a4a44;

  --page: 1220px;
  --gout: clamp(1.25rem, 4vw, 2.5rem);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.75rem, 7vw, 5.5rem);
  --t-h2: clamp(1.85rem, 3.6vw, 2.85rem);
  --t-h3: clamp(1.15rem, 1.6vw, 1.35rem);
  --t-corps: 1.125rem;
  --t-petit: 1rem;
  --t-mini: 0.9rem;

  --vignette: 132px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--t-corps);
  line-height: 1.65;
  color: var(--noir);
  background: var(--blanc);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }

.enveloppe {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gout);
}

/* utilitaire : visible pour les lecteurs d'écran seulement */
.hors-ecran {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--noir);
  color: var(--blanc);
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
}
.evitement:focus { left: 0; }

:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; }
.sur-noir :focus-visible,
.pied :focus-visible { outline-color: var(--jaune); }

/* ---------- en-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blanc);
  border-bottom: 1px solid var(--bord);
}

.entete-corps { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }

.marque { display: block; flex: 0 0 auto; line-height: 0; }
.marque img { height: 56px; width: auto; }

.nav-principale {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}

.nav-principale a {
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-principale a:hover { border-bottom-color: var(--noir); }
.nav-principale a[aria-current="page"] { border-bottom-color: var(--jaune); }

.langues { display: flex; gap: 0.55rem; padding-left: 1.25rem; border-left: 1px solid var(--bord); }
.langues a { font-size: var(--t-mini); font-weight: 500; color: var(--gris); letter-spacing: 0.04em; }
.langues a:hover { color: var(--noir); }
.langues a[aria-current="true"] { color: var(--noir); border-bottom-color: var(--jaune); }

.bouton-menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--noir);
  background: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
}

/* ---------- boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  padding: 1rem 1.75rem;
  border: 2px solid var(--noir);
  background: var(--jaune);
  color: var(--noir);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.bouton:hover { background: var(--noir); color: var(--jaune); }

.bouton-clair { background: transparent; }
.bouton-clair:hover { background: var(--noir); color: var(--blanc); }

.bouton-sombre { background: var(--jaune); border-color: var(--jaune); }
.bouton-sombre:hover { background: transparent; border-color: var(--jaune); color: var(--jaune); }

.bouton[disabled] {
  background: var(--lait-fonce);
  border-color: var(--bord);
  color: var(--gris);
  cursor: not-allowed;
}

/* ---------- ouverture ---------- */

.ouverture { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); }

.ouverture-grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.ouverture h1 { font-size: var(--t-display); font-weight: 700; letter-spacing: -0.045em; line-height: 0.94; }
.titre-signe { display: flex; flex-direction: column; align-items: flex-start; }
.titre-signe .signature { display: block; width: min(100%, 6.5em); height: auto; margin: 0.02em 0 0 -0.02em; }
.ouverture-texte { margin-top: 1.75rem; max-width: 46ch; color: var(--gris); font-size: 1.25rem; line-height: 1.6; }
.ouverture-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

.disque-photo { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.disque-photo::before {
  content: "";
  position: absolute;
  inset: -7% -7% 7% 7%;
  background: var(--jaune);
  border-radius: 50%;
}
.disque-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- bandeau jaune ---------- */

.bandeau-jaune { background: var(--jaune); }
.bandeau-liste {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 2rem;
}
.bandeau-liste li {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.bandeau-liste li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--noir);
}

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-lait { background: var(--lait); }

.section-titre { max-width: 52ch; }
.section-titre h2 { font-size: var(--t-h2); }
.section-titre > p { margin-top: 1rem; color: var(--gris); font-size: 1.125rem; }

/* ---------- produits (accueil) ---------- */

.produits {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.produit-lien {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 1rem 0.5rem 1.5rem;
  border-bottom: 2px solid transparent;
}
.produit-lien > * { display: block; }
.produit-lien:hover { border-bottom-color: var(--jaune); }
.produit-lien:hover .produit-disque { border-color: var(--noir); }

.produit-disque {
  position: relative;
  width: min(240px, 78%);
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--bord);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.produit-disque img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }

.produit-nom { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.produit-compo {
  margin-top: 0.6rem;
  color: var(--gris);
  font-size: var(--t-petit);
  line-height: 1.55;
  max-width: 30ch;
  margin-inline: auto;
}
.produit-prix { margin-top: 1rem; font-weight: 600; font-size: 1.0625rem; }

.produits-action { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }

/* ---------- bloc noir ---------- */

.sur-noir { background: var(--noir); color: var(--sur-noir-texte); }
.sur-noir h2 { color: var(--blanc); }

.bloc-noir-grille {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.bloc-noir-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 440px; width: 100%; }
.bloc-noir-photo img { width: 100%; height: 100%; object-fit: cover; }

.bloc-noir-texte > p { margin-top: 1.25rem; max-width: 48ch; }

.faits { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 42ch; }
.faits li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sur-noir-filet);
  font-size: 1.0625rem;
}
.faits .cle { color: var(--sur-noir-faible); }
.faits a { color: var(--blanc); }

/* ---------- AOP ---------- */

/* Les marques sont détourées : plus de cadre, plus de fond blanc, elles
   posent directement sur la page. Les trois lockups n'ont pas le même
   format, donc chacun a sa hauteur — l'égalité recherchée est optique,
   pas mathématique. */
.aop { padding: clamp(3rem, 5vw, 4.25rem) 0; border-top: 1px solid var(--bord); }
.aop-liste {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(2.25rem, 6vw, 5rem);
}
.aop-liste img { display: block; width: auto; }
.aop-liste .aop-vacherin { height: 46px; }
.aop-liste .aop-gruyere  { height: 37px; }
.aop-liste .aop-raclette { height: 32px; }
.aop-mention { margin-top: 1.9rem; text-align: center; color: var(--gris); font-size: var(--t-petit); }

/* ---------- bandeau image pleine largeur ---------- */

.bandeau-image img {
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
}

/* ---------- pied de page ---------- */

.pied { background: var(--noir); color: var(--sur-noir-texte); padding: 0 0 2rem; }

/* La signature du logo déborde de la pastille jaune : sur fond noir ces
   débords disparaissaient. Le logo n'est pas modifié — c'est le fond qui
   change. La ligne de marque devient une bande claire pleine largeur, le
   pied se lit alors en deux temps : la marque au clair, les liens au noir. */
.pied-marque { background: var(--lait); }
.pied-marque-corps {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(1.75rem, 3vw, 2.4rem);
}
.pied-logo { height: 66px; width: auto; margin: 0; flex: 0 0 auto; }
.pied-baseline { margin: 0; color: var(--gris); font-size: var(--t-petit); line-height: 1.6; }

.pied-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  align-items: start;
}

.pied h2 {
  font-size: var(--t-mini);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sur-noir-faible);
  margin: 0 0 1.15rem;
}
/* Adresse et listes de liens partagent exactement le même rythme vertical. */
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.pied address { font-style: normal; display: grid; gap: 0.65rem; line-height: 1.65; }
.pied address > * { display: block; }
.pied-bloc a { width: fit-content; }
.pied a { color: var(--blanc); text-decoration: none; border-bottom: 1px solid transparent; }
.pied a:hover { border-bottom-color: var(--jaune); }

.pied-bas {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sur-noir-filet);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-mini);
  color: var(--sur-noir-faible);
}
.pied ul.pied-langues { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.pied-langues a { letter-spacing: 0.04em; }
.pied-langues a[aria-current="true"] { border-bottom-color: var(--jaune); }

/* ---------- pages intérieures ---------- */

.chapeau { padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.chapeau h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.04em; }
.chapeau-texte { margin-top: 1.25rem; max-width: 56ch; color: var(--gris); font-size: 1.25rem; }

.avis {
  padding: 1.25rem 1.5rem;
  background: var(--jaune);
  margin-top: 2.5rem;
  font-weight: 500;
  font-size: var(--t-petit);
  max-width: 62ch;
}

/* ---------- commande ---------- */

.commande-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.bloc-form { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bloc-form h2 { font-size: 1.5rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--noir); }
.bloc-form .aide { color: var(--gris); font-size: var(--t-petit); margin-top: 0.9rem; }

.produit-commande { padding: 1.75rem 0; border-bottom: 1px solid var(--bord); }
.produit-commande:last-of-type { border-bottom: 0; }

.produit-entete {
  display: grid;
  grid-template-columns: var(--vignette) minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.produit-sous-total {
  font-weight: 600;
  text-align: right;
  min-width: 6rem;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.produit-sous-total[data-vide="oui"] { color: var(--gris-clair); font-weight: 400; }

.formats { margin-top: 1.25rem; margin-left: calc(var(--vignette) + 1.5rem); }
.format-ligne {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--bord);
}
.format-nom { font-weight: 500; font-size: 1.0625rem; white-space: nowrap; }
.format-prix { color: var(--gris); font-size: var(--t-petit); font-variant-numeric: tabular-nums; }

/* Les packshots sont sur fond blanc : le disque reste blanc, cerclé d'un
   filet fin, et le produit occupe presque tout le diamètre. */
.ligne-vignette {
  position: relative;
  width: var(--vignette); height: var(--vignette);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--bord);
  background: var(--blanc);
  flex: 0 0 auto;
}
.ligne-vignette img { width: 100%; height: 100%; object-fit: contain; padding: 3%; }

.ligne-nom { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.ligne-detail { color: var(--gris); font-size: var(--t-petit); margin-top: 0.15rem; }

/* détail repliable */
.detail-produit { margin-top: 0.9rem; }
/* Ne jamais surcharger `display` sur <summary> : Chromium perd alors le
   repli natif et le contenu s'affiche par-dessus le reste. La mise en forme
   va sur un span interne. */
.detail-produit summary {
  font-size: var(--t-mini);
  font-weight: 500;
  color: var(--gris);
  cursor: pointer;
  padding: 0.3rem 0;
  list-style: none;
  width: fit-content;
}
.detail-produit summary::-webkit-details-marker { display: none; }
.detail-libelle { display: inline-flex; align-items: flex-start; gap: 0.45rem; }
.detail-libelle::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 0.42em;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}
.detail-produit[open] .detail-libelle::before { transform: rotate(-135deg) translateY(-1px); }
.detail-produit summary:hover { color: var(--noir); }

.detail-corps { padding: 0.85rem 0 0.35rem; font-size: var(--t-petit); line-height: 1.6; color: var(--gris); max-width: 56ch; }
.detail-corps dl { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; margin: 0.85rem 0 0; }
.detail-corps dt { padding: 0.3rem 0; border-bottom: 1px solid var(--bord); }
.detail-corps dd { margin: 0; padding: 0.3rem 0; border-bottom: 1px solid var(--bord); text-align: right; font-variant-numeric: tabular-nums; color: var(--noir); }

/* champs */

select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  font: inherit;
  font-size: 1.0625rem;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
select {
  width: auto; min-width: 11rem;
  padding-right: 2.25rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}
textarea { min-height: 5.5rem; resize: vertical; }

.compteur { display: inline-flex; align-items: stretch; border: 1px solid var(--noir); }
.compteur button {
  font: inherit; font-size: 1.35rem; line-height: 1;
  width: 2.4rem; border: 0; background: var(--blanc); cursor: pointer;
}
.compteur button:hover { background: var(--jaune); }
.compteur input {
  width: 2.9rem; border: 0; border-inline: 1px solid var(--noir);
  text-align: center; font: inherit; font-weight: 600;
  padding: 0.6rem 0; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.compteur input::-webkit-outer-spin-button,
.compteur input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.champs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin-top: 1.75rem; }
.champ { display: grid; gap: 0.4rem; align-content: start; grid-column: span 3; }
.champ-tiers { grid-column: span 2; }
.champ-deux-tiers { grid-column: span 4; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-weight: 500; font-size: 1rem; }
.champ .indice { color: var(--gris); font-size: var(--t-mini); }
.champ .erreur { color: var(--rouge); font-size: var(--t-mini); font-weight: 500; }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--rouge); border-width: 2px; }

.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* récapitulatif */

.recap { position: sticky; top: 108px; background: var(--lait); padding: 1.6rem; }
.recap h2 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.recap-lignes { display: grid; gap: 0.7rem; font-size: 1rem; }
.recap-ligne { display: flex; justify-content: space-between; gap: 1rem; }
.recap-ligne span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.recap-vide { color: var(--gris); font-size: 1rem; }
.recap-total {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 2px solid var(--noir);
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 600; font-size: 1.3rem;
}
.recap-total span:last-child { font-variant-numeric: tabular-nums; }
.recap-note { margin-top: 0.9rem; color: var(--gris); font-size: var(--t-mini); line-height: 1.5; }
.recap .bouton { width: 100%; margin-top: 1.35rem; }
.recap-message { margin-top: 0.9rem; font-size: var(--t-mini); line-height: 1.5; font-weight: 500; }
.recap-message[data-ton="erreur"] { color: var(--rouge); }

.astuce {
  margin-top: 0.9rem;
  padding: 0.8rem 0.95rem;
  background: var(--jaune);
  font-size: var(--t-mini);
  font-weight: 500;
  line-height: 1.45;
}

/* boutique fermée */

.ferme { background: var(--lait); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.ferme h2 { font-size: var(--t-h2); }
.ferme p { margin-top: 1rem; color: var(--gris); max-width: 46ch; margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- contact ---------- */

.coordonnees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 3rem;
}
.coordonnee { border-top: 2px solid var(--noir); padding-top: 1.1rem; }
.coordonnee h2 { font-size: var(--t-mini); color: var(--gris); letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.coordonnee p { font-size: 1.15rem; font-weight: 500; }
.coordonnee a { text-decoration: none; border-bottom: 2px solid var(--jaune); }
.coordonnee a:hover { border-bottom-color: var(--noir); }
.coordonnee .a-completer { font-weight: 400; color: var(--gris); font-size: 1.0625rem; }

/* ---------- cartes texte ---------- */

.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.carte { border-top: 2px solid var(--noir); padding-top: 1.25rem; }
.carte h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.carte p { font-size: var(--t-petit); line-height: 1.7; color: var(--gris); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .ouverture-grille,
  .bloc-noir-grille,
  .commande-grille { grid-template-columns: 1fr; }
  .ouverture-grille { gap: 2.5rem; }
  .disque-photo { order: -1; max-width: min(340px, 86vw); }
  .bandeau-liste { grid-template-columns: 1fr; gap: 0.65rem; }
  .produits, .cartes { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-marque-corps { flex-wrap: wrap; }
  .produits { gap: 2rem; }
  .cartes, .pied-grille { gap: 2rem; }
  .recap { position: static; }
  .champs { grid-template-columns: repeat(2, 1fr); }
  .champ, .champ-tiers, .champ-deux-tiers { grid-column: span 1; }
  .champ-large { grid-column: 1 / -1; }
  .nav-principale { display: none; }
  .nav-principale.ouvert {
    display: flex;
    position: absolute;
    inset: 84px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: var(--blanc);
    border-bottom: 1px solid var(--bord);
    padding: 1rem var(--gout) 1.5rem;
    margin: 0;
  }
  .nav-principale.ouvert .langues { border-left: 0; padding-left: 0; margin-top: 0.75rem; }
  .bouton-menu { display: block; }
  :root { --vignette: 96px; }
  .produit-entete { column-gap: 1.1rem; align-items: start; }
  .produit-sous-total { min-width: 0; font-size: 1.0625rem; }
  .formats { margin-left: 0; }
  .format-ligne { grid-template-columns: 4.5rem 1fr auto; gap: 0.75rem; }
  .faits li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- tablettes (620 – 900 px) ----------
   Entre le téléphone et le bureau il y a la tablette, et c'est là que le
   client relira le site. La largeur disponible permet de garder la
   navigation dépliée et les grilles à plusieurs colonnes : sans ce palier,
   un iPad en portrait recevait la mise en page d'un téléphone étirée.   */

@media (min-width: 620px) and (max-width: 900px) {
  :root { --vignette: 112px; }

  /* navigation dépliée : 490 px suffisent, on en a au moins 620 */
  .bouton-menu { display: none; }
  .nav-principale {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    gap: clamp(0.9rem, 2.2vw, 1.75rem);
  }
  .nav-principale .langues { border-left: 1px solid var(--bord); padding-left: 1rem; margin-top: 0; }

  /* grilles : on reste à trois colonnes, les blocs sont courts */
  .produits { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .cartes { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .pied-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2rem; }
  .bandeau-liste { grid-template-columns: repeat(3, 1fr); gap: 0.9rem 1.5rem; padding: 1.25rem 0; }
  .faits li { grid-template-columns: 8.5rem 1fr; gap: 1rem; }

  /* visuels : profiter de la largeur sans devenir démesuré */
  .disque-photo { max-width: 420px; }
  .produit-disque { width: min(190px, 86%); }
  .ouverture h1 { font-size: clamp(2.75rem, 6vw, 3.9rem); }
  .chapeau h1 { font-size: clamp(2.25rem, 5.4vw, 3.25rem); }
  .ouverture-texte, .chapeau-texte { max-width: 52ch; }

  .produit-entete { align-items: center; column-gap: 1.4rem; }
  .formats { margin-left: calc(var(--vignette) + 1.4rem); }
  .format-ligne { grid-template-columns: 5rem 1fr auto; gap: 1rem; }

  #carte-buvette { height: clamp(360px, 52vw, 440px); }
  .coordonnees { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --vignette: 78px; }
  .aop-liste { gap: 1.9rem 2.5rem; }
  .aop-liste .aop-vacherin { height: 38px; }
  .aop-liste .aop-gruyere  { height: 31px; }
  .aop-liste .aop-raclette { height: 27px; }
  .pied-grille { grid-template-columns: 1fr; gap: 2rem; }
  .pied-marque-corps { gap: 1.25rem; }
  .champs { grid-template-columns: 1fr; }
  .ouverture-actions .bouton { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .entete, .pied, .bouton, .bandeau-image { display: none; }
  body { font-size: 11pt; }
}


/* ---------- lisibilité ----------
   Clientèle plutôt âgée : corps à 18 px, rien sous 14,4 px.
   Les champs de saisie sont à 17 px, ce qui évite aussi le zoom
   automatique de Safari iOS au focus.                              */
small { font-size: 0.9rem; }
.pied-bas small { font-size: inherit; }
.champ .erreur { font-size: 0.95rem; }

/* ---------- accès à la buvette : carte OpenStreetMap ---------- */

.acces { padding: clamp(3rem, 6vw, 5rem) 0 0; }

.acces-grille {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.acces-texte h2 { font-size: var(--t-h2); }
.acces-intro { margin-top: 1rem; color: var(--gris); font-size: 1.125rem; max-width: 42ch; }

.acces-adresse {
  margin-top: 1.75rem;
  font-style: normal;
  line-height: 1.7;
  padding-left: 1rem;
  border-left: 3px solid var(--jaune);
}

.acces-route {
  margin-top: 1.25rem;
  color: var(--gris);
  font-size: var(--t-petit);
  line-height: 1.7;
  max-width: 46ch;
}

.acces-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* cadre de la carte */
.carte-cadre { position: relative; border: 2px solid var(--noir); background: var(--lait); }

#carte-buvette {
  height: clamp(320px, 42vw, 460px);
  width: 100%;
  background: var(--lait);
  z-index: 0;                       /* reste sous l'en-tête collante */
}
#carte-buvette:focus-visible { outline: 3px solid var(--jaune); outline-offset: -3px; }

/* invite discrète tant que la carte n'est pas activée */
.carte-voile {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 500;
  margin: 0;
  padding: 0.5rem 0.85rem;
  background: var(--noir);
  color: var(--blanc);
  font-size: var(--t-mini);
  font-weight: 500;
  pointer-events: none;
}

.carte-sans-js { padding: 1.5rem; font-size: var(--t-petit); }

/* marqueur aux couleurs de la maison */
.marqueur-buvette { background: none; border: 0; }
.marqueur-point,
.marqueur-halo {
  position: absolute;
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.marqueur-halo { width: 34px; height: 34px; background: var(--jaune); opacity: 0.45; }
.marqueur-point { width: 16px; height: 16px; background: var(--jaune); border: 3px solid var(--noir); }

/* habillage Leaflet aligné sur le reste du site */
.leaflet-container { font: inherit; font-size: var(--t-mini); }
.leaflet-bar a,
.leaflet-bar a:hover { border-radius: 0; color: var(--noir); border-bottom: 1px solid var(--bord); }
.leaflet-bar { border: 1px solid var(--noir); border-radius: 0; box-shadow: none; }
.leaflet-control-attribution { background: rgba(255, 255, 255, 0.9); font-size: 12px; }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip { border-radius: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.leaflet-popup-content { margin: 0.9rem 1.1rem; line-height: 1.55; font-size: var(--t-mini); }

@media (max-width: 900px) {
  .acces-grille { grid-template-columns: 1fr; }
}

@media print {
  .acces, .carte-cadre { display: none; }
}


/* Cibles tactiles - WCAG 2.2 AA, critere 2.5.8. Selecteur de langue : 24px de large min. */
.langues a{min-width:24px;text-align:center}

/* ---------- carte Google Maps (fiche Le Fromager Dafflon) ---------- */

.carte-google { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }

/* ---------- commande : très petits écrans (≤ 420 px) ---------- */

@media (max-width: 420px) {
  .produit-entete { --vignette: 56px; grid-template-columns: var(--vignette) minmax(0, 1fr); gap: 0.5rem 1rem; align-items: start; }
  .produit-sous-total { grid-column: 2; }
  .format-ligne { grid-template-columns: 3.5rem 1fr auto; gap: 0.5rem; }
  .format-prix { white-space: nowrap; }
}

/* ---------- mobile : boutons Contact et zones tactiles ---------- */

@media (max-width: 560px) {
  .acces-actions .bouton { flex: 1 1 100%; }
}
@media (max-width: 900px) {
  .langues a { display: inline-block; padding: 0.55rem 0.35rem; }
  .pied-bloc a, .pied-langues a { display: inline-block; padding-block: 0.3rem; }
}
