@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/poppins-300i-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/poppins-300i-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: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/poppins-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/poppins-300-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: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/poppins-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/poppins-400-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: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/poppins-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/poppins-500-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;
}

/* La carte du Petit Patio : pensée pour le téléphone, à table.
   Même famille que le site : Poppins léger, crème, sauge, pêche. */

:root {
  --creme: #FBF7F1;
  --creme-2: #F3EDE3;
  --sauge: #A2B190;
  --sauge-pale: #E4E9DC;
  --sauge-profond: #5E6C52;
  --peche: #FF9D69;
  --terre: #C4563A;
  --encre: #22231F;
  --encre-douce: #66675F;
  --filet: rgba(34, 35, 31, .1);
  --g: 20px;
  --courbe: cubic-bezier(.2, .7, .1, 1);
  --haut-entete: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--haut-entete); }
html.fige { overflow: hidden; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font: 300 16px/1.5 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sauge-profond); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.marque { display: block; width: 100%; height: auto; overflow: visible; }
.mono { display: block; width: 100%; height: auto; }

/* ---------- En-tête collant ---------- */

.entete {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: env(safe-area-inset-top);
}
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--filet); opacity: 0; transition: opacity .3s; }
.a-defile .entete::after { opacity: 1; }
.entete__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--g) 8px; }
.entete__marque { width: 128px; color: var(--sauge-profond); }
.entete__outils { display: flex; align-items: center; gap: 8px; }

.langue { display: flex; background: var(--creme-2); border-radius: 99px; padding: 3px; }
.langue button { min-width: 38px; height: 32px; border-radius: 99px; font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--encre-douce); }
.langue button[aria-pressed="true"] { background: #fff; color: var(--encre); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.rond { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sauge); color: #fff; }
.rond svg, .rech svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* Espaces : à manger / à boire */
.espaces { display: grid; grid-template-columns: 1fr 1fr; margin: 4px var(--g) 0; padding: 4px; background: var(--creme-2); border-radius: 99px; position: relative; }
.espaces::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--sauge-profond); border-radius: 99px;
  transform: translateX(calc(var(--espace, 0) * 100%)); transition: transform .45s var(--courbe);
}
.espaces button { position: relative; height: 40px; border-radius: 99px; font-size: 15px; font-weight: 400; color: var(--encre-douce); transition: color .3s; }
.espaces button[aria-selected="true"] { color: #fff; }

/* Puces des catégories */
.puces { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--g) 12px; scrollbar-width: none; scroll-padding: 0 var(--g); }
.puces::-webkit-scrollbar { display: none; }
.puce { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 14px; color: var(--encre-douce); border: 1px solid var(--filet); background: #fff; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.puce[aria-current="true"] { background: var(--encre); color: var(--creme); border-color: var(--encre); }

/* Recherche */
.rech { display: flex; align-items: center; gap: 10px; margin: 2px var(--g) 12px; height: 46px; padding: 0 6px 0 14px; background: #fff; border: 1px solid var(--filet); border-radius: 99px; color: var(--encre-douce); }
.rech input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: 300 16px 'Poppins', sans-serif; color: var(--encre); -webkit-appearance: none; appearance: none; }
.rech input::-webkit-search-cancel-button { display: none; }
.rech__x { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--encre-douce); }
.rech__fin { height: 34px; padding: 0 12px; border-radius: 99px; background: var(--creme-2); font-size: 14px; color: var(--encre); }

/* ---------- Ouverture ---------- */

.ouverture { padding: 10px var(--g) 8px; }
.ouverture__arche { position: relative; aspect-ratio: 16 / 11; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sauge-pale); }
.ouverture__arche img { width: 100%; height: 100%; object-fit: cover; }
.ouverture__arche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 22, 16, .62)); }
.ouverture__texte { margin-top: -78px; position: relative; text-align: center; color: #fff; padding-bottom: 22px; }
.ouverture__sur { font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; opacity: .92; }
.ouverture h1 { font-weight: 300; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin-top: 4px; }
.recherche .ouverture { display: none; }

.filtres { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 18px; }
.filtre { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 6px; border-radius: 99px; border: 1px solid var(--filet); background: #fff; font-size: 13px; gap: 6px; color: var(--encre); transition: background .25s, color .25s, border-color .25s; }
.filtre[aria-pressed="true"] { background: var(--sauge-profond); border-color: var(--sauge-profond); color: #fff; }
.filtre[aria-pressed="true"] .pastille { background: #fff; color: var(--sauge-profond); }

/* Pastilles régime : les mêmes repères que la carte imprimée */
.pastille { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--sauge-pale); color: var(--sauge-profond); font-size: 10px; font-weight: 500; letter-spacing: .02em; line-height: 1; vertical-align: 2px; }

/* ---------- La carte ---------- */

.carte { padding: 0 var(--g) 10px; }
.compte { padding: 14px 0 0; font-size: 13px; color: var(--encre-douce); }
.vide { padding: 48px 0; text-align: center; color: var(--encre-douce); }
.vide button { margin-top: 14px; height: 40px; padding: 0 18px; border-radius: 99px; background: var(--encre); color: var(--creme); font-size: 14px; }

.cat { padding-top: 34px; }
.cat__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
.cat__t { font-weight: 300; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; }
.cat__esp { font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--peche); }
.recherche .cat__esp { display: inline; }
.cat__esp { display: none; }
.cat__n { font-size: 14px; font-style: italic; color: var(--encre-douce); margin: 2px 0 6px; }
.cat__bandeau { margin: 12px 0 6px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--sauge-pale); }
.cat__bandeau img { width: 100%; height: 100%; object-fit: cover; }
.recherche .cat__bandeau { display: none; }

.groupe { margin-top: 20px; font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--sauge-profond); display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-bottom: 4px; }
.groupe__n { margin: 4px 0 2px; font-size: 13px; font-style: italic; color: var(--encre-douce); }
.formats { display: flex; gap: 0; }
.formats span { width: 52px; text-align: right; font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--encre-douce); white-space: nowrap; }

.art {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  padding: 14px 0; border-bottom: 1px solid var(--filet);
}
button.art { cursor: pointer; }
button.art:active { background: var(--creme-2); }
.art__v { position: relative; flex: none; width: 64px; height: 64px; border-radius: 32px 32px 10px 10px; overflow: hidden; background: var(--sauge-pale); }
.art__v img { width: 100%; height: 100%; object-fit: cover; }
.art__v::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%235E6C52' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.art__c { flex: 1; min-width: 0; }
.art__n { display: block; font-weight: 400; font-size: 16px; line-height: 1.35; }
.art__n .pastille { margin-left: 4px; }
.art__d { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--encre-douce); }
.art__p { flex: none; font-weight: 400; font-size: 15.5px; white-space: nowrap; padding-top: 1px; }
.art__p small { display: block; text-align: right; font-weight: 300; font-size: 11.5px; color: var(--encre-douce); }
.art__formats { flex: none; display: flex; padding-top: 1px; }
.art__formats span { width: 52px; text-align: right; font-weight: 400; font-size: 15px; white-space: nowrap; }
.art__formats span:empty::before { content: "·"; color: var(--filet); }
.art--court { padding: 11px 0; }
.art__multi { display: grid; gap: 2px; text-align: right; flex: none; }
.art__multi span { font-size: 15px; font-weight: 400; white-space: nowrap; }
.art__multi small { font-weight: 300; font-size: 12.5px; color: var(--encre-douce); margin-right: 6px; }

/* ---------- Pied ---------- */

.pied { margin-top: 40px; padding: 44px var(--g) calc(36px + env(safe-area-inset-bottom)); background: var(--sauge); color: #fff; text-align: center; }
.pied__mono { width: 42px; margin: 0 auto 22px; }
.pied p { font-size: 13px; line-height: 1.6; opacity: .92; }
.pied__liens { display: grid; justify-items: center; gap: 14px; margin: 26px 0 28px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 99px; background: #fff; color: var(--sauge-profond); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.lien { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.pied__sign { font-size: 11.5px; }
.pied__sign a { border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---------- Fiche produit ---------- */

.voile { position: fixed; inset: 0; z-index: 40; background: rgba(20, 22, 16, .45); opacity: 0; transition: opacity .35s; }
.voile.on { opacity: 1; }
.fiche {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-height: 92svh; display: flex; flex-direction: column;
  background: var(--creme); border-radius: 26px 26px 0 0;
  transform: translateY(100%); transition: transform .42s var(--courbe);
  padding-bottom: env(safe-area-inset-bottom);
}
.fiche.on { transform: translateY(0); }
.fiche.glisse { transition: none; }
.fiche__prise { display: grid; place-items: center; height: 26px; flex: none; }
.fiche__prise span { width: 40px; height: 4px; border-radius: 4px; background: rgba(34,35,31,.18); }
.fiche__corps { overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--g) 22px; }
.fiche__galerie { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); scrollbar-width: none; }
.fiche__galerie::-webkit-scrollbar { display: none; }
.fiche__galerie figure { margin: 0; flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; border-radius: 120px 120px 16px 16px; overflow: hidden; background: var(--sauge-pale); }
.fiche__galerie.plusieurs figure { width: 88%; }
.fiche__galerie img { width: 100%; height: 100%; object-fit: cover; }
.fiche__points { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.fiche__points span { width: 6px; height: 6px; border-radius: 50%; background: rgba(34,35,31,.18); transition: background .25s; }
.fiche__points span.on { background: var(--sauge-profond); }
.fiche__cat { margin-top: 20px; font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--sauge-profond); }
.fiche h2 { margin-top: 6px; font-weight: 300; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.fiche__d { margin-top: 10px; font-size: 15.5px; color: var(--encre-douce); }
.fiche__bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--filet); }
.fiche__p { font-size: 24px; font-weight: 400; }
.fiche__t { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fiche__t span { font-size: 12.5px; padding: 5px 10px; border-radius: 99px; background: var(--sauge-pale); color: var(--sauge-profond); }
.fiche__fermer { display: block; width: 100%; height: 50px; margin-top: 22px; border-radius: 99px; background: var(--encre); color: var(--creme); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }

@media (min-width: 720px) {
  :root { --g: 32px; }
  body { max-width: 720px; margin: 0 auto; box-shadow: 0 0 0 1px var(--filet); }
  .fiche { max-width: 720px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
}
