/* ==========================================================
   BECO DA MARCELA | Cardápio (built from homepage V12: same header, footer,
   tokens, fonts and the Nossos Sabores section, reused verbatim)
   Design read: premium consumer landing, health-conscious
   buyers in Florianópolis. Dials: variance 8, motion 5, density 3.
   Theme: one light page. Blue is brand chrome (header, footer),
   the health block and the V1 frozen cards. Accent: yellow only.
   Shape rule: buttons and tags are full pills; cards, photos and
   the brand "plaque" (hero sign, help card) use a 10px radius;
   full-width section backgrounds are square.
   Icons: Tabler Icons outline (MIT), stroke 1.5.
   Health icons and the two frozen-card icons: custom (brief / approved print).
   Motion: CSS only. Hero load-in, transform-only scroll
   reveals (scroll-driven animations), hover/press feedback. All off under prefers-reduced-motion.
   z-index scale: header 50, skip link 100.
   ========================================================== */
:root{
  --blue:#020959;
  --blue-hover:#101a86;
  --yellow:#F5A623;
  --yellow-hover:#FFB93F;
  --gray:#DFDFDF;
  --paper:#FAFAF5;
  --band:#ECECE3;
  --ink:#020959;
  --ink-soft:#4b5080;
  --line:rgba(2,9,89,.16);
  --on-blue-soft:rgba(250,250,245,.8);
  --on-blue-line:rgba(250,250,245,.18);
  --on-blue-rule:rgba(250,250,245,.42);
  --f-body:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-display:'Merriweather Sans','Segoe UI',system-ui,sans-serif;
  --max:1200px;
  --gutter:clamp(16px,4vw,48px);
  --edge:max(var(--gutter),calc((100% - var(--max)) / 2)); /* use only on full-width boxes */
  --section:clamp(5rem,10vw,9rem);
  --header:72px;
  --r-plaque:10px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header);-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:400 1rem/1.7 var(--f-body);
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,p,figure,blockquote{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
.site-header :focus-visible,.help :focus-visible,.site-footer :focus-visible{outline-color:var(--yellow)}
.wrap{width:min(100% - 2*var(--gutter),var(--max));margin-inline:auto}
.skip{position:absolute;left:var(--gutter);top:-4rem;background:var(--yellow);color:var(--blue);padding:.6rem 1rem;border-radius:999px;font-weight:500;z-index:100}
.skip:focus{top:.75rem}
.icon{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.sec-title{font-family:var(--f-display);font-size:clamp(2.2rem,4.4vw,3.6rem);font-weight:300;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.sec-intro{font-size:1.125rem;font-weight:300;line-height:1.65;max-width:52ch;color:var(--ink-soft)}

/* ---------- buttons (pills) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;white-space:nowrap;
  font:500 1.0625rem/1 var(--f-body);text-decoration:none;cursor:pointer;
  padding:1.05rem 2rem;border-radius:999px;border:1.5px solid transparent;
  transition:transform .35s var(--ease),background-color .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease);
}
.btn--yellow{background:var(--yellow);color:var(--blue)}
.btn--yellow:hover{background:var(--yellow-hover);transform:translateY(-2px)}
.btn--blue{background:var(--blue);color:var(--paper)}
.btn--blue:hover{background:var(--yellow);color:var(--blue)}
.btn .icon{transition:transform .35s var(--ease)}
.btn:hover .icon--go{transform:translateX(5px)}
.btn:active{transform:translateY(1px) scale(.98)}

/* ---------- brand plaque (mirrors the enamel street sign in the logo) ---------- */
.plaque{position:relative;background:var(--blue);color:var(--paper);border-radius:var(--r-plaque)}
.plaque::before{
  content:"";position:absolute;inset:6px;pointer-events:none;
  border:2px solid rgba(250,250,245,.92);border-radius:calc(var(--r-plaque) - 5px);
}
.plaque>*{position:relative}

/* ---------- header ---------- */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--blue);color:var(--paper)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--header)}
.brand{display:block;line-height:0}
.brand img{height:52px;width:auto}
.nav ul{display:flex;gap:clamp(1.5rem,3.5vw,3rem)}
.nav a{position:relative;display:inline-block;padding:.5rem 0;font-size:1rem;text-decoration:none;color:var(--paper)}
.nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:.1rem;height:2px;border-radius:2px;
  background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease);
}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:.5rem}
.icon-btn{
  position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  border:1.5px solid rgba(250,250,245,.85);background:transparent;color:var(--paper);cursor:pointer;text-decoration:none;
  transition:background-color .2s,color .2s,border-color .2s,transform .2s var(--ease);
}
.icon-btn:hover{background:var(--yellow);border-color:var(--yellow);color:var(--blue)}
.icon-btn:active{transform:scale(.94)}
.cart-count{
  position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;
  background:var(--yellow);color:var(--blue);font:700 .72rem/20px var(--f-body);text-align:center;
}
.nav-toggle{display:none}
.nav-toggle .icon--close{display:none}
.nav-toggle[aria-expanded="true"] .icon--menu{display:none}
.nav-toggle[aria-expanded="true"] .icon--close{display:block}
@media (max-width:820px){
  .nav-toggle{display:grid}
  .nav{
    position:absolute;left:0;right:0;top:100%;display:none;background:var(--blue);
    border-top:1px solid var(--on-blue-line);padding:.5rem var(--gutter) 1.25rem;
  }
  .nav.is-open{display:block}
  .nav ul{flex-direction:column;gap:0}
  .nav li+li{border-top:1px solid var(--on-blue-line)}
  .nav a{display:block;padding:1rem 0;font-size:1.25rem}
  .nav a::after{display:none}
}

/* ---------- entregas: page title, neighbourhoods table, delivery days ---------- */
.delivery{background:var(--band);padding-block:clamp(3rem,6vw,5rem)}
.page-title{
  font-family:var(--f-display);font-weight:700;color:var(--blue);
  font-size:clamp(2.2rem,4.4vw,3.4rem);line-height:1.1;letter-spacing:-.015em;text-wrap:balance;
}
.page-sub{margin-top:.9rem;font-size:1.1875rem;line-height:1.55;color:var(--ink-soft);max-width:52ch}

/* the table: 4 columns x 6 rows, one neighbourhood per cell, in the order given */
.areas{
  width:100%;margin-top:clamp(1.75rem,3.5vw,2.5rem);table-layout:fixed;
  border-collapse:separate;border-spacing:0;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r-plaque);overflow:hidden;
}
.areas td{
  padding:1.05rem 1.25rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  font-size:1.0625rem;line-height:1.35;color:var(--ink);vertical-align:middle;
  transition:background-color .2s;
}
.areas td:last-child{border-right:0}
.areas tr:last-child td{border-bottom:0}
.areas tr:nth-child(even) td{background:rgba(2,9,89,.028)}
.areas td:not(.empty):hover{background:rgba(245,166,35,.14)}
.areas .cell{display:flex;align-items:center;gap:.65rem}
.areas .icon{width:1.2em;height:1.2em;color:var(--yellow);stroke-width:1.75}
.areas td.empty{background:transparent}
.areas caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* delivery days: headline with the brand's yellow rule, note set smaller beneath */
.days{margin-top:clamp(2.25rem,4.5vw,3.25rem);padding-left:clamp(1.1rem,2.5vw,1.5rem);border-left:4px solid var(--yellow)}
.days-title{
  display:flex;align-items:center;gap:.6rem;
  font-family:var(--f-display);font-weight:700;color:var(--blue);
  font-size:clamp(1.45rem,2.6vw,1.95rem);line-height:1.2;letter-spacing:-.01em;
}
.days-title .icon{width:1.1em;height:1.1em;stroke-width:1.75}
.days-note{margin-top:.45rem;font-size:1.0625rem;color:var(--ink-soft)}

/* phones: the table reflows to 2 columns, same reading order, empty cells dropped */
@media (max-width:760px){
  .areas,.areas tbody{display:block}
  .areas tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line)}
  .areas tr{display:contents}
  .areas td{display:block;border:0;background:var(--paper)!important;padding:.85rem .9rem;font-size:1rem}
  .areas td.empty{display:none}
}

/* ---------- nossos sabores: V1 grid (photo, name, price, full-width order button) ---------- */
.flavors{padding-block:clamp(2.75rem,5.5vw,4.5rem) clamp(3rem,6vw,5.4rem)}
.flavors-head{display:grid;gap:1.25rem;justify-items:start;margin-bottom:clamp(2rem,3.5vw,3rem)}
.pizzas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.25rem,2.1vw,1.75rem) clamp(1rem,2vw,1.5rem)}
.pizza{display:flex}
.pizza article{display:flex;flex-direction:column;width:100%}
.pizza-img{display:block;overflow:hidden;border-radius:var(--r-plaque);background:var(--gray);aspect-ratio:3/4}
.pizza-img img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.pizza-img:hover img{transform:scale(1.05)}
.pizza-body{display:flex;flex-direction:column;flex:1;padding-top:.85rem}
.pizza h3{line-height:1.2}
.pizza h3 a{text-decoration:none}
.pizza h3 a:hover .name{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:5px}
.pizza .line{display:block;font-size:.95rem;font-weight:300;color:var(--ink-soft);margin-bottom:.1rem}
.pizza .name{display:block;font-size:1.28rem;font-weight:500}
.price{margin-top:.4rem;margin-bottom:.8rem;font-size:1.2rem;font-weight:500;font-variant-numeric:tabular-nums}
.price span{font-size:.85em;color:var(--ink-soft)}
.pizza .btn{margin-top:auto;width:100%;padding:.85rem 1rem;font-size:1rem}
.pizza .btn .icon{width:1.15em;height:1.15em}
.help{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:1rem;padding:2rem 1.6rem}
.help h3{font-size:1.45rem;font-weight:500;line-height:1.2}
.help p{color:var(--on-blue-soft);font-weight:300;line-height:1.5}
.help .btn{align-self:flex-start;padding:.85rem 1.2rem;font-size:1rem}
/* discount box: icon and the two tiers spread down the box, each tier with its percentage on top */
.help--deal{justify-content:space-evenly;align-items:center;gap:.5rem;text-align:center}
.help .help-icon{width:4.25rem;height:4.25rem;color:var(--yellow);stroke-width:1.25}
.help .help-deal{color:var(--paper);font-size:1.2rem;font-weight:500;line-height:1.35;text-wrap:balance}
.help-deal strong{display:block;color:var(--yellow);font-size:3rem;font-weight:700;line-height:1;margin-bottom:.35rem}
@media (max-width:1023px){.pizzas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){
  .pizzas{gap:1.5rem .85rem}
  .pizza .name{font-size:1.08rem}
  .price{font-size:1.1rem}
  .pizza .btn{font-size:.95rem;padding-inline:.5rem}
  .help{padding:1.5rem 1.15rem}
  .help h3{font-size:1.2rem}
  .help .help-deal{font-size:1.05rem}
  .help-deal strong{font-size:2.4rem}
  .help .help-icon{width:3.5rem;height:3.5rem}
  .help .btn{width:100%;white-space:normal;text-align:center;padding-inline:.75rem}
}

/* ---------- armazenamento: horizontal note closing the delivery section ---------- */
.storage{
  display:flex;align-items:center;gap:clamp(1rem,2.5vw,1.75rem);
  margin-top:clamp(2.25rem,4.5vw,3.25rem);padding:clamp(1.15rem,2.4vw,1.5rem) clamp(1.15rem,3vw,2rem);
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-plaque);
}
.storage-icon{flex:none;display:grid;place-items:center;width:3.25rem;height:3.25rem;border-radius:50%;background:var(--blue);color:var(--yellow)}
.storage-icon .icon{width:1.65rem;height:1.65rem;stroke-width:1.5}
.storage-title{font:700 .8125rem/1.3 var(--f-body);letter-spacing:.12em;color:var(--blue);margin-bottom:.35rem}
.storage-text{font-size:1rem;line-height:1.6;color:var(--ink-soft)}
.storage-text strong{font-weight:500;color:var(--blue);white-space:nowrap}
@media (max-width:560px){.storage{flex-direction:column;align-items:flex-start;gap:.85rem}}

/* ---------- ofertas por email: one-line signup below the delivery section ---------- */
.newsletter{padding-block:clamp(1.75rem,3vw,2.5rem)}
.newsletter-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.25rem,3.5vw,3rem);align-items:center}
.newsletter-text{display:flex;gap:.85rem;align-items:flex-start;font-size:1.1875rem;line-height:1.55;color:var(--blue);text-wrap:pretty}
.newsletter-text .icon{width:1.5em;height:1.5em;margin-top:.05em;color:var(--yellow);stroke-width:1.5}
.newsletter-form{display:flex;gap:.6rem}
.newsletter-form input{
  flex:1;min-width:0;font:400 1.0625rem/1.2 var(--f-body);color:var(--ink);
  padding:1rem 1.35rem;border:1.5px solid var(--line);border-radius:999px;background:#fff;
  transition:border-color .2s;
}
.newsletter-form input::placeholder{color:#8a8db0}
.newsletter-form input:focus{outline:none;border-color:var(--blue)}
.newsletter-form .btn{padding:1rem 1.6rem}
.newsletter-legal{margin-top:.5rem;padding-left:1.35rem;font-size:.875rem;line-height:1.5;color:var(--ink-soft)}
.newsletter-done{margin-top:.5rem;padding-left:1.35rem;font-size:1rem;color:var(--blue)}
.newsletter-done strong{font-weight:500}
@media (max-width:760px){
  .newsletter-box{grid-template-columns:1fr}
}
@media (max-width:420px){
  .newsletter-form{flex-direction:column}
  .newsletter-form .btn{width:100%}
  .newsletter-legal,.newsletter-done{padding-left:0}
}

/* ---------- rodapé (blue, mirrors the header) ---------- */
.site-footer{background:var(--blue);color:var(--paper);overflow:hidden}
.footer-main{padding-top:clamp(3rem,5.5vw,4.25rem)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,1.1fr);gap:2.5rem 3rem}
.footer-brand img{height:62px;width:auto;margin-bottom:1rem}
.footer-brand p{max-width:34ch;color:var(--on-blue-soft);font-weight:300;line-height:1.6}
.footer-col h2{font-size:1rem;font-weight:500;color:var(--on-blue-soft);margin-bottom:.7rem}
.footer-nav li+li{margin-top:.35rem}
.footer-nav a,.contact a{text-decoration:none;font-size:1.0625rem}
.footer-nav a:hover,.contact a:hover{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:5px}
.contact{font-style:normal;display:grid;gap:.5rem}
.contact a{display:inline-flex;align-items:center;gap:.7rem;overflow-wrap:anywhere}
.social{display:flex;gap:.7rem;margin-top:1.1rem}
.social a{
  display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(250,250,245,.6);
  transition:background-color .2s,color .2s,border-color .2s,transform .2s var(--ease);
}
.social a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--blue)}
.social a:active{transform:scale(.94)}
.social .icon{width:22px;height:22px}
.footer-ghost{
  margin-top:clamp(1.5rem,3vw,2.25rem);
  font-size:clamp(2.4rem,8.8vw,7.9rem);font-weight:700;letter-spacing:-.05em;line-height:1;
  height:.62em;overflow:hidden;white-space:nowrap;color:rgba(250,250,245,.08);
  -webkit-user-select:none;user-select:none;
}
.footer-bar{border-top:1px solid var(--on-blue-line)}
.footer-bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;
  padding-block:.72rem;font-size:.9rem;font-weight:300;color:var(--on-blue-soft);
}
@media (max-width:900px){.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.footer-brand{grid-column:1/-1}}
@media (max-width:520px){.footer-grid{grid-template-columns:minmax(0,1fr)}}

/* ---------- motion (each piece has one job) ---------- */
@keyframes rise-in{from{opacity:0;transform:translateY(22px)}}
@keyframes settle{from{opacity:0;transform:scale(1.06)}}
@keyframes reveal-up{from{transform:translateY(56px)}}
@media (prefers-reduced-motion:no-preference){
  /* hierarchy: the hero reads in order, headline first, CTA last */
  .page-head>*{animation:rise-in .9s var(--ease) both;animation-delay:calc(var(--i,0) * 90ms + 80ms)}
  @supports (animation-timeline:view()){
    /* storytelling: items arrive as they enter; transform only, so text is always visible */
    .reveal{animation:reveal-up linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
  }
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
