/* =========================================================================
   Version mobile (≤ 760 px) — chargée après style.css.
   Barre d'onglets façon application, sections resserrées, cartes à faire
   glisser, bandeaux lisibles, animations au doigt. L'ordinateur n'est pas touché.
   ========================================================================= */
.tabbar, .m-buy, .m-dots { display: none; }

@media (max-width: 760px) {
  :root { --gut: 20px; --sec: 76px; --header-h: 60px; --tb-h: 64px; --tb: calc(var(--tb-h) + env(safe-area-inset-bottom, 0px)); }
  body { font-size: 1rem; line-height: 1.65; -webkit-tap-highlight-color: transparent; }
  .credits { padding-bottom: calc(18px + var(--tb)); }
  body::after { opacity: calc(var(--grain) * .6); }

  /* ---------- Typographie ---------- */
  h1, .h1 { font-size: clamp(2.7rem, 12.5vw, 3.5rem); }
  h2, .h2 { font-size: clamp(2.15rem, 9.6vw, 2.6rem); line-height: 1.04; }
  h3, .h3 { font-size: 1.4rem; }
  .lead { font-size: 1.06rem; line-height: 1.6; }
  .eyebrow { font-size: .64rem; letter-spacing: .2em; gap: .7em; }
  .eyebrow::before { width: 22px; }
  .chap { font-size: 1.05rem; }
  .sec-head { margin-bottom: 30px; gap: 18px; }
  .sec-head h2 { margin-top: 14px; }
  .sec-head .lead { margin-top: 16px; }
  p { margin-bottom: 1em; }

  /* ---------- Boutons : retour au toucher ---------- */
  .btn { min-height: 50px; padding: 0 22px; font-size: .72rem; letter-spacing: .12em; transition: transform .25s var(--ease), color .45s var(--ease); }
  .btn.sm { min-height: 42px; padding: 0 18px; font-size: .68rem; }
  .btn::before { display: none; }
  .btn:active, .chip:active, .rbtn:active, .icbtn:active, .tabbar a:active, .tabbar button:active { transform: scale(.96); }
  .btn:hover .i, .link:hover .i { transform: none; }
  .link { font-size: .72rem; letter-spacing: .14em; }
  .chip { height: 36px; padding: 0 15px; font-size: .8rem; }

  /* ---------- Bandeau démo : plus discret ---------- */
  .demobar { gap: 6px; padding: 0 10px; }
  .demobar .tag { font-size: .56rem; padding: 3px 7px; }
  .demopill { left: auto; right: 10px; bottom: calc(var(--tb) + 10px); height: 30px; padding: 0 5px; font-size: 0; gap: 0; background: rgba(18, 18, 18, .82); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
  .demopill .tag { font-size: .52rem; padding: 4px 7px; }
  body.buy-on .demopill { bottom: calc(var(--tb) + 10px); }
  .toasts { bottom: calc(var(--tb) + 12px) !important; }
  body.buy-on .toasts { bottom: calc(var(--tb) + 12px) !important; }

  /* ---------- En-tête ---------- */
  .header .wrap { gap: 10px; }
  .brand { gap: 10px; }
  .brand .mono { width: 36px; height: 36px; }
  .header.solid .brand .mono { width: 34px; height: 34px; }
  .header.solid { --header-h: 58px; }
  .brand .bn b { font-size: 1.16rem; max-width: 58vw; }
  .brand .bn span { font-size: .5rem; letter-spacing: .2em; margin-top: 4px; }
  .hd-tools [data-open-cart] { display: none; }
  .burger { width: 46px; height: 46px; }
  .burger span { width: 24px; }

  /* Menu plein écran : grande typographie, apparition en cascade */
  .mmenu { background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--accent) 34%, var(--dark)) 0%, var(--dark) 60%); }
  .mmenu__in { padding: calc(var(--demo-h) + var(--header-h) + 18px) var(--gut) calc(var(--tb) + 24px); }
  .mmenu nav { gap: 0; }
  .mmenu nav a { font-size: clamp(1.9rem, 8.6vw, 2.4rem); line-height: 1.08; padding: 9px 0; border-bottom: 1px solid var(--line-dark); justify-content: space-between; }
  .mmenu nav a small { order: 2; font-size: .62rem; }
  .mmenu nav a:nth-child(9) span { transition-delay: .4s; }
  .mmenu .mfoot { font-size: .85rem; gap: 10px 20px; }

  /* ---------- Barre d'onglets façon application ---------- */
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: var(--tb); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: color-mix(in srgb, var(--dark) 93%, transparent);
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--on-dark-soft);
    transform: translateY(100%);
    transition: transform .8s var(--ease);
  }
  body.tb-in .tabbar { transform: none; }
  body.menu-open .tabbar { transform: translateY(100%); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: inherit; transition: color .35s, transform .25s var(--ease); }
  .tabbar .i { width: 22px; height: 22px; stroke-width: 1.4; transition: transform .5s var(--ease); }
  .tabbar .on { color: var(--on-dark); }
  .tabbar .on .i { color: var(--gold); transform: translateY(-1px); }
  .tabbar .cnt { position: absolute; top: 9px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: #1d1208; font-size: .58rem; font-weight: 800; letter-spacing: 0; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
  .tabbar .cnt.on { transform: scale(1); }
  .tabbar .cnt.bump { animation: bump .5s var(--ease); }
  /* Safari iOS récent : la page s'affiche sous ses barres (adresse en bas, heure en haut) mais
     les éléments fixes s'arrêtent au bord de la zone utile → on prolonge leur fond jusqu'au bord de l'écran */
  .tabbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 160px; background: inherit; backdrop-filter: inherit; -webkit-backdrop-filter: inherit; pointer-events: none; }
  .m-buy::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 160px; background: var(--surface); pointer-events: none; }
  .demobar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: #121212; pointer-events: none; }
  .header.hide { transform: translateY(calc(-100% - var(--demo-h) - 180px)); }
  body.demo-min .header.solid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: color-mix(in srgb, var(--bg) 92%, transparent); pointer-events: none; }
  .tabbar__ind { position: absolute; top: 0; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }

  /* ---------- Héros d'accueil ---------- */
  .hero { height: calc(100svh - var(--demo-h) - var(--tb)); min-height: 560px; max-height: 860px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(22, 8, 7, .55) 0%, rgba(22, 8, 7, 0) 22%, rgba(22, 8, 7, .05) 42%, rgba(22, 8, 7, .62) 68%, rgba(22, 8, 7, .9) 100%) !important;
  }
  .hero__in { padding-bottom: 30px; }
  .hero .eyebrow { font-size: .58rem; letter-spacing: .2em; line-height: 1.6; }
  .hero h1 { font-size: calc(clamp(3.4rem, 17vw, 4.6rem) * var(--title-scale, 1)); margin-top: 14px; }
  .hero h1 .pre { font-size: .34em; }
  .hero .hand { font-size: 1.08rem; margin-top: 12px; line-height: 1.35; }
  .hero__sub { margin-top: 18px; gap: 20px; }
  .hero__sub p { font-size: .98rem; line-height: 1.5; max-width: 32ch; }
  .hero__sub .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; flex-direction: row; }
  .hero__sub .acts .btn { width: 100%; padding: 0 10px; font-size: .64rem; letter-spacing: .1em; min-height: 50px; }
  .hero__sub .acts .btn .i { display: none; }
  .hero .stamp { display: none; }

  /* « Aujourd'hui sur la colline » : bandeau sous l'accueil */
  .live.m-strip { display: grid !important; position: relative; inset: auto; width: auto; margin: 0; padding: 18px var(--gut) 20px; border: 0; border-radius: 0; background: var(--dark); color: var(--on-dark); backdrop-filter: none; -webkit-backdrop-filter: none; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; opacity: 1; transform: none; }
  .live.m-strip small { grid-column: 1 / -1; color: var(--gold); opacity: 1; font-size: .56rem; }
  .live.m-strip .row { margin: 4px 0 0; gap: 10px; }
  .live.m-strip .t { font-size: 2.3rem; }
  .live.m-strip .wx { width: 32px; height: 32px; }
  .live.m-strip .desc { display: none; }
  .live.m-strip .task { margin: 4px 0 0; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid var(--line-dark); font-size: .84rem; line-height: 1.4; color: var(--on-dark-soft); }
  .live.m-strip .task b { color: var(--on-dark); font-size: .54rem; margin-bottom: 3px; }
  .live.m-strip .news { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
  .live.m-strip .news img { width: 40px; height: 40px; }
  .live.m-strip .news b { font-size: .84rem; font-weight: 600; }

  /* ---------- Bandeaux de haut de page ---------- */
  .phero { min-height: 70svh; }
  .phero.short { min-height: 60svh; }
  .phero::after, .article-hero::after {
    background: linear-gradient(180deg, rgba(22, 8, 7, .55) 0%, rgba(22, 8, 7, .08) 26%, rgba(22, 8, 7, .3) 48%, rgba(22, 8, 7, .82) 76%, rgba(22, 8, 7, .94) 100%) !important;
  }
  .phero .wrap { padding-top: calc(var(--header-h) + 40px); padding-bottom: 34px; }
  .phero .crumbs { display: none; }
  .phero .eyebrow { font-size: .6rem; }
  .phero h1 { font-size: clamp(2.8rem, 13vw, 3.5rem); margin-top: 12px; }
  .phero .hand { font-size: 1.05rem; margin-top: 10px; line-height: 1.4; }
  .phero p { font-size: .98rem; line-height: 1.55; margin-top: 14px; }
  .phero .btn { margin-top: 18px; }
  .article-hero { height: 76svh; min-height: 520px; }
  .article-hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .article-hero .am { font-size: .66rem; gap: 12px; }

  /* ---------- Rails : cartes à faire glisser ---------- */
  .m-rail {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 8px; scroll-padding: 0 var(--gut);
    grid-template-columns: none !important;
  }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > * { flex: 0 0 82%; scroll-snap-align: center; margin: 0 !important; transition: transform .6s var(--ease), opacity .6s var(--ease); }
  .m-rail > *:not(.is-c) { transform: scale(.955); opacity: .7; }
  .m-nudge > * { animation: nudge 1.3s var(--ease) both; }
  @keyframes nudge { 0%, 100% { translate: 0 0; } 38% { translate: -34px 0; } 70% { translate: 4px 0; } }
  .m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .5s var(--ease), background .4s; }
  .m-dots i.on { width: 22px; background: var(--accent); }
  .s-dark .m-dots i { background: var(--line-dark); }
  .s-dark .m-dots i.on { background: var(--gold); }

  /* Ouverture douce des photos */
  .m-zoom { overflow: hidden; }
  .js .m-zoom img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
  .js .m-zoom.is-in img { transform: none; }

  /* ---------- Lettre de la vigneronne ---------- */
  .letter { gap: 34px; }
  .letter__photo { margin: 0 calc(var(--gut) * -1); }
  .letter__photo .ph { aspect-ratio: 5 / 4; border-radius: 0; box-shadow: none; }
  .letter__photo figcaption { padding: 10px var(--gut) 0; border-top: 0; font-size: .86rem; }
  .letter__txt h2 { margin-top: 14px !important; }
  .letter__txt .big { font-size: 1.32rem; line-height: 1.4; margin: 18px 0; }
  .letter__txt .big::first-letter { font-size: 3em; }
  .letter__sign { gap: 16px; margin-top: 20px; }
  .letter__sign .sig { font-size: 2.4rem; }
  .letter__sign small { font-size: .62rem; }

  /* Chiffres clés : grille serrée */
  .stats { grid-template-columns: repeat(6, 1fr); margin-top: 54px; border-top: 1px solid var(--line); }
  .stat, .stat + .stat { padding: 20px 10px 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); grid-column: span 3; }
  .stat:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; }
  .stat:nth-child(n+3) { grid-column: span 2; padding: 18px 8px 16px 0 !important; border-left: 0 !important; }
  .stat:nth-child(n+4) { padding-left: 12px !important; border-left: 1px solid var(--line) !important; }
  .stat b { font-size: 2.5rem; }
  .stat:nth-child(n+3) b { font-size: 2.1rem; }
  .stat > span { font-size: .7rem; margin-top: 6px; line-height: 1.35; letter-spacing: .04em; }

  /* Bandeau défilant */
  .marquee { padding: 15px 0; }
  .marquee__t { font-size: 1.5rem; gap: 30px; padding-right: 30px; animation-duration: 38s; }
  .marquee__t span { gap: 30px; }

  /* ---------- Gamme (accueil) & cartes de vin ---------- */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); }
  .chips::-webkit-scrollbar { display: none; }
  .chips .chip { flex: none; }
  .rail { gap: 14px; padding: 8px var(--gut) 18px; scroll-padding: 0 var(--gut); }
  .rail > *, .rail.m-rail > * { flex: 0 0 62%; scroll-snap-align: center; }
  .rail-ctl { gap: 14px; }
  .rail-ctl .rbtn { display: none; }
  .rail-ctl .link { margin-left: 0 !important; }
  .rail-prog { margin-right: 4px; }

  .wcard__media { display: grid; aspect-ratio: 3 / 4; }
  .wcard__media .bottle { top: 13%; height: 74%; }
  .wcard__media .badges { left: 8px; top: 8px; gap: 4px; }
  .wcard__media .badge { font-size: .5rem; padding: 3px 7px; letter-spacing: .12em; }
  .wcard__media .quick { position: absolute; left: auto; right: 8px; bottom: 8px; width: 42px; padding: 0; transform: none !important; }
  .wcard__media .quick .btn { width: 42px; min-height: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 0; letter-spacing: 0; gap: 0; box-shadow: 0 8px 18px -8px rgba(40, 10, 14, .7); }
  .wcard__media .quick .btn .i { width: 18px; height: 18px; }
  .wcard__body { padding: 12px 2px 0; flex-direction: column; gap: 4px; }
  .wcard__body h3 { font-size: 1.04rem; line-height: 1.2; }
  .wcard__body .cu { font-size: .9rem; margin-top: 2px; }
  .wcard__body .meta { margin-top: 6px; font-size: .68rem; gap: 6px; }
  .wcard__body .pr { font-size: 1.22rem; display: flex; align-items: baseline; gap: 6px; }
  .wcard__body .pr small { display: inline; text-align: left; font-size: .56rem; }
  .wcard:hover .bottle { transform: none; }

  /* ---------- Terroirs (accueil) ---------- */
  .terroir-teaser { gap: 30px; }
  .tt-list { margin: 22px 0 26px; }
  .tt-list li { padding: 12px 0; font-size: .9rem; }
  .tt-list li b { font-size: 1.3rem; }
  .terroir-teaser .btn { width: 100%; }
  .minimap { aspect-ratio: 4 / 5; margin: 0 calc(var(--gut) * -1); border-radius: 0; border-inline: 0; }

  /* ---------- Savoir-faire (accueil) : étapes à faire glisser ---------- */
  .hscroll { padding: var(--sec) 0 calc(var(--sec) * .8); }
  .m-hs-intro { margin-bottom: 28px; }
  .m-hs-intro .hpanel.intro { display: block; }
  .m-hs-intro .hpanel.intro .lead { margin: 16px 0 18px; }
  .hscroll__sticky { position: relative; height: auto; padding: 0 var(--gut); display: block; overflow: visible; }
  .hscroll__track { padding: 6px var(--gut) 8px; transform: none !important; }
  .hpanel { flex-basis: 78% !important; }
  .hpanel figure { height: auto; aspect-ratio: 4 / 5; }
  .hpanel figure img { transform: none; }
  .hpanel .n { display: block; margin-top: 14px; font-size: .9rem; }
  .hpanel h3 { margin: 6px 0 6px; font-size: 1.35rem; }
  .hpanel p { font-size: .9rem; line-height: 1.55; margin: 0; }

  /* ---------- Vendanges : reportage à faire glisser ---------- */
  .polas { padding: 6px var(--gut) 8px; }
  .polas.m-rail > * { flex-basis: 70%; }
  .pola img { aspect-ratio: 4 / 5; }
  .pola figcaption { font-size: .92rem; }

  /* ---------- Expériences & journal ---------- */
  .xcard figure { aspect-ratio: 16 / 11; }
  .xcard .xb { padding: 18px 18px 18px; }
  .xcard h3 { font-size: 1.34rem; }
  .xcard p { font-size: .9rem; line-height: 1.55; margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .xcard .xf { padding-top: 14px; }
  .xcard .price { font-size: 1.5rem; }
  .xcard:hover { transform: none; box-shadow: none; }
  .jcard figure { margin-bottom: 14px; }
  .jcard h3 { font-size: 1.3rem; margin: 10px 0 6px; }
  .jcard p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
  .sec-head > .btn, .sec-head > .link { align-self: flex-start; }

  /* ---------- Accords mets & vins ---------- */
  .acc-head { gap: 22px; margin-bottom: 24px; }
  .acc-head .lead { margin-top: 16px; }
  .acc-ask { min-width: 0; width: 100%; }
  .acc-ask > span { font-size: 1.05rem; }
  .acc-ask select { height: 54px; font-size: 1rem; }
  .acc__nav { display: none !important; }
  .acc { display: block; }
  .acc__stage { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 8px var(--gut) 10px; scroll-padding: 0 var(--gut); overscroll-behavior-x: contain; }
  .acc__stage::-webkit-scrollbar { display: none; }
  .acard { grid-area: auto; flex: 0 0 86%; scroll-snap-align: center; display: flex; flex-direction: column; opacity: .6; visibility: visible; transform: scale(.955); transition: transform .6s var(--ease), opacity .6s var(--ease); box-shadow: 0 24px 40px -30px rgba(42, 13, 19, .5); }
  .acard.on { opacity: 1; transform: none; }
  .acard__ph { min-height: 0; aspect-ratio: 16 / 11; }
  .acard__ph picture { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .acard__ph picture::after { background: linear-gradient(180deg, transparent 55%, rgba(22, 8, 7, .35)); }
  .acard__ph img { transform: none; }
  .acard__btl { right: 14px; left: auto; bottom: -46px; height: 170px; width: 50px; opacity: 1; transform: none; }
  .acard__txt { padding: 20px 20px 22px; }
  .acard__txt > * { opacity: 1; transform: none; }
  .acard__mo, .acard h3, .acard__meta { padding-right: 58px; }
  .acard h3 { font-size: 1.5rem; margin-top: 8px; }
  .acard__meta { font-size: .74rem; margin-top: 8px; }
  .acard__plats { margin-top: 16px; }
  .acard__plats li { padding: 10px 6px 10px 28px; }
  .acard__plats li::before { top: 10px; font-size: .9rem; }
  .acard__plats b { font-size: 1.04rem; }
  .acard__plats span { display: none; }
  .acard__plats li.hi span { display: block; font-size: .84rem; line-height: 1.45; }
  .acard__why { font-size: .95rem; margin-top: 16px; padding-left: 12px; }
  .acard__svc { font-size: .74rem; gap: 6px 16px; margin-top: 14px; }
  .acard__acts { padding-top: 18px; gap: 14px; flex-direction: column; align-items: stretch; }
  .acard__acts .btn { width: 100%; }
  .acard__acts .link { align-self: center; }
  .acc__ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
  .acc__count { font-family: var(--f-display); font-size: 1rem; color: var(--ink-soft); }
  .acc__count b { font-weight: var(--d-weight); font-size: 1.5rem; color: var(--ink); }
  .acc__dots { display: flex; gap: 6px; }
  .acc__dots button { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .5s var(--ease), background .4s; padding: 0; }
  .acc__dots button.on { width: 24px; background: var(--accent); }

  /* ---------- Citation ---------- */
  .quote { min-height: 64svh; }
  .quote blockquote { font-size: 1.62rem; line-height: 1.26; }
  .quote cite { margin-top: 20px; }

  /* ---------- Lettre & Instagram ---------- */
  .news { gap: 22px; }
  .news h2 { margin-top: 14px !important; }
  .news form { margin-top: 18px; gap: 10px; }
  .news form .btn { width: 100%; }
  .insta { gap: 3px; margin: 44px calc(var(--gut) * -1) 0; }
  .insta a:nth-child(n+7) { display: none; }

  /* ---------- Pied de page ---------- */
  .footer { padding-top: 64px; }
  .footer .big { font-size: clamp(2.8rem, 14vw, 3.6rem); line-height: .95; margin-bottom: 34px; }
  .fgrid { gap: 0; }
  .fgrid > div:first-child { padding-bottom: 26px; }
  .footer .socials a { width: 44px; height: 44px; }
  .m-acc { border-top: 1px solid var(--line-dark); }
  .m-acc:last-child { border-bottom: 1px solid var(--line-dark); }
  .m-acc__t { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-family: var(--f-display); font-size: 1.3rem; color: var(--on-dark); text-align: left; }
  .m-acc__t .i { width: 18px; height: 18px; color: var(--gold); transition: transform .5s var(--ease); }
  .m-acc.open .m-acc__t .i { transform: rotate(45deg); }
  .m-acc__w { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  .m-acc.open .m-acc__w { grid-template-rows: 1fr; }
  .m-acc__b { overflow: hidden; }
  .m-acc__b > :first-child { margin-top: 0; }
  .m-acc__b > :last-child { margin-bottom: 20px; }
  .fbot { flex-direction: column; gap: 10px; font-size: .74rem; margin-top: 30px; padding-top: 22px; }
  .fgrid + .fbot { margin-top: 30px; }
  .fabweb { font-size: .74rem; gap: 6px 14px; }

  /* =========================================================================
     Pages intérieures
     ========================================================================= */
  /* Nos vins : filtres en une bande à faire glisser */
  .filters { top: calc(var(--demo-h) + var(--header-h)); padding: 10px 0 12px; }
  body.hd-hidden .filters { top: 0; }
  .filters .wrap { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  .filters .grp { min-width: 0; }
  .filters .grp { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .filters .grp::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; height: 34px; padding: 0 14px; font-size: .78rem; }
  .filters .right { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center; margin: 0; width: 100%; }
  .filters .right #wcount { font-size: .74rem; white-space: nowrap; }
  .filters #wsearch { width: 100% !important; height: 36px !important; }
  .filters select { height: 36px; font-size: .78rem; min-width: 0; }
  .wgrid { grid-template-columns: 1fr 1fr !important; gap: 26px 12px; }

  /* Fiche vin : barre d'achat qui remplace les onglets */
  .m-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 885; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; height: var(--tb); padding: 0 12px env(safe-area-inset-bottom, 0px) 14px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -16px 40px -24px rgba(42, 13, 19, .45); transform: translateY(105%); transition: transform .6s var(--ease); }
  body.buy-on .m-buy { transform: none; }
  body.buy-on .tabbar { transform: translateY(100%); }
  .m-buy__th { width: 22px; height: 52px; display: block; }
  .m-buy__th .bottle { height: 100%; width: auto; margin: 0 auto; }
  .m-buy__t { min-width: 0; line-height: 1.2; }
  .m-buy__t b { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-buy__t small { display: block; font-size: .7rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-buy__p { font-family: var(--f-display); font-size: 1.25rem; }
  .m-buy .btn { min-height: 42px; padding: 0 16px; }
  .wine-hero { gap: 20px; }
  .wine-stage { height: 46svh; min-height: 320px; }
  .buy { flex-wrap: wrap; gap: 12px; }
  .buy #wadd { flex: 1 1 100%; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
  .degust { gap: 10px; }
  .kv { gap: 0; }

  /* Visites, boutique, domaine */
  #xpGrid.m-rail > *, #packs.m-rail > * { flex-basis: 84%; }
  .team.m-rail > * { flex-basis: 72%; }
  #wineRel.m-rail > * { flex-basis: 56%; }
  .infos { grid-template-columns: 1fr 1fr !important; gap: 1px; }
  .infos .i { width: 22px; height: 22px; margin-bottom: 10px; }
  .infos > * { padding: 18px 14px !important; }
  .infos h4, .infos h3 { font-size: 1.05rem; }
  .infos p { font-size: .8rem; line-height: 1.45; margin: 4px 0 0; }
  .gallery { columns: 2; column-gap: 6px; margin: 0 calc(var(--gut) * -1); padding: 0 6px; }
  .gallery a { margin-bottom: 6px; }
  .tl-item { padding-left: 34px; gap: 16px; }
  .split { gap: 30px; }
  .booking { gap: 24px; }

  /* Terroirs : carte plein écran */
  .mapapp__map { height: 70svh; min-height: 420px; }
  .plist { font-size: .92rem; }

  /* Fenêtres : modale et panier en feuille qui monte du bas */
  .drawer { width: 100%; max-width: none; top: auto; height: min(88svh, 760px); border-radius: 18px 18px 0 0; transform: translateY(105%); box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .45); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .drawer::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
  .drawer__head { padding: 22px 20px 16px; }
  .drawer__head h3 { font-size: 1.5rem; }
  .welcome__card { max-height: calc(100svh - 24px); }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .m-rail > *, .acard { transition: none; }
  .js .m-zoom img { transform: none; transition: none; }
}
