/* Big Pasta (23/11/2026), maquette prospect Snap : copie autonome du moteur resto.
   L'idée : la box octogonale à liseré doré de Big Pasta devient la forme de l'app.
   Noir, or #F2C500 et blanc du logo ; titres en capitales larges et espacées comme « BIG PASTA ».
   Le rideau à la marque, le parmesan qui tombe, le tampon BIG dans la fiche, la box qui vole au panier : big-pasta.js. */
:root { --or: #F2C500; --or-fil: rgba(242, 197, 0, .55); --cut: 16px; }
.oct { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.bp-lisere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.bp-lisere polygon { fill: none; stroke: var(--or-fil); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* titres : larges et espacés, comme le nom sur le logo */
.style-street h1, .style-street h2, .style-street h3 { letter-spacing: .06em; font-weight: 900; }
.style-street .hero h1 { font-size: 44px; line-height: .98; letter-spacing: .03em; }
.hero h1 .or { color: var(--or); display: block; }

/* l'accueil : une box, coins coupés, liseré doré */
.style-street .hero { border-radius: 0; --cut: 26px; aspect-ratio: 4 / 4.6; }
.hero__img { transform-origin: 60% 30%; will-change: transform; }
.style-street .hero__kicker { transform: none; border-radius: 0; background: transparent; color: var(--or); padding: 0 0 0 26px; font-size: 12px; letter-spacing: .32em; position: relative; }
.style-street .hero__kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: var(--or); }
.bp-parmesan { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__shade, .hero__text { z-index: 2; }

/* les petites infos : fines, liseré doré */
.fact { border-radius: 0 !important; border-color: rgba(242, 197, 0, .28) !important; }
.fact svg { color: var(--or); }

/* titres de section : un trait d'or devant, comme le slogan du logo */
.section-title h2, .style-street .group__title { font-size: 24px; letter-spacing: .14em; color: #fff; display: flex; align-items: center; gap: 12px; }
.section-title h2::before, .style-street .group__title::before { content: ''; width: 22px; height: 2px; background: var(--or); flex: none; }

/* cartes et photos : la box */
.reco { border: 0 !important; border-radius: 0 !important; background: #0d0c0a; position: relative; --cut: 14px; }
.reco__name { letter-spacing: .05em; }
.dish__media { --cut: 12px; }
.dish__img { border-radius: 0 !important; }
.dish { border-bottom-color: rgba(242, 197, 0, .14) !important; }
.style-street .pill { border-radius: 0; transform: none; letter-spacing: .08em; }
.add { border-radius: 0 !important; --cut: 9px; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); box-shadow: none !important; }
.cat { border-radius: 0 !important; }
.cat.is-active { box-shadow: inset 0 -2px 0 var(--or); }

/* la barre du bas : la bulle du panier devient une box dorée */
.nav__bubble { border-radius: 0; --cut: 16px; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); box-shadow: none; }
.nav__item--cart { filter: drop-shadow(0 0 0 #000) drop-shadow(0 6px 14px rgba(242, 197, 0, .35)); }
.nav__bubble.bp-recoit { animation: bp-recoit .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bp-recoit { 40% { transform: scale(1.18) rotate(-6deg); } }

/* boutons, champs, panier : coins coupés aussi */
.btn, .cartbar__btn, .modes, .line, .summary, .form input, .form textarea, .card { border-radius: 0 !important; }
.modes button { border-radius: 0 !important; }

/* la fiche : le tampon BIG */
.sheet { border-radius: 0 !important; }
.sheet__media { border-radius: 0 !important; }
.sheet__media img { transition: transform .55s cubic-bezier(.25, 1.4, .45, 1); transform-origin: 50% 70%; }
.sheet.is-big .sheet__media img { transform: scale(1.16); }
.bp-tampon { position: absolute; right: 18px; bottom: 18px; z-index: 4; width: 86px; height: 86px; display: grid; place-items: center; background: var(--or); color: #000;
  font: 900 26px/1 var(--font-title); letter-spacing: .06em; --cut: 22px; transform: scale(2.4) rotate(-24deg); opacity: 0; pointer-events: none;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.bp-tampon small { display: block; font-size: 9px; letter-spacing: .2em; margin-top: 3px; text-align: center; }
.sheet.is-big .bp-tampon { animation: bp-tampon .5s cubic-bezier(.2, 1.2, .4, 1) forwards; }
@keyframes bp-tampon { 0% { opacity: 0; transform: scale(2.4) rotate(-24deg); } 60% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-10deg); } }
.sheet.is-big .sheet__media { animation: bp-secousse .35s .25s; }
@keyframes bp-secousse { 30% { transform: translate(-3px, 2px); } 60% { transform: translate(3px, -1px); } }

/* la box qui vole jusqu'au panier */
.bp-vol { position: fixed; z-index: 9999; pointer-events: none; object-fit: cover; --cut: 10px; }

/* le rideau à la marque, posé dans la page dès le départ */
#bp-rideau { position: fixed; inset: 0; z-index: 10000; background: #000; display: grid; place-items: center; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
#bp-rideau.leve { transform: translateY(-100%); }
#bp-rideau svg { width: 210px; height: auto; overflow: visible; }
#bp-rideau .fil { fill: none; stroke: #F2C500; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: bp-fil 1.1s .1s cubic-bezier(.6, 0, .3, 1) forwards; }
#bp-rideau img { width: 190px; opacity: 0; animation: bp-logo .5s .9s forwards; display: block; margin: 0 auto; }
@keyframes bp-fil { to { stroke-dashoffset: 0; } }
@keyframes bp-logo { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  #bp-rideau .fil { animation: none; stroke-dashoffset: 0; } #bp-rideau img { animation: none; opacity: 1; }
  .sheet.is-big .bp-tampon { animation: none; opacity: 1; transform: rotate(-10deg); } .sheet.is-big .sheet__media { animation: none; }
  .sheet__media img, #bp-rideau { transition: none; } .nav__bubble.bp-recoit { animation: none; }
}

/* retouches après la première planche : lisibilité du haut, titres sur une ligne, plus aucun coin rond */
.style-street .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, .55) 48%, rgba(0, 0, 0, .94) 100%); }
.style-street .hero__kicker { text-shadow: 0 1px 10px rgba(0, 0, 0, .9); }
.section-title h2, .style-street .group__title { font-size: 21px; letter-spacing: .08em; }
.opt, .opt__rule, .qty, .choice__mark.is-check, .sheet__foot .btn, .cartbar, .toast { border-radius: 0 !important; }
