/* =====================================================================
   Jeune Pro — Interface v2 (mêmes couleurs, plus vivante)
   Chargée APRÈS app.css : elle modernise l'existant sans rien casser.
   Animations en CSS pur, coupées si l'utilisateur a désactivé les animations.
   ===================================================================== */

/* ---------------- Animations ---------------- */
@keyframes v2Up    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes v2Pop   { 0% { transform: scale(.9) rotate(-4deg); } 70% { transform: scale(1.03) rotate(1deg); } 100% { transform: none; } }
@keyframes v2Spin  { to { transform: rotate(360deg); } }
@keyframes v2Float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes v2Float2{ 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@keyframes v2Marquee { to { transform: translateX(-50%); } }
@keyframes v2Shine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%,100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes v2Draw  { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
/* Pulsation « en direct » : un halo qui grandit et s'efface (transform + opacity = géré par la carte graphique,
   pas de repeinture de la page à chaque image comme avec box-shadow) */
@keyframes v2Live  { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes v2Bump  { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes v2Wiggle{ 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
@keyframes v2BarIn { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes v2Toast { 0% { opacity: 0; transform: translate(-50%, 20px); } 12%,82% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes v2Card  { from { transform: translateY(14px) scale(.98); } to { transform: none; } }

/* Entrée : glissement seulement (pas de fondu) -> le texte et la photo s'affichent immédiatement */
@keyframes v2Rise { from { transform: translateY(18px); } to { transform: none; } }
.v2-up  { animation: v2Rise .7s cubic-bezier(.2,.8,.2,1) both; }
.v2-d1 { animation-delay: .08s; } .v2-d2 { animation-delay: .18s; } .v2-d3 { animation-delay: .28s; }
.v2-d4 { animation-delay: .38s; } .v2-d5 { animation-delay: .5s; }
.v2-live { position: relative; }
.v2-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; color: var(--succes);
  animation: v2Live 1.6s ease-out infinite; pointer-events: none; }
.v2-suivi .cours .v2-live::after { color: var(--ambre); }
.v2-bump { animation: v2Bump .45s cubic-bezier(.3,1.6,.5,1); }
.v2-wiggle { animation: v2Wiggle .5s ease; }

/* Apparition au défilement (navigateurs récents) — sinon visible directement */
@supports (animation-timeline: view()) {
  .v2-reveal { animation: v2Up linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
}

/* ---------------- Fond : halos de braise ---------------- */
body { position: relative; }
body::before {
  content: ""; position: fixed; top: -260px; right: -260px; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,72,31,.24), rgba(245,166,35,.07) 45%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.section, .v2-hero, .footer, main { position: relative; z-index: 1; }
.nav { position: sticky; top: 0; z-index: 100; }

/* ---------------- Boutons ---------------- */
.btn { position: relative; overflow: hidden; min-height: 46px; font-weight: 700;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--braise-clair), var(--braise)); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: v2Shine 3.6s ease-in-out 1.4s infinite;
}
.btn-ghost { background: rgba(246,239,228,.05); border: 1px solid rgba(246,239,228,.18); }
.btn-ghost:hover { background: rgba(246,239,228,.1); color: var(--texte); border-color: var(--ambre); }
.btn-sm { min-height: 40px; }

/* ---------------- Navigation ---------------- */
.nav { background: rgba(20,17,15,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(246,239,228,.07); }
.brand-logo { transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.06); }
.brand-nom .pro { color: var(--ambre); }
.nav-links { gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; color: var(--sable); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(246,239,228,.07); }
.nav-links a.actif { color: var(--charbon-900); background: var(--ambre); }
.cart-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(246,239,228,.07); border-color: rgba(246,239,228,.12); }
.cart-btn i { transition: transform .2s; }
.cart-count { top: -3px; right: -3px; min-width: 22px; height: 22px; border-radius: 999px; font-size: .72rem; font-weight: 800; border: 2px solid var(--charbon-900); }
/* Nom de marque : jamais sur deux lignes */
.brand { min-width: 0; flex-shrink: 1; }
.brand-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-actions { flex-shrink: 0; }

@keyframes v2Menu { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  /* Menu mobile : vraiment retiré de la page quand il est fermé
     (évite les liens « fantômes » visibles sur iPhone) */
  .nav-links { display: none; position: fixed; left: 12px; right: 12px; top: calc(78px + env(safe-area-inset-top, 0px));
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: #1d1916; border: 1px solid var(--ligne); border-radius: 20px; -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 24px 50px -18px rgba(0,0,0,.95); max-height: calc(100vh - 100px); overflow-y: auto; z-index: 120; }
  .nav-links.ouvert { display: flex; animation: v2Menu .22s ease both; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; border-radius: 14px; min-height: 48px; padding: 0 16px; font-size: 1rem; }
}
@media (max-width: 560px) {
  .nav-inner { height: 66px; }
  .nav-links { top: calc(72px + env(safe-area-inset-top, 0px)); }
  .brand { gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-nom { font-size: 1.05rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { min-height: 40px; min-width: 40px; padding: 0 12px; }
  .nav-actions .nav-nom { display: none; }            /* compte : icône seule */
  .cart-btn { width: 42px; height: 42px; }
  .nav-toggle { width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.35rem; }
  .v2-filtres-wrap { top: calc(66px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 380px) {
  .nav-actions .btn-sm { padding: 0 10px; min-width: 38px; }
  .nav-actions .nav-deco { display: none; }           /* déconnexion : reste dans le menu */
}

/* ---------------- Hero ---------------- */
.v2-hero { padding: 54px 0 40px; overflow: hidden; }
.v2-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 48px; align-items: center; }
.v2-ouvert { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  font-size: .84rem; font-weight: 600; background: rgba(76,175,125,.12); border: 1px solid rgba(76,175,125,.35); color: #bfe9d1; }
.v2-ouvert .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--succes); }
.v2-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-top: 22px; }
.v2-accent { position: relative; display: inline-block; color: var(--ambre); }
.v2-accent svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .3em; overflow: visible; }
.v2-accent path { stroke-dasharray: 420; animation: v2Draw 1.2s .7s cubic-bezier(.6,0,.2,1) both; }
.v2-lead { font-size: 1.12rem; line-height: 1.6; color: var(--sable); margin-top: 24px; max-width: 520px; }
.v2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v2-stats { display: flex; gap: 36px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(246,239,228,.08); }
.v2-stats .n { font-family: var(--ff-display); font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.v2-stats .n em { font-style: normal; color: var(--ambre); }
.v2-stats .l { font-size: .82rem; color: var(--texte-faible); }

.v2-visuel { position: relative; display: grid; place-items: center; min-height: 500px; }
.v2-anneau { position: absolute; width: min(500px, 94%); height: auto; animation: v2Spin 26s linear infinite; }
.v2-medaillon picture { display: block; width: 100%; height: 100%; }
.v2-medaillon { width: min(420px, 80%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--charbon-700);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 2px rgba(245,166,35,.35); animation: v2Pop .9s cubic-bezier(.2,.8,.2,1) .2s both; }
.v2-medaillon img { width: 100%; height: 100%; object-fit: cover; }
.v2-etiq { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(41,35,31,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(246,239,228,.1); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); animation: v2Float 5s ease-in-out infinite; }
.v2-etiq .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ambre); color: var(--charbon-900); display: grid; place-items: center; font-size: 1.05rem; }
.v2-etiq .k { font-size: .75rem; color: var(--texte-faible); }
.v2-etiq .v { font-weight: 700; font-size: .95rem; }
.v2-etiq.e1 { top: 36px; left: 0; }
.v2-etiq.e2 { bottom: 60px; right: 0; background: var(--creme); color: var(--charbon-900); padding: 10px 16px 10px 10px; animation-name: v2Float2; animation-duration: 6s; }
.v2-etiq.e2 img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.v2-etiq.e2 .k { color: #6b5a48; }
.v2-etiq.e2 .v { font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; }
.v2-etiq.e3 { bottom: 4px; left: 30px; padding: 8px 14px; border-radius: 999px; background: var(--braise); border: 0; font-weight: 700; font-size: .84rem; animation-delay: 1.2s; }

#rappelCommande { margin-top: 0; }

/* ---------------- Bande défilante ---------------- */
.v2-bande-cadre { overflow: hidden; overflow-x: clip; overflow-y: visible; padding: 22px 0 10px; position: relative; z-index: 1; }
.v2-bande { transform: rotate(-1.6deg); margin: 0 -20px; background: var(--ambre); color: var(--charbon-900);
  padding: 15px 0; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(245,166,35,.6); position: relative; z-index: 1; }
.v2-piste { display: flex; width: max-content; white-space: nowrap; animation: v2Marquee 30s linear infinite; }
.v2-piste span { font-family: var(--ff-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; padding-right: .6em; }

/* ---------------- Modes de commande ---------------- */
.v2-modes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.v2-mode { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 22px; background: var(--charbon-800); border: 1px solid var(--ligne);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.v2-mode:hover { transform: translateY(-6px); border-color: rgba(245,166,35,.55); background: var(--charbon-700); }
.v2-mode .ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: rgba(245,166,35,.12); color: var(--ambre);
  display: grid; place-items: center; font-size: 1.35rem; transition: transform .35s cubic-bezier(.3,1.5,.5,1), background .3s, color .3s; }
.v2-mode:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--ambre); color: var(--charbon-900); }
.v2-mode h3 { font-size: 1.2rem; }
.v2-mode p { color: var(--texte-faible); font-size: .9rem; line-height: 1.5; margin-top: 4px; }

/* ---------------- En-têtes de section ---------------- */
.v2-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.v2-sur { color: var(--ambre); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.v2-tete h2, .v2-centre h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; margin-top: 8px; }
.v2-centre { text-align: center; margin-bottom: 34px; }
.v2-centre p { color: var(--texte-faible); margin: 10px auto 0; max-width: 480px; }
.v2-lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--ambre); }
.v2-lien i { transition: transform .25s; }
.v2-lien:hover i { transform: translateX(4px); }
.section-head .eyebrow { color: var(--ambre); }

/* ---------------- Cartes catégories ---------------- */
.cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.cat-card { border-radius: 22px; border: 0; isolation: isolate; }
.cat-card:hover { transform: translateY(-6px); }
.cat-card img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.cat-card:hover img { transform: scale(1.1); }
.cat-card .overlay { background: linear-gradient(180deg, rgba(20,17,15,0) 35%, rgba(20,17,15,.93)); padding: 20px; }
.cat-card .count { top: auto; right: auto; position: static; align-self: flex-start; margin-bottom: 10px;
  background: rgba(20,17,15,.6); color: var(--safran); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cat-card .cc-titre { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-card h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.cat-card .fl { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--ambre); color: var(--charbon-900);
  display: grid; place-items: center; font-size: .85rem; transform: rotate(-45deg); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.cat-card:hover .fl { transform: rotate(0deg) translateX(3px); }
.cat-card .slogan { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; color: #e8dccb; }
.cat-card:hover .slogan, .cat-card:focus-visible .slogan { max-height: 60px; opacity: 1; }
@media (hover: none) { .cat-card .slogan { max-height: 60px; opacity: 1; } }

/* ---------------- Cartes plats ---------------- */
.plat-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.plat-card { border-radius: 22px; animation: v2Card .55s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
/* Cartes hors écran : pas dessinées tant qu'on n'y arrive pas (affichage bien plus rapide sur téléphone) */
.plat-grid .plat-card { content-visibility: auto; contain-intrinsic-size: auto 330px; }
.plat-card:hover { transform: translateY(-7px); border-color: rgba(245,166,35,.45); box-shadow: 0 28px 48px -26px rgba(0,0,0,.9); }
.plat-thumb { aspect-ratio: 4/3; }
.plat-thumb img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.plat-card:hover .plat-thumb img { transform: scale(1.08); }
.plat-thumb .pop { background: var(--ambre); color: var(--charbon-900); font-weight: 800; font-size: .72rem; }
.plat-thumb .dans-panier { position: absolute; top: 10px; right: 10px; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px;
  background: var(--braise); color: #fff; font-size: .82rem; font-weight: 800; display: none; place-items: center; box-shadow: 0 6px 16px -6px rgba(226,72,31,.9); }
.plat-thumb .dans-panier.on { display: grid; animation: v2Bump .45s cubic-bezier(.3,1.6,.5,1); }
.plat-cat { font-size: .7rem; color: var(--ambre); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.plat-body h3 { font-size: 1.08rem; line-height: 1.25; }
.plat-body .desc { color: var(--texte-faible); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plat-foot .prix { font-size: 1.25rem; color: var(--texte); }
.plat-foot .prix small { font-size: .72rem; color: var(--texte-faible); font-weight: 600; }
.v2-ajout { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ambre); color: var(--charbon-900); flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.05rem; cursor: pointer;
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s, box-shadow .25s; box-shadow: 0 10px 22px -12px rgba(245,166,35,.9); }
.v2-ajout:hover { transform: rotate(90deg) scale(1.08); background: var(--safran); }
.v2-ajout:active { transform: scale(.86); }
.plat-card:nth-child(2) { animation-delay: .04s; } .plat-card:nth-child(3) { animation-delay: .08s; } .plat-card:nth-child(4) { animation-delay: .12s; }
.plat-card:nth-child(5) { animation-delay: .16s; } .plat-card:nth-child(6) { animation-delay: .2s; } .plat-card:nth-child(7) { animation-delay: .24s; }
.plat-card:nth-child(8) { animation-delay: .28s; }

/* ---------------- Page menu ---------------- */
.v2-menu-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.v2-menu-tete h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.035em; line-height: 1; margin-top: 6px; }
.menu-recherche { margin: 0; flex: 1 1 300px; max-width: 420px; }
.menu-recherche input { min-height: 52px; padding-left: 48px; }
.menu-recherche i { left: 18px; }
.v2-filtres-wrap { position: sticky; top: calc(74px + env(safe-area-inset-top, 0px)); z-index: 50; margin: 0 calc(50% - 50vw) 18px;
  padding: 12px calc(50vw - 50%) 4px; background: rgba(20,17,15,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246,239,228,.05); }
.filtres { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-bottom: 0; padding: 4px 2px 10px; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtre { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s; }
.filtre:hover { background: var(--charbon-800); color: var(--texte); border-color: var(--ambre); }
.filtre.actif { background: var(--ambre); color: var(--charbon-900); border-color: var(--ambre); box-shadow: 0 10px 24px -12px rgba(245,166,35,.9); }
.filtre:active { transform: scale(.95); }
.filtre .nb { font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: rgba(246,239,228,.08); }
.filtre.actif .nb { background: rgba(20,17,15,.15); }
.vue-toggle { margin-bottom: 16px; }
.jour-titre { font-size: 1.4rem; }

/* ---------------- Fiche plat ---------------- */
.fiche { border-radius: 28px; transform: translate(-50%, -44%) scale(.96); transition: opacity .3s, visibility .3s, transform .4s cubic-bezier(.2,.9,.3,1.1); }
.fiche.ouvert { transform: translate(-50%, -50%) scale(1); }
.fiche-img { position: relative; }
.fiche-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--charbon-800)); pointer-events: none; }
.fiche-close { width: 44px; height: 44px; }
.fiche-prix { color: var(--texte); }
.fiche-overlay { background: rgba(10,8,7,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------------- Panier ---------------- */
.panier { border-left-color: rgba(245,166,35,.25); box-shadow: -30px 0 60px -30px rgba(0,0,0,.9); }
.panier-item { animation: v2Up .35s ease both; }
.qte button { width: 34px; height: 34px; border-radius: 50%; }

/* Barre panier flottante */
.v2-barre { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 150;
  width: min(560px, calc(100% - 28px)); display: none; align-items: center; gap: 14px; padding: 10px 10px 10px 16px; border-radius: 999px;
  background: rgba(41,35,31,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(245,166,35,.35); box-shadow: 0 24px 60px -20px rgba(0,0,0,.95); transform: translateX(-50%); }
.v2-barre.on { display: flex; animation: v2BarIn .5s cubic-bezier(.2,.9,.3,1.2) both; }
.v2-barre .nb { width: 42px; height: 42px; border-radius: 50%; background: var(--ambre); color: var(--charbon-900); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.v2-barre .txt { flex: 1; min-width: 0; }
.v2-barre .k { font-size: .75rem; color: var(--texte-faible); }
.v2-barre .m { font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.v2-barre .btn { min-height: 48px; padding: 0 22px; }
body.v2-a-barre .footer { padding-bottom: 110px; }
body.v2-panier-ouvert .v2-barre { display: none; }

/* Toast d'ajout */
.v2-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 310; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--creme); color: var(--charbon-900); font-weight: 600;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.9); animation: v2Toast 2.2s ease both; max-width: calc(100% - 28px); }
.v2-toast .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--succes); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* Messages flash : même style « pilule » */
.flash { border-radius: 16px; top: calc(90px + env(safe-area-inset-top, 0px)); }

/* ---------------- Paiement & suivi (accueil) ---------------- */
.v2-pay { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 32px; align-items: center;
  border-radius: 30px; padding: 44px; background: linear-gradient(135deg, var(--charbon-700), var(--charbon-800)); border: 1px solid var(--ligne); }
.v2-pay::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,72,31,.35), transparent 70%); pointer-events: none; }
.v2-pay > * { position: relative; }
.v2-pay h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; }
.v2-pay p { color: var(--sable); line-height: 1.6; margin-top: 14px; max-width: 480px; }
.v2-moyens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.v2-moyens span { padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: .9rem; }
.v2-moyens .wave { background: #1dc8ff; color: #06222c; }
.v2-moyens .om { background: #ff7900; color: #1f0d00; }
.v2-moyens .esp { background: rgba(246,239,228,.1); color: var(--texte); border: 1px solid rgba(246,239,228,.18); font-weight: 700; }
.v2-suivi { background: var(--charbon-900); border: 1px solid var(--ligne); border-radius: 22px; padding: 22px; }
.v2-suivi .ent { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.v2-suivi .etat { padding: 6px 12px; border-radius: 999px; background: rgba(245,166,35,.15); color: var(--safran); font-size: .78rem; font-weight: 700; }
.v2-suivi ol { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.v2-suivi li { display: flex; align-items: center; gap: 12px; }
.v2-suivi .pt { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.v2-suivi .fait .pt { background: var(--succes); color: #0c2417; }
.v2-suivi .cours .pt { background: var(--ambre); }
.v2-suivi .cours { font-weight: 700; color: var(--safran); }
.v2-suivi .avenir { color: var(--texte-faible); }
.v2-suivi .avenir .pt { border: 2px dashed var(--ligne); }

/* ---------------- Pied de page ---------------- */
.footer { background: #100d0b; }
.footer h4 { color: var(--ambre); font-size: .95rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .v2-hero-grid, .v2-pay { grid-template-columns: minmax(0,1fr); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v2-visuel { min-height: 420px; }
}
@media (max-width: 620px) {
  .v2-hero { padding-top: 34px; }
  .v2-modes { grid-template-columns: minmax(0,1fr); }
  .v2-cta .btn { width: 100%; }
  .v2-stats { gap: 22px; flex-wrap: wrap; }
  .v2-stats .n { font-size: 1.7rem; }
  .v2-visuel { min-height: 360px; }
  .v2-etiq.e1 { top: 10px; }
  .v2-etiq.e2 { bottom: 34px; }
  .v2-pay { padding: 26px; border-radius: 24px; }
  .v2-piste span { font-size: 1.2rem; }
  .plat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .plat-body { padding: 12px 12px 14px; }
  .plat-body .desc { display: none; }
  .plat-body h3 { font-size: .98rem; }
  .plat-foot .prix { font-size: 1.05rem; }
  .v2-ajout { width: 42px; height: 42px; }
  .plat-grid.vue-liste { grid-template-columns: 1fr; }
  .plat-grid.vue-liste .plat-body .desc { display: -webkit-box; }
  .cat-card .slogan { display: none; }
  .cat-card .overlay { padding: 14px; }
  .cat-card h3 { font-size: 1.05rem; line-height: 1.15; }
  .cat-card .fl { width: 30px; height: 30px; font-size: .75rem; }
  .cat-card .count { margin-bottom: 8px; font-size: .7rem; padding: 3px 9px; }
  .v2-filtres-wrap { margin-bottom: 14px; }
  .v2-barre .btn { padding: 0 16px; }
}
@media (max-width: 380px) {
  .plat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------------- Animations désactivées par l'utilisateur ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Liens « Mon compte / Déconnexion » : seulement dans le menu mobile */
.nav-seul-mobile { display: none; }
@media (max-width: 900px) { .nav-seul-mobile { display: list-item; list-style: none; } }
