:root{
  --terracotta:#b15434;
  --green:#2e4236;
  --cream:#e8e5de;
  --paper:#f8f6f1;
  --warm-white:#fffdf9;
  --ink:#28322c;
  --muted:#73756f;
  --line:rgba(46,66,54,.13);
  --shadow:0 16px 42px rgba(46,66,54,.09);
  --font-title:"Poppins",Arial,sans-serif;
  --font-body:"DM Sans",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{color:inherit}

/* Faixa verde da identidade: pequena, mas suficiente para o topo não ficar neutro. */
.identity-strip{height:27px;display:flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:rgba(255,255,255,.82);font-size:8.5px;font-weight:600;letter-spacing:.18em}
.identity-strip i{display:block;width:4px;height:4px;border-radius:50%;background:var(--terracotta)}

.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:10px max(22px,5vw);background:rgba(248,246,241,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(46,66,54,.16);box-shadow:0 5px 20px rgba(46,66,54,.035)}
.brand{display:flex;align-items:center;min-width:0}
.brand img{display:block;width:min(210px,43vw);height:48px;object-fit:contain;object-position:left center}
.desktop-nav{display:flex;align-items:center;gap:25px;color:var(--green);font-size:13px;font-weight:500}
.desktop-nav a{position:relative;padding:7px 0}
.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:2px;background:var(--terracotta);transition:.2s}
.desktop-nav a:hover{color:var(--terracotta)}
.desktop-nav a:hover:after{right:0}

main{overflow:clip}

/* Abertura compacta: texto curto + carrossel, com o cardápio logo abaixo. */
.menu-intro{display:grid;grid-template-columns:minmax(290px,.82fr) minmax(340px,1.18fr);align-items:start;gap:36px;padding:27px max(22px,7vw) 19px}
.menu-intro-copy{max-width:470px;padding-top:clamp(42px,5vw,72px)}
.eyebrow{display:block;margin-bottom:7px;color:var(--terracotta);font-family:var(--font-title);font-size:10px;font-weight:600;letter-spacing:.18em}
.menu-intro h1,.brand-note h2,.order-note h2,.modal h2{font-family:var(--font-title);font-weight:500;color:var(--green);margin:0;line-height:1.15}
.menu-intro h1{font-size:clamp(24px,2.45vw,35px);letter-spacing:-.035em}
.menu-intro p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5;max-width:420px}
.hero-secondary-title{margin:18px 0 0;max-width:440px;color:var(--green);font-family:var(--font-title);font-size:clamp(19px,1.65vw,25px);font-weight:500;letter-spacing:-.025em;line-height:1.2}

.hero-carousel{position:relative;min-width:0;width:100%;max-width:680px;justify-self:end;aspect-ratio:3/2;min-height:0;max-height:none;overflow:hidden;border-radius:22px;background:var(--cream);box-shadow:0 13px 36px rgba(46,66,54,.10);touch-action:pan-y;user-select:none}
.hero-carousel-track{display:flex;height:100%;transition:transform .55s cubic-bezier(.22,.7,.32,1)}
.hero-slide{min-width:100%;height:100%;position:relative}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;border:1px solid rgba(46,66,54,.12);border-radius:50%;background:rgba(255,253,249,.92);color:var(--green);font-size:25px;line-height:1;cursor:pointer;box-shadow:0 7px 18px rgba(46,66,54,.10)}
.carousel-arrow.prev{left:12px}.carousel-arrow.next{right:12px}
.carousel-dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(255,253,249,.76);backdrop-filter:blur(5px)}
.carousel-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:rgba(46,66,54,.24);cursor:pointer}
.carousel-dot.active{background:var(--terracotta)}

.menu-section{padding:0 max(22px,7vw) 58px}
.category-shell{position:sticky;top:69px;z-index:20;margin:0 calc(max(22px,7vw) * -1) 22px;padding:10px max(22px,7vw) 9px;background:linear-gradient(to bottom,rgba(248,246,241,.98) 72%,rgba(248,246,241,.91));border-top:1px solid rgba(46,66,54,.06);border-bottom:1px solid rgba(46,66,54,.07)}
.category-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.category-tabs::-webkit-scrollbar{display:none}
.category-tab{flex:0 0 auto;white-space:nowrap;border:1px solid rgba(46,66,54,.16);background:transparent;color:var(--green);padding:8px 15px;border-radius:999px;cursor:pointer;font-size:12px;font-weight:500;transition:.18s}
.category-tab:hover{border-color:rgba(177,84,52,.4);color:var(--terracotta)}
.category-tab.active{background:var(--green);border-color:var(--green);color:white}

/* Cards horizontais de cardápio: compactos, inspirados na lógica de delivery, sem copiar a estética do iFood. */
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px;align-items:stretch}
.product-card{min-width:0;min-height:126px;display:grid;grid-template-columns:126px minmax(0,1fr);overflow:hidden;border:1px solid rgba(46,66,54,.10);border-radius:14px;background:rgba(255,253,249,.72);cursor:pointer;outline:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.product-card:hover{transform:translateY(-1px);border-color:rgba(177,84,52,.22);box-shadow:0 10px 26px rgba(46,66,54,.07)}
.product-card:focus-visible{box-shadow:0 0 0 3px rgba(177,84,52,.18)}
.product-image{position:relative;width:126px;height:100%;min-height:126px;overflow:hidden;background:var(--cream)}
.product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .32s}
.product-card:hover .product-image>img{transform:scale(1.035)}
.product-placeholder{width:100%;height:100%;display:grid;place-items:center;text-align:center;padding:10px;background:linear-gradient(145deg,#eee9e1,#e4dfd6);color:rgba(46,66,54,.58);font-family:var(--font-title);font-size:11px;font-weight:500}
.product-placeholder-inner{display:grid;justify-items:center;gap:7px}
.product-placeholder-inner img{width:30px;height:30px;object-fit:contain;opacity:.42;transform:none!important}
.product-content{min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:12px 12px 10px 13px}
.product-copy{min-width:0}
.product-content h3{margin:0;color:var(--green);font-family:var(--font-title);font-size:13.5px;line-height:1.28;font-weight:500;letter-spacing:-.012em}
.product-content p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;color:var(--muted);font-size:10.5px;line-height:1.4}
.product-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:9px}
.product-price-wrap{display:flex;align-items:baseline;gap:6px;min-width:0}
.product-content .price{color:var(--terracotta);font-size:12.5px;font-weight:650;white-space:nowrap}
.unit{color:#8b8a83;font-size:9px;white-space:nowrap}
.quick-add{flex:0 0 auto;width:29px;height:29px;border-radius:50%;border:1px solid rgba(46,66,54,.15);background:var(--warm-white);color:var(--green);font-size:19px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.17s}
.quick-add:hover{background:var(--terracotta);color:white;border-color:var(--terracotta)}
.empty-state{padding:46px 18px;text-align:center;color:var(--muted);border-top:1px solid var(--line);font-size:14px}

.brand-note,.order-note{margin:0 max(22px,7vw);border-top:1px solid var(--line)}
.brand-note{display:grid;grid-template-columns:52px minmax(0,620px);align-items:center;gap:19px;padding:29px 0}
.brand-note>img{width:49px;height:49px;object-fit:contain;opacity:.78}
.brand-note h2,.order-note h2{font-size:20px;letter-spacing:-.025em}
.brand-note p,.order-note p{margin:6px 0 0;color:var(--muted);font-size:12.5px;line-height:1.55}
.order-note{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:27px 0 34px}
.order-note>div{max-width:620px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 17px;border:1px solid transparent;cursor:pointer;font-size:12px;font-weight:600;transition:.18s}
.btn-primary{background:var(--terracotta);color:white}.btn-secondary{border-color:var(--green);color:var(--green);background:transparent}.btn:hover{transform:translateY(-1px)}
.contact-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 max(22px,7vw);padding:18px 0 22px;border-top:1px solid var(--line);color:var(--green);font-size:11.5px}
.contact-line div{display:flex;gap:9px;align-items:baseline}.contact-line span{color:var(--muted)}.contact-line a{font-weight:600;color:var(--terracotta)}

/* A imagem é literalmente o último elemento do site. */
.visual-footer{position:relative;width:100%;height:clamp(95px,8.5vw,140px);margin:0;background:var(--green);overflow:hidden}
.visual-footer img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

/* Sacola flutuante obrigatória. */
.cart-float{position:fixed;right:22px;bottom:22px;z-index:45;display:flex;align-items:center;gap:8px;min-height:49px;padding:9px 10px 9px 14px;border:0;border-radius:999px;background:var(--green);color:white;box-shadow:0 13px 30px rgba(46,66,54,.24);cursor:pointer;transition:transform .2s,box-shadow .2s}
.cart-float:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(46,66,54,.29)}
.cart-float svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cart-float-label{font-size:11.5px;font-weight:600}
.cart-count{display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:999px;background:var(--terracotta);color:#fff;font-size:11px;font-weight:700}
.cart-float.cart-bump{animation:cartBump .42s ease}@keyframes cartBump{0%,100%{transform:scale(1)}40%{transform:scale(1.09)}70%{transform:scale(.98)}}
.cart-toast{position:fixed;right:22px;bottom:82px;z-index:44;max-width:220px;padding:9px 12px;border-radius:10px;background:rgba(40,50,44,.95);color:white;font-size:11.5px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);pointer-events:none;transition:.22s}.cart-toast.show{opacity:1;transform:translateY(0)}

.modal{width:min(820px,calc(100vw - 28px));max-height:88vh;border:0;border-radius:22px;padding:30px;background:var(--warm-white);color:var(--ink);box-shadow:0 26px 80px rgba(32,39,35,.25)}
.modal::backdrop{background:rgba(28,35,31,.54);backdrop-filter:blur(3px)}
.modal-close{position:absolute;right:13px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(46,66,54,.07);color:var(--green);font-size:23px;line-height:1;cursor:pointer}
.modal h2{font-size:31px}.modal-product{display:grid;grid-template-columns:minmax(210px,320px) 1fr;gap:28px;align-items:start}.modal-product .product-image{width:100%;height:auto;min-height:0;aspect-ratio:1/1;border-radius:16px}.modal-product>div:last-child{padding-top:5px}.modal-product p{color:var(--muted);font-size:13px;line-height:1.6}.modal-product .price{color:var(--terracotta);font-size:18px;font-weight:600;margin-top:12px}
.options{display:grid;gap:11px;margin:18px 0}.option-group label{display:block;font-size:10px;font-weight:600;color:var(--green);margin-bottom:5px;text-transform:uppercase;letter-spacing:.08em}.option-group select{width:100%;border:1px solid var(--line);background:white;padding:10px 11px;border-radius:10px;color:var(--ink)}.full{width:100%}
.cart-modal{max-width:590px}.cart-modal>h2{margin-bottom:13px}.cart-item{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.cart-item small{display:block;margin-top:4px;color:var(--muted);font-size:10.5px}.qty-controls{display:flex;gap:6px;align-items:center}.qty-controls button{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:white;cursor:pointer}.cart-total{display:flex;justify-content:space-between;padding:18px 0;font-size:16px}.cart-total strong{color:var(--terracotta)}

@media(max-width:1180px){
  .menu-intro{grid-template-columns:minmax(260px,.8fr) minmax(330px,1.2fr);gap:28px}
  .products-grid{grid-template-columns:repeat(auto-fit,minmax(315px,1fr))}
}
@media(max-width:900px){
  .desktop-nav{gap:16px}.menu-intro{grid-template-columns:1fr 1.18fr}.hero-carousel{max-width:600px}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .product-card{grid-template-columns:112px minmax(0,1fr);min-height:116px}.product-image{width:112px;min-height:116px}
}
@media(max-width:720px){
  .identity-strip{height:21px;font-size:7.5px}
  .desktop-nav{display:none}.topbar{justify-content:center;padding:9px 18px}.brand img{width:185px;height:44px;object-position:center}
  .menu-intro{grid-template-columns:1fr;gap:14px;padding:15px 14px 12px}.menu-intro-copy{max-width:none;padding-top:0}.eyebrow{margin-bottom:5px}.menu-intro h1{font-size:27px;line-height:1.08}.menu-intro p{font-size:13px;line-height:1.45;margin-top:7px}.hero-secondary-title{font-size:21px;line-height:1.16;margin-top:14px;max-width:330px}.hero-carousel{width:100%;max-width:560px;justify-self:center;aspect-ratio:4/3;min-height:0;max-height:none;border-radius:15px}
  .category-shell{top:62px;margin:0 -14px 13px;padding:8px 14px}.menu-section{padding:0 10px 36px}.category-tabs{gap:7px;padding:3px 0 5px}.category-tab{min-height:40px;padding:9px 14px;font-size:12.5px}
  .products-grid{grid-template-columns:1fr;gap:8px}
  .product-card{grid-template-columns:104px minmax(0,1fr);min-height:108px;border-radius:12px}
  .product-image{width:104px;min-height:108px}.product-content{padding:9px 10px 8px 10px}.product-content h3{font-size:13px}.product-content p{font-size:10px;line-height:1.36;margin-top:4px}.product-card-footer{margin-top:7px}.product-content .price{font-size:12px}.quick-add{width:36px;height:36px;font-size:21px}
  .brand-note,.order-note,.contact-line{margin-left:18px;margin-right:18px}.brand-note{grid-template-columns:44px 1fr;gap:14px;padding:25px 0}.brand-note>img{width:42px;height:42px}.brand-note h2,.order-note h2{font-size:18px}.order-note{align-items:flex-start;flex-direction:column;padding:24px 0 30px}.contact-line{font-size:10.5px}.contact-line div{display:grid;gap:1px}
  .visual-footer{height:105px}.cart-float{right:12px;bottom:12px;min-height:49px}.cart-toast{right:12px;bottom:72px}.modal{width:calc(100% - 16px);max-height:90dvh;overflow:auto;padding:22px 16px;border-radius:18px}.modal-product{grid-template-columns:1fr}.modal-product .product-image{max-width:360px}.modal h2{font-size:25px}
}
@media(max-width:390px){
  .hero-carousel{aspect-ratio:4/3}.cart-float-label{display:none}.cart-float{padding:10px}
  .product-card{grid-template-columns:96px minmax(0,1fr);min-height:102px}.product-image{width:96px;min-height:102px}.product-content h3{font-size:12.5px}.product-content p{-webkit-line-clamp:2}.product-content{padding-left:9px}
}

/* V1.6 — enquadramento editável e produtos vendidos por kg */
.hero-slide{overflow:hidden}.hero-slide img,.visual-footer img{transform-origin:center center;transition:object-position .2s ease,transform .2s ease}.weight-picker{margin:16px 0 10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fbfaf7}.weight-picker>label{display:block;margin-bottom:7px;color:var(--green);font-size:11px;font-weight:650}.weight-picker select,.weight-picker input{width:100%;border:1px solid var(--line);border-radius:10px;background:white;padding:10px;color:var(--ink)}.weight-input-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.weight-input-row>span{font-size:12px;color:var(--muted)}.weight-picker small{display:block;margin-top:7px;color:var(--muted);font-size:10.5px;line-height:1.4}.weight-estimate{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0 2px;color:var(--muted);font-size:12px}.weight-estimate strong{color:var(--terracotta);font-size:17px}.estimate-note{margin:9px 0 13px;padding:10px 12px;border-radius:10px;background:#f5eee9;color:#704130;font-size:10.8px;line-height:1.45}.product-modal-rate .unit{font-size:11px}.product-price-wrap .unit{max-width:105px;overflow:hidden;text-overflow:ellipsis}


/* V1.7 — conteúdo editável + experiência mobile-first */
@media(max-width:720px){
  body{padding-bottom:env(safe-area-inset-bottom)}
  .topbar{min-height:58px;padding:7px 14px}
  .brand img{width:min(180px,58vw);height:42px}
  .carousel-arrow{width:42px;height:42px;font-size:27px}
  .carousel-arrow.prev{left:8px}.carousel-arrow.next{right:8px}
  .brand-note,.order-note,.contact-line{margin-left:14px;margin-right:14px}
  .brand-note{padding:22px 0}.order-note{gap:16px;padding:22px 0 28px}
  .order-note .btn{width:100%;min-height:46px}
  .contact-line{padding:17px 0 20px}
  .cart-float{padding-right:9px;padding-left:13px}
}
@media(max-width:390px){
  .menu-intro{padding-left:12px;padding-right:12px}
  .menu-intro h1{font-size:25px}
  .hero-secondary-title{font-size:20px}
  .category-shell{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
  .menu-section{padding-left:8px;padding-right:8px}
}


/* V1.8 — motion system: reveal on scroll, fade-up, fade-in, stagger e microinterações */
.reveal-ready [data-reveal]{opacity:0;transition-property:opacity,transform;transition-duration:.72s;transition-timing-function:cubic-bezier(.2,.7,.25,1);transition-delay:var(--reveal-delay,0ms);will-change:opacity,transform}
.reveal-ready [data-reveal="up"]{transform:translate3d(0,22px,0)}
.reveal-ready [data-reveal="fade"]{transform:none}
.reveal-ready [data-reveal].is-visible{opacity:1;transform:none}

/* Layered mockups visuais com as próprias imagens editáveis do carrossel. */
.brand-note{grid-template-columns:minmax(0,1fr) minmax(280px,460px);gap:44px;padding:42px 0 48px;align-items:center}
.brand-note-copy{display:grid;grid-template-columns:52px minmax(0,620px);align-items:center;gap:19px;min-width:0}
.brand-note-mark img{display:block;width:49px;height:49px;object-fit:contain;opacity:.78}
.layered-showcase{position:relative;height:250px;min-width:0;perspective:1000px}
.layered-card{position:absolute;overflow:hidden;border:1px solid rgba(46,66,54,.12);border-radius:18px;background:var(--warm-white);box-shadow:0 24px 60px rgba(46,66,54,.13);transition:transform .35s cubic-bezier(.2,.7,.25,1),box-shadow .35s}
.layered-card img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:center center}
.layered-card .mockup-bar{position:absolute;left:0;right:0;top:0;z-index:2;height:23px;display:flex;align-items:center;gap:5px;padding-left:10px;background:rgba(255,253,249,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(46,66,54,.08)}
.mockup-bar i{display:block;width:5px;height:5px;border-radius:50%;background:rgba(46,66,54,.22)}
.layered-card-front{z-index:3;right:0;top:22px;width:72%;height:78%;transform:rotate(1.2deg)}
.layered-card-back{z-index:1;left:0;top:8px;width:62%;height:70%;transform:rotate(-4deg)}
.layered-card-accent{z-index:4;left:12%;bottom:0;width:30%;height:43%;border-radius:15px;transform:rotate(4deg);border:4px solid var(--paper)}
.layered-showcase:hover .layered-card-front{transform:rotate(.4deg) translateY(-5px)}
.layered-showcase:hover .layered-card-back{transform:rotate(-2.5deg) translate(-3px,2px)}
.layered-showcase:hover .layered-card-accent{transform:rotate(2.5deg) translateY(-4px)}

/* Microinterações */
.category-tab,.quick-add,.carousel-arrow,.btn,.cart-float,.product-card{transition-timing-function:cubic-bezier(.2,.7,.25,1)}
.category-tab:active,.btn:active,.carousel-arrow:active,.quick-add:active,.cart-float:active{transform:scale(.96)}
.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(46,66,54,.09)}
.product-card:active{transform:translateY(-1px) scale(.995)}
.quick-add:hover{transform:rotate(8deg) scale(1.04)}
.carousel-arrow:hover{background:#fff;box-shadow:0 12px 26px rgba(46,66,54,.14)}
.category-tab.active{box-shadow:0 7px 18px rgba(46,66,54,.13)}
.desktop-nav a{transition:color .22s ease}

@media(max-width:900px){
  .brand-note{grid-template-columns:1fr;gap:28px}
  .layered-showcase{width:min(520px,100%);height:230px}
}
@media(max-width:720px){
  .brand-note{display:grid;grid-template-columns:1fr;gap:24px;padding:30px 0 34px}
  .brand-note-copy{grid-template-columns:44px 1fr;gap:14px}
  .brand-note-mark img{width:42px;height:42px}
  .layered-showcase{height:205px}
  .layered-card-front{width:76%;height:76%;top:18px}
  .layered-card-back{width:64%;height:67%}
  .layered-card-accent{width:32%;height:42%}
}
@media(max-width:390px){.layered-showcase{height:185px}.layered-card{border-radius:14px}.layered-card .mockup-bar{height:19px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal-ready [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
