.hero-feature{position:relative;margin:0;min-height:470px;background:#dbeefa;overflow:hidden}
.hero-feature img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.hero-feature figcaption{position:absolute;right:18px;bottom:18px;background:#fff;color:#173b63;padding:8px 12px;border-radius:10px;font-size:.65rem;font-weight:700;letter-spacing:.08em}
.bag-trigger{display:inline-flex;align-items:center;gap:7px;cursor:pointer;border:0;border-radius:999px;background:#173b63;color:white;padding:10px 15px;font-weight:700;min-height:44px}
.bag-trigger svg{height:21px;width:21px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.bag-trigger #count{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#fff;color:#173b63;margin:0}
.card button,.recipe-ingredient button{background:#173b63;color:#fff;border:1px solid #173b63;border-radius:14px;min-height:44px}
.recipe-ingredient button{background:#fff;color:#173b63}.button{border-radius:15px}
.recipe-edit{background:transparent;border:0;color:white;text-decoration:underline;min-height:44px;cursor:pointer}
#bag{position:fixed;inset:0 0 0 auto;margin:0;padding:0;width:min(100%,520px);height:100%;max-height:100%;max-width:100%;border:0;background:#f3f8fc;color:#173b63;box-shadow:-10px 0 35px #102d4a44}
#bag::backdrop{background:#10253f99}.bag-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;background:#fff;border-bottom:1px solid #d2e3f0}.bag-top h2{font-size:2rem}.bag-top button{min-height:44px;border:1px solid #173b63;background:#fff;color:#173b63;border-radius:12px;padding:8px 16px}
#bag .list-section{padding:20px 0;background:transparent}#bag .list-layout{display:block;padding:0 20px}#bag .list-layout>div:first-child{margin-bottom:20px}#bag .list-layout h2{font-size:1.8rem}#bag .list-box{padding:20px;border-radius:18px}#bag .list-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto auto;gap:8px;align-items:center}#bag .list-row .remove{grid-column:2/-1;justify-self:start}#bag .list-row strong{min-width:0}#bag .bag-thumb{width:56px;height:56px;object-fit:cover;border-radius:10px;background:#e1eff9}#bag .list-row button{border-radius:10px;min-width:44px;min-height:44px}#bag .list-row button:focus-visible,.bag-trigger:focus-visible,.bag-top button:focus-visible{outline:3px solid #c6713e;outline-offset:3px}
@media(max-width:800px){.hero-feature{min-height:290px;order:1}.hero-v2 .hero-copy{order:2}.hero-feature img{object-position:center}.bag-top h2{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){#bag *{scroll-behavior:auto;animation:none!important;transition:none!important}}

/* Alinhamento por linhas compartilhadas, sem limitar textos. */
.suggestion-grid,.product-grid{row-gap:10px;align-items:stretch}
.card{display:flex;flex-direction:column;height:100%;min-width:0}
.card h3{line-height:1.2}
.card button{margin-top:auto}
@supports(grid-template-rows:subgrid){
 .suggestion-grid .card,.product-grid .card{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
 .card h3{margin:14px 0 5px}
 .card p{margin:0 0 14px}
 .card button{align-self:end;margin:0 0 24px}
}
@media(max-width:800px){
 .catalog{padding-top:64px;padding-bottom:68px}
 .catalog .section-top{margin-bottom:28px}
 .tools{grid-template-columns:1fr;gap:20px;padding-top:20px}
 .tools input{border-radius:12px;min-height:48px}
 .filters{gap:8px;margin-top:10px}
 .filters button{min-height:44px;padding:8px 14px}
 .recipe-photo{background:#dcecf8;display:flex;align-items:center;justify-content:center;min-height:220px}
 .recipe-photo img{object-fit:contain;max-height:260px;width:100%}
 .recipe-copy{padding:34px 6% 42px}
 .recipe-copy>p:not(.overline){margin:18px 0}
 .recipe-list{display:grid;gap:8px;padding:0;margin:20px 0}
 .recipe-list .recipe-ingredient{min-width:0;gap:10px}
 .recipe-ingredient span{min-width:0}
 .recipe-ingredient button{min-height:44px;white-space:normal}
 #add-recipe-all{width:100%;min-height:50px;white-space:normal}
}
@media(min-width:801px){body{padding-left:155px}header{position:fixed;inset:0 auto 0 0;width:155px;height:100vh;z-index:30;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:22px 12px;gap:30px}header nav{flex-direction:column;align-items:stretch;gap:15px}header .brand{font-size:1.4rem}}
@media(max-width:800px){body{padding-bottom:82px}header .bag-trigger{position:fixed;z-index:40;bottom:0;left:0;width:100%;min-height:64px;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px)}header nav{gap:12px;flex-wrap:wrap}header{height:auto;min-height:84px}}
.recipe-index{padding-top:55px;padding-bottom:35px}.recipe-index article{margin-top:18px;padding:20px;background:#eaf4ff;border-radius:14px}.recipe-index a{display:inline-block;padding:10px 0}
@media(prefers-reduced-motion:no-preference){.hero-feature img{animation:heroZoom 1s ease-out both}@keyframes heroZoom{from{transform:scale(1.035);opacity:1}to{transform:scale(1);opacity:1}}dialog[open]{animation:bagEnter .2s ease-out}@keyframes bagEnter{from{transform:translateX(12px)}to{transform:translateX(0)}}}
.card-actions{display:flex;align-items:center;gap:8px;margin:0 0 24px;min-height:48px}.card-actions button{width:auto;flex:1;margin:0!important;min-width:44px}.card-actions span{min-width:28px;text-align:center;font-weight:700}.card-actions [data-card-add]{width:100%}.recipe-index img{object-fit:cover;border-radius:12px;max-height:140px}.recipe-index article{max-width:350px}.recipe-index a{font-weight:700}.recipe-index> a{margin-top:10px}
@media(max-width:800px){header nav .bag-trigger{bottom:0;left:0;width:100%;min-height:64px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box}body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.list-link.bag-trigger span{margin-left:8px}header nav{gap:8px}header nav a{font-size:.78rem}}
[hidden]{display:none!important}
@media(min-width:801px){.page-scroll{display:contents}body>.bag-trigger{position:fixed;left:12px;bottom:24px;width:130px;z-index:40}}
@media(max-width:800px){html,body{height:100%;overflow:hidden}body{display:grid;grid-template-rows:minmax(0,1fr) auto;height:100dvh;padding:0}.page-scroll{overflow-y:auto;overscroll-behavior-y:contain;min-height:0;scroll-behavior:auto;scroll-padding-top:16px}body>.bag-trigger{position:static;width:100%;height:auto;min-height:64px;border-radius:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));z-index:40}.page-scroll header{position:static}body:has(dialog[open]) .page-scroll{overflow:hidden}}
#recipes-area{border:0;border-radius:16px;max-width:760px;width:min(92vw,760px);max-height:85dvh;padding:20px;background:#fffdf8;color:#10243a;overflow:auto}#recipes-area::backdrop{background:#10243a99}.recipes-area-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.recipes-area-head h2{font-size:2rem}.recipes-area-head button,#all-recipes{padding:12px;border-radius:12px;border:1px solid #173b63;background:#fff;color:#173b63;min-height:44px}.recipes-area-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:20px}.recipes-area-list article{background:#eaf4ff;padding:14px;border-radius:12px}.recipes-area-list img{object-fit:cover;max-width:100%;height:110px;border-radius:8px}.recipes-area-list a{display:inline-block;padding:10px 0;font-weight:700}
.palco{height:230vh;position:relative}.janela{position:sticky;top:0;height:100vh;overflow:hidden;background:#eaf4ff}.janela img{width:100%;height:100%;object-fit:contain;display:block}.janela .legenda{position:absolute;bottom:clamp(20px,5vw,55px);left:clamp(20px,5vw,55px);margin:0;padding:10px 14px;background:#fffdf8;color:#10243a;font-weight:700;border-radius:8px;max-width:calc(100% - 40px)}
@media(max-width:800px){.janela{height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))}.palco{height:230vh}}
@media(prefers-reduced-motion:reduce){.palco{height:auto}.janela{position:relative;height:auto;min-height:240px}.janela img{height:auto;max-height:80vh;object-fit:contain}}
@media(max-width:800px){html.lenis{height:100%}html.lenis body{height:100dvh}}
/* Microinterações restritas ao botão do hero e ao componente de contato futuro. */
.micro-main .micro-window{display:block;overflow:hidden;height:1.5em;line-height:1.5;white-space:nowrap}
.micro-main .micro-window>span{display:block;transition:transform .5s cubic-bezier(.7,0,.2,1)}
.micro-main .micro-window>span::after{content:attr(data-text);display:block}
.micro-main:is(:hover,:focus-visible) .micro-window>span{transform:translateY(-50%)}
.micro-outline{position:relative;overflow:hidden;isolation:isolate}
.micro-outline::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--micro-outline-color,#173b63);transform:translateY(101%);transition:transform .45s}
.micro-outline:is(:hover,:focus-visible)::before{transform:translateY(0)}
.micro-outline:is(:hover,:focus-visible){color:var(--micro-outline-hover,#fffdf8)}
.micro-arrow{display:inline-block;position:relative;overflow:hidden;width:18px;height:18px;vertical-align:middle}
.micro-arrow svg{position:absolute;inset:0;width:18px;height:18px;transition:transform .45s}
.micro-arrow svg:nth-child(2){transform:translateX(-140%)}
:is(a,button):is(:hover,:focus-visible) .micro-arrow svg:first-child{transform:translateX(140%)}
:is(a,button):is(:hover,:focus-visible) .micro-arrow svg:nth-child(2){transform:translateX(0)}
@media(prefers-reduced-motion:reduce){.micro-main .micro-window>span,.micro-outline::before,.micro-arrow svg{transition:none!important}}
.micro-main{padding-block:12px}
.contato-botao .micro-arrow{position:absolute;right:4px;bottom:5px;width:18px;height:18px}
.contato-botao .micro-arrow svg{position:absolute;inset:0;width:18px;height:18px}
.micro-outline{--micro-outline-color:#10243a;--micro-outline-hover:#fffdf8}
