/* =====================================================================
   KAITS — estilos do site
   Paleta oficial (manual): creme 45% · sol 25% · vinho 15% · morango 10% · folha 5%
   Tipografia de apoio: Poppins (mesma família usada na identidade visual)
   ===================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --creme: #F7EDE2;
  --creme-claro: #FCF6EF;
  --creme-escuro: #EFDFCD;
  --sol: #E79A3A;
  --sol-hover: #DA8A2A;
  --sol-claro: #F5D6AA;
  --vinho: #5A1E3A;
  --vinho-hover: #46162D;
  --vinho-claro: #E9D4DC;
  --morango: #D96B76;
  --morango-claro: #F3CDD0;
  --folha: #6B7F4E;
  --texto: #5A1E3A;
  --texto-suave: #6F4258;
  --whats: #25D366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: .875rem;    /* 14 */
  --fs-base: 1.0625rem;/* 17 */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: 1.3125rem;  /* 21 */
  --fs-h2: clamp(1.9rem, 1.35rem + 2.3vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.45rem + 4.4vw, 4.6rem);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 108px);
  --radius: 20px;
  --header-h: 100px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .btn-vinho:focus-visible { outline-color: var(--sol); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vinho); color: var(--creme); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.h2 { font-size: var(--fs-h2); font-weight: 700; font-style: italic; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-lead { font-size: var(--fs-lead); color: var(--texto-suave); margin: 0; }

/* Descritor oficial: SORVETES • AÇAÍ • PICOLÉS */
.descriptor, .footer-desc {
  display: flex; flex-wrap: wrap; align-items: center;
  margin: 0 0 18px; font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
}
.descriptor span, .footer-desc span { width: 7px; height: 7px; border-radius: 50%; background: var(--sol); margin: 0 .85em 0 .6em; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-sol { background: var(--sol); color: var(--vinho); }
.btn-sol:hover { background: var(--sol-hover); }
.btn-line { border-color: var(--vinho); color: var(--vinho); background: transparent; }
.btn-line:hover { background: var(--vinho); color: var(--creme); }
.btn-vinho { background: var(--vinho); color: var(--creme); }
.btn-vinho:hover { background: var(--vinho-hover); }
.btn-line-vinho { border-color: var(--vinho); color: var(--vinho); }
.btn-line-vinho:hover { background: var(--vinho); color: var(--sol); }
.btn-whats { background: var(--vinho); color: var(--creme); }
.btn-whats svg { color: var(--whats); }
.btn-whats:hover { background: var(--vinho-hover); }
.btn-block { width: 100%; }

/* ---------- Arco (forma da identidade) ----------
   Topo em semicírculo perfeito + cantos inferiores suaves.
   --ar = largura / altura do elemento. */
.arch {
  --ar: .65; --rb: 22px;
  aspect-ratio: var(--ar);
  border-radius: 50% 50% var(--rb) var(--rb) / calc(var(--ar) * 50%) calc(var(--ar) * 50%) var(--rb) var(--rb);
}
.arch-sol { background: var(--sol); }
.arch-vinho { background: var(--vinho); }
.arch-morango { background: var(--morango); }

/* Cores dos ícones das linhas (traçados do manual) */
.ic-on-sol     { --ic-a: var(--creme); --ic-b: var(--vinho); --ic-c: var(--sol); }
.ic-on-vinho   { --ic-a: var(--creme); --ic-b: var(--vinho); --ic-c: var(--sol); }
.ic-on-morango { --ic-a: var(--creme); --ic-b: var(--vinho); --ic-c: var(--sol); }
.ic-light-sorvete { --ic-a: var(--sol); --ic-b: var(--vinho); --ic-c: var(--sol); }
.ic-light-acai    { --ic-a: var(--vinho); --ic-b: var(--vinho); --ic-c: var(--sol); }
.ic-light-picole  { --ic-a: var(--morango); --ic-b: var(--vinho); --ic-c: var(--sol); }

/* ---------- Barra de revisão ---------- */
.review-bar { display: flex; gap: 10px; align-items: flex-start; padding: 10px var(--gutter); background: #FFF3C9; color: #4A3A10; font-size: var(--fs-sm); line-height: 1.5; border-bottom: 1px solid #EAD48A; }
.review-bar svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #B8860B; }
.review-bar p { margin: 0; }
.review-bar code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: .95em; }
.flag-inline, .flag {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  background: #FFE8A3; color: #5A4300; font-size: .75rem; font-weight: 600; font-style: normal; letter-spacing: 0; line-height: 1.5; vertical-align: middle; text-transform: none;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 237, 226, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(90, 30, 58, .1); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { width: 140px; height: auto; } /* mínimo do manual para o logo isolado */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 34px); }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 2px; background: linear-gradient(var(--sol), var(--sol)) left 100% / 0 3px no-repeat; transition: background-size .25s var(--ease); }
.main-nav a:hover { background-size: 100% 3px; }
.nav-whats { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; place-items: center; }
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn .ic-close { display: none; }

/* ---------- Primeira dobra ---------- */
.hero { padding-block: clamp(16px, 4vw, 48px) clamp(48px, 8vw, 104px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-title { font-size: var(--fs-h1); font-weight: 700; font-style: italic; letter-spacing: -.015em; line-height: 1.04; margin-bottom: 26px; text-wrap: balance; }
.underline { position: relative; display: inline-block; padding-bottom: .2em; }
.swoosh { position: absolute; left: .02em; bottom: .02em; width: 90%; height: .17em; color: var(--sol); overflow: visible; }
.hero-lead { font-size: var(--fs-lead); color: var(--texto-suave); max-width: 30em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; margin: 0; display: grid; place-items: end center; padding-top: 4%; }
.hero-arch { --ar: .86; --rb: 28px; width: 76%; grid-area: 1 / 1; }
.hero-img { grid-area: 1 / 1; width: 100%; margin-bottom: -6%; position: relative; z-index: 1; filter: drop-shadow(0 18px 24px rgba(90, 30, 58, .16)); }

/* Momento de entrada (único) */
@media (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: rise .9s var(--ease) both; transform-origin: 50% 100%; }
  .hero-img { animation: drop .9s .15s var(--ease) both; }
  .swoosh { animation: draw .8s .55s var(--ease) both; }
  @keyframes rise { from { transform: scaleY(.55); opacity: 0; } }
  @keyframes drop { from { transform: translateY(26px); opacity: 0; } }
  @keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- Categorias ---------- */
.categorias { padding-top: clamp(24px, 4vw, 48px); }
.categorias .h2 { margin-bottom: clamp(28px, 4vw, 48px); max-width: 16em; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 40px); max-width: 980px; }
.cat { display: grid; gap: 18px; text-decoration: none; border-radius: var(--radius); }
.cat-arch { --ar: .76; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 18% 12% 11%; transition: transform .3s var(--ease); }
.cat:hover .cat-arch { transform: translateY(-6px); }
.cat-icon { height: 100%; max-height: 62%; width: auto; align-self: center; margin-top: 6%; transition: transform .35s var(--ease); }
.cat:hover .cat-icon { transform: rotate(-5deg) scale(1.04); }
.cat-name { font-weight: 700; font-size: clamp(1.17rem, .9rem + .8vw, 1.4rem); letter-spacing: .24em; text-transform: uppercase; margin-right: -.24em; }
.arch-sol .cat-name, .arch-morango .cat-name { color: var(--vinho); }
.arch-vinho .cat-name { color: var(--creme); }
.cat-text { font-size: 1rem; color: var(--texto-suave); max-width: 22em; }

/* ---------- Cardápio ---------- */
.cardapio { padding-top: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--creme-escuro); margin-bottom: clamp(32px, 4vw, 48px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 1rem; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.tabs button svg { height: 28px; width: auto; }
.tabs button[aria-selected="true"] { background: var(--creme-claro); box-shadow: 0 2px 10px rgba(90, 30, 58, .12); }
.tabs button:not([aria-selected="true"]):hover { background: rgba(255,255,255,.45); }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.menu-grid.is-switching { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.noscript { grid-column: 1 / -1; }

.p-card { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.p-media { position: relative; aspect-ratio: 1 / .96; display: grid; }
.p-media .arch { position: absolute; left: 11%; right: 11%; bottom: 0; --ar: .84; --rb: 18px; }
.p-media .bg-sorvetes { background: var(--sol-claro); }
.p-media .bg-acai { background: var(--vinho-claro); }
.p-media .bg-picoles { background: var(--morango-claro); }
.p-media img { position: absolute; left: 50%; bottom: -4%; width: 94%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; transform: translateX(-50%); transition: transform .4s var(--ease); }
.p-card:hover .p-media img { transform: translateX(-50%) translateY(-6px) rotate(-1.5deg); }
.p-body { display: flex; flex-direction: column; gap: 8px; }
.p-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
.p-desc { color: var(--texto-suave); margin: 0; font-size: 1rem; }
.p-extra { font-size: var(--fs-sm); color: var(--texto-suave); margin: 0; }
.p-extra strong { color: var(--texto); font-weight: 600; }
.p-price { font-weight: 700; font-size: 1.15rem; margin: 2px 0 0; }
.p-price small { font-weight: 500; font-size: var(--fs-sm); color: var(--texto-suave); }
.p-actions { margin-top: auto; padding-top: 12px; }
.p-unavailable { font-weight: 600; color: var(--texto-suave); }
.t-short { display: none; }
.tag-ilustrativa { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(252, 246, 239, .92); color: var(--vinho); font-size: .75rem; font-weight: 600; }

/* Cartão largo (picolé com imagem ilustrativa) */
.p-card.is-wide { grid-column: 1 / -1; max-width: 940px; grid-template-columns: 1.35fr 1fr; grid-template-rows: none; align-items: center; gap: clamp(20px, 3vw, 40px); }
.p-card.is-wide .p-media { aspect-ratio: 1.83; border-radius: var(--radius); overflow: hidden; }
.p-card.is-wide .p-media img { left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.p-card.is-wide:hover .p-media img { transform: scale(1.03); }

/* ---------- Como pedir ---------- */
.como { position: relative; background: var(--sol); margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(48px, 7vw, 88px); }
.wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 5vw, 72px); pointer-events: none; }
.wave-top { bottom: calc(100% - 1px); fill: var(--sol); }
.como .h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.steps { list-style: none; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-content: start; }
.step-n { grid-row: span 2; font-size: clamp(3.4rem, 2.6rem + 3vw, 5.2rem); font-weight: 700; font-style: italic; line-height: .85; color: var(--creme); }
.steps h3 { font-size: var(--fs-h3); font-weight: 600; margin: 4px 0 8px; }
.steps p { margin: 0; color: var(--vinho); }
.como-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Onde e quando ---------- */
.onde .h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.info-grid { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 28px; background: var(--creme-claro); box-shadow: 0 1px 0 rgba(90,30,58,.06); overflow: hidden; }
.info-item { padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.info-item + .info-item { border-left: 1px solid rgba(90, 30, 58, .1); }
.info-item dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.info-item dt svg { width: 26px; height: 26px; color: var(--sol-hover); flex: none; }
.info-item dd { margin: 0; color: var(--texto-suave); font-size: 1rem; }
.info-item dd p { margin: 0 0 4px; }
.info-item dd a { font-weight: 600; color: var(--vinho); text-underline-offset: 3px; }
.info-item .hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 14px; margin: 0; }
.info-item .hours span:nth-child(odd) { color: var(--texto); }

/* ---------- Sobre ---------- */
.sobre { padding-top: clamp(32px, 5vw, 64px); }
.sobre-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sobre-copy { max-width: 36em; }
.sobre-copy .h2 { margin-bottom: 22px; }
.sobre-quote { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 600; line-height: 1.35; margin-bottom: 18px; }
.sobre-copy p:not(.sobre-quote):not(.sobre-sign) { color: var(--texto-suave); }
.sobre-sign { font-weight: 700; font-style: italic; font-size: 1.15rem; margin: 26px 0 0; }
.sobre-visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.plate { position: absolute; border-radius: 50%; display: grid; place-items: center; }
.plate img { width: 86%; filter: drop-shadow(0 12px 18px rgba(90,30,58,.14)); }
.plate-sol { inset: 0 16% 16% 0; background: var(--sol-claro); }
.plate-morango { width: 46%; aspect-ratio: 1; right: 0; bottom: 0; background: var(--morango-claro); border: 8px solid var(--creme); }
.plate-morango img { width: 78%; }

/* ---------- Dúvidas ---------- */
.faq-wrap > * { max-width: 820px; }
.duvidas .h2 { margin-bottom: clamp(24px, 4vw, 40px); }
.faq details { border-bottom: 1px solid rgba(90, 30, 58, .16); }
.faq details:first-child { border-top: 1px solid rgba(90, 30, 58, .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--creme-escuro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235A1E3A' stroke-width='2.2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sol); }
.faq .faq-a { padding: 0 4px 22px; color: var(--texto-suave); max-width: 62ch; }
.faq-more { margin-top: 28px; color: var(--texto-suave); }
.faq-more a { color: var(--vinho); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--vinho); color: var(--creme); margin-top: clamp(56px, 8vw, 96px); padding: clamp(40px, 6vw, 64px) 0 calc(28px + env(safe-area-inset-bottom)); }
.wave-footer { bottom: calc(100% - 1px); fill: var(--vinho); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(247, 237, 226, .16); }
.footer-brand img { width: 168px; margin-bottom: 22px; }
.footer-desc { font-size: .8rem; }
.footer-slogan { font-weight: 700; font-style: italic; font-size: 1.35rem; margin: 0; }
.footer-h { font-size: 1rem; font-weight: 600; color: var(--sol); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links svg { width: 20px; height: 20px; flex: none; }
.footer-links li { color: rgba(247, 237, 226, .85); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: .8rem; color: rgba(247, 237, 226, .72); }
.footer-legal p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: flex-end; gap: 10px; transition: bottom .3s var(--ease); }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--whats); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(18, 140, 126, .35), 0 2px 6px rgba(0,0,0,.12); transition: transform .25s var(--ease); }
.wa-btn:hover { transform: scale(1.07); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-bubble { position: relative; max-width: 240px; padding: 14px 40px 14px 16px; border-radius: 18px 18px 4px 18px; background: var(--creme-claro); color: var(--vinho); font-size: .9rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(90, 30, 58, .18); margin-bottom: 30px; }
.wa-bubble p { margin: 0; }
.wa-bubble-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; color: var(--texto-suave); }
.wa-bubble-close svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .wa-bubble:not([hidden]) { animation: drop .4s var(--ease) both; } }


/* ---------- v2: pedidos pelo iFood ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ext { width: 16px !important; height: 16px !important; flex: none; }
.header-cta { min-height: 46px; padding: 0 22px; font-size: .95rem; }
.price-note { margin: 0; font-size: var(--fs-sm); color: var(--texto-suave); }

.hero-meta { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--texto-suave); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #B9A6AE; box-shadow: 0 0 0 4px rgba(90,30,58,.08); }
.status.is-open .dot { background: var(--folha); box-shadow: 0 0 0 4px rgba(107,127,78,.18); }
.status.is-open { color: var(--texto); font-weight: 500; }
.nota svg { width: 18px; height: 18px; color: var(--sol-hover); }
.nota strong { color: var(--texto); font-weight: 600; }
.status-inline { margin-top: 8px !important; font-weight: 500; color: var(--texto); }

.p-card { position: relative; }
.p-link { text-decoration: none; color: inherit; }
.p-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.p-link:focus-visible { outline: none; }
.p-link:focus-visible::after { outline: 3px solid var(--vinho); outline-offset: 6px; }
.p-card:hover .p-title .p-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sol); }
.p-opts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.p-opts a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px 0 18px; border-radius: 999px; border: 2px solid var(--vinho); text-decoration: none; font-size: .95rem; font-weight: 500; transition: background-color .2s, color .2s; }
.p-opts a:hover { background: var(--vinho); color: var(--creme); }
.p-opts .o-preco { font-weight: 700; }
.p-opts .ext { opacity: .7; }
.p-price { font-weight: 700; font-size: 1.15rem; margin: 2px 0 0; }
.p-price small { font-weight: 500; font-size: var(--fs-sm); color: var(--texto-suave); }
.p-cta { position: relative; z-index: 2; min-height: 46px; padding: 0 18px; font-size: .95rem; }
.selo { position: absolute; left: 6%; top: 4%; z-index: 2; padding: 4px 12px; border-radius: 999px; background: var(--sol); color: var(--vinho); font-size: .75rem; font-weight: 700; }
.p-media img.is-wide-img { width: 116%; }
.p-card.is-off .p-media img { filter: grayscale(.6); opacity: .7; }
.p-card.is-wide .selo { left: 12px; top: 12px; }

@media (max-width: 640px) {
  .header-cta { min-height: 42px; padding: 0 16px; font-size: .88rem; }
  .hero-meta { margin-top: 20px; font-size: .9rem; }
  .p-opts { gap: 6px; }
  .p-opts a { min-height: 42px; padding: 0 12px 0 14px; font-size: .88rem; gap: 8px; }
  .p-cta { min-height: 42px; }
  .selo { font-size: .62rem; padding: 2px 7px; left: 2px; top: 0; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .header-actions { gap: 2px; }
  .header-cta { padding: 0 12px; font-size: .84rem; }
  .menu-btn { width: 42px; height: 42px; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1080px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-item:nth-child(3) { border-left: 0; }
  .info-item:nth-child(n+3) { border-top: 1px solid rgba(90, 30, 58, .1); }
}

@media (max-width: 960px) {
  :root { --header-h: 96px; }
  .menu-btn { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--nav-top, 100px) 0 auto 0; z-index: 39;
    background: var(--creme); padding: 8px var(--gutter) 28px; box-shadow: 0 20px 30px rgba(46,14,30,.12);
    display: none;
  }
  .main-nav.is-open { display: block; animation: fadeIn .25s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: block; padding: 16px 0; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid rgba(90,30,58,.1); background: none; }
  .nav-whats { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; text-decoration: none; font-weight: 600; }
  .nav-whats svg { width: 22px; height: 22px; color: #1DA851; }
  .site-header.menu-open .ic-open { display: none; }
  .site-header.menu-open .ic-close { display: block; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; justify-self: center; width: 100%; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-card.is-wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .sobre { padding-top: clamp(32px, 5vw, 64px); }
.sobre-inner { grid-template-columns: 1fr; }
  .sobre-visual { max-width: 340px; order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --fs-base: 1rem; }
  .hero { padding-top: 4px; }
  .hero-title { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-visual { margin-top: 8px; }

  .cat-list { gap: 10px; }
  .cat { gap: 10px; text-align: center; }
  .cat-arch { --ar: .7; --rb: 14px; padding: 20% 10% 14%; grid-template-rows: 1fr; }
  .cat-icon { max-height: 74%; margin-top: 0; }
  .cat-arch .cat-name { display: none; }
  .cat-text { display: none; }
  .cat::after { content: attr(data-label); font-weight: 600; font-size: .95rem; }

  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; justify-content: center; padding: 0 10px; gap: 6px; font-size: .95rem; }
  .tabs button svg { height: 24px; }

  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .p-card, .p-card.is-wide { grid-template-columns: 116px 1fr; grid-template-rows: none; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgba(90,30,58,.1); grid-column: auto; }
  .p-card:first-child { padding-top: 0; }
  .p-media { aspect-ratio: 1; }
  .p-media .arch { --rb: 12px; }
  .p-card.is-wide .p-media { aspect-ratio: 1; border-radius: 16px; }
  .p-card.is-wide .p-media img { object-position: 78% 50%; }
  .tag-ilustrativa { left: 5px; bottom: 5px; font-size: .64rem; padding: 1px 7px; }
  .t-long { display: none; }
  .t-short { display: inline; }
  .p-title { font-size: 1.12rem; }
  .p-desc { font-size: .95rem; }
  .p-actions { padding-top: 8px; }

  .info-grid { grid-template-columns: 1fr; border-radius: 22px; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid rgba(90, 30, 58, .1); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; }

  .wa-bubble { max-width: 210px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
