/* Quintal da Dona Zélia — azulejo de cozinha + quadro de cardápio */
:root {
  --cor-marca: #1d4f91;
  --cor-fundo: #ffffff;
  --cor-fundo-claro: #eaf1fa;
  --cor-destaque: #f2c14e;
  --cor-preco: #c8372d;
  --cor-texto: #1a1d24;
  --cor-suave: #4a5163;
  --foco: #c8372d;
  --altura-topo: 76px;
  --largura: 1180px;
  --titulo: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* azulejo claro: desenho azul no branco */
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Crect width='56' height='56' fill='%23fff'/%3E%3Cpath d='M0 16A16 16 0 0 0 16 0M40 0a16 16 0 0 0 16 16M56 40a16 16 0 0 0-16 16M16 56A16 16 0 0 0 0 40' fill='none' stroke='%231d4f91' stroke-width='3'/%3E%3Cg fill='%231d4f91'%3E%3Cpath d='M28 28c-4-5-4-11 0-16 4 5 4 11 0 16z'/%3E%3Cpath d='M28 28c5-4 11-4 16 0-5 4-11 4-16 0z'/%3E%3Cpath d='M28 28c4 5 4 11 0 16-4-5-4-11 0-16z'/%3E%3Cpath d='M28 28c-5 4-11 4-16 0 5-4 11-4 16 0z'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='3.5' fill='%23f2c14e'/%3E%3C/svg%3E");
  /* azulejo apagado: para o fundo azul da capa, sem atrapalhar a leitura */
  --azulejo-fundo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cpath d='M0 16A16 16 0 0 0 16 0M40 0a16 16 0 0 0 16 16M56 40a16 16 0 0 0-16 16M16 56A16 16 0 0 0 0 40' fill='none' stroke='%232a5c9e' stroke-width='3'/%3E%3Cg fill='%23285a9b'%3E%3Cpath d='M28 28c-4-5-4-11 0-16 4 5 4 11 0 16z'/%3E%3Cpath d='M28 28c5-4 11-4 16 0-5 4-11 4-16 0z'/%3E%3Cpath d='M28 28c4 5 4 11 0 16-4-5-4-11 0-16z'/%3E%3Cpath d='M28 28c-5 4-11 4-16 0 5-4 11-4 16 0z'/%3E%3C/g%3E%3C/svg%3E");
}

body {
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font: 17px/1.55 var(--texto);
}
h1, h2, h3 { font-family: var(--titulo); font-optical-sizing: auto; }
h2 { font-weight: 800; font-stretch: 75%; font-size: clamp(2.5rem, 11vw, 4.6rem); line-height: .92; letter-spacing: -.005em; color: var(--cor-marca); }
h3 { font-weight: 700; font-size: 1.45rem; line-height: 1.1; }

.faixa-azulejo, .pedir::before, .rodape::before, .pdia::before, .pdia::after {
  background: var(--azulejo) left center / 28px 28px repeat-x;
}

/* ---------- botões ---------- */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.botao:active { transform: translateY(1px); }
.botao svg { width: 22px; height: 22px; flex: none; }
.botao--pedido { background: var(--cor-destaque); color: var(--cor-texto); }
.botao--pedido:hover { background: #ffd36a; }
.botao--linha { border-color: rgba(255, 255, 255, .85); color: #fff; }
.botao--linha:hover { background: rgba(255, 255, 255, .12); }
.botao--escuro { background: var(--cor-texto); color: #fff; }
.botao--escuro:hover { background: #000; }
.botao--marca { background: var(--cor-marca); color: #fff; }
.botao--marca:hover { background: #163d70; }
.botao--contorno { border-color: var(--cor-marca); color: var(--cor-marca); }

/* ---------- status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .7; }
.status[data-aberto="sim"] { background: var(--cor-destaque); color: var(--cor-texto); }
.status[data-aberto="sim"]::before { background: #1f7a3f; opacity: 1; }
.status--claro { background: var(--cor-fundo-claro); color: var(--cor-texto); margin-top: 16px; }

/* ---------- topo + capa ---------- */
.capa-fundo {
  background: var(--azulejo-fundo) center top / 56px 56px, var(--cor-marca);
  color: #fff;
}
.topo {
  max-width: var(--largura); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
}
.topo__marca { display: block; border-radius: 8px; }
.topo__marca img { width: 44px; height: 44px; }
.topo__nav { display: flex; gap: 4px; font-size: 15px; font-weight: 600; }
.topo__nav a { color: #fff; text-decoration: none; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 6px; }
.topo__nav a:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 400px) { .topo__nav a:nth-child(2) { display: none; } }

.capa {
  max-width: var(--largura); margin: 0 auto;
  display: grid; gap: 32px;
  padding: 20px 16px 56px;
}
.capa h1 {
  font-weight: 800; font-stretch: 75%;
  font-size: clamp(3.4rem, 17vw, 7.4rem); line-height: .96; letter-spacing: -.01em;
  margin: 18px 0 18px;
}
.capa__slogan { font-size: 1.15rem; max-width: 30ch; color: #e6eefa; margin-bottom: 26px; }
.capa__foto { position: relative; }
.capa__foto img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 6px solid #fff; border-radius: 10px;
  box-shadow: 10px 10px 0 var(--cor-destaque);
}
@media (min-width: 900px) {
  .capa { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding: 32px 32px 88px; }
  .topo { padding: 18px 32px; }
  .capa__foto img { aspect-ratio: 5 / 4; box-shadow: 18px 18px 0 var(--cor-destaque); }
}

/* ---------- prato do dia (a peça principal) ---------- */
.pdia { background: var(--cor-destaque); position: relative; }
.pdia::before, .pdia::after { content: ""; display: block; height: 28px; }
.pdia__dentro { max-width: var(--largura); margin: 0 auto; padding: 36px 16px 44px; }
.pdia__dia {
  font-weight: 700; font-stretch: 100%; color: var(--cor-texto);
  font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1.1; letter-spacing: 0;
}
.pdia__dia span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pdia__prato {
  font-family: var(--titulo); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.5rem, 11.5vw, 5.6rem); line-height: .92; letter-spacing: -.01em;
  margin: 14px 0 18px; max-width: 18ch; text-wrap: balance;
}
.pdia__info { font-size: 1.08rem; font-weight: 500; max-width: 40ch; margin-bottom: 24px; }
.pdia__foto { display: none; }
@media (min-width: 900px) {
  .pdia__dentro { padding: 56px 32px 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  .pdia__foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; border-radius: 10px; box-shadow: 18px 18px 0 var(--cor-marca); }
}

/* ---------- cardápio ---------- */
.cardapio { max-width: var(--largura); margin: 0 auto; padding: 64px 0 24px; }
.cardapio__topo { padding: 0 16px; }
.cardapio__topo p { margin-top: 12px; color: var(--cor-suave); max-width: 44ch; }

.chips {
  position: sticky; top: 0; z-index: 40;
  margin-top: 24px; padding: 10px 0;
  background: #fff;
  border-bottom: 2px solid var(--cor-fundo-claro);
  overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 16px;
}
.chips::-webkit-scrollbar { display: none; }
.chips .chips__lista { display: flex; gap: 8px; padding: 0 16px; width: max-content; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--cor-marca); border-radius: 999px;
  color: var(--cor-marca); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.chips a:hover { background: var(--cor-fundo-claro); }
.chips a[aria-current] { background: var(--cor-marca); color: #fff; }

.menu { padding: 8px 16px 0; }
.categoria { padding-top: 36px; break-inside: avoid; scroll-margin-top: 76px; }
.categoria__nome { display: flex; align-items: center; gap: 12px; font-size: 1.7rem; font-weight: 800; color: var(--cor-texto); }
.categoria__nome::before { content: ""; width: 26px; height: 26px; flex: none; background: var(--azulejo) center / 26px 26px; border-radius: 3px; outline: 2px solid var(--cor-marca); outline-offset: -1px; }
.categoria__nota { margin-top: 6px; color: var(--cor-suave); font-style: italic; font-size: 1rem; }
.itens { margin-top: 10px; }
.item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center;
  padding: 10px 0 2px; border-bottom: 1px solid #e3e9f2;
}
.item__linha { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 6px; }
.item__nome { font-weight: 700; font-size: 1.06rem; }
.item__pontos { flex: 1 1 24px; min-width: 24px; border-bottom: 3px dotted #a9bad3; transform: translateY(-5px); }
.item__preco { font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; color: var(--cor-preco); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item__desc { color: var(--cor-suave); font-size: .97rem; line-height: 1.4; }
.item__pedir {
  justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px 0 12px;
  color: var(--cor-marca); font-weight: 700; font-size: .95rem; text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .cardapio { padding-top: 96px; }
  .cardapio__topo, .menu { padding-left: 32px; padding-right: 32px; }
  .chips .chips__lista { padding: 0 32px; }
  .menu { columns: 2; column-gap: 72px; }
}

/* ---------- como pedir ---------- */
.pedir { background: var(--cor-fundo-claro); margin-top: 56px; }
.pedir::before { content: ""; display: block; height: 28px; }
.pedir > h2, .pedir__grade { max-width: var(--largura); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.pedir > h2 { padding-top: 48px; }
.pedir__grade { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 64px; }
.pedir__bloco h3 { margin-bottom: 10px; }
.pedir__bloco > p { max-width: 38ch; margin-bottom: 18px; }
.taxas { max-width: 420px; }
.taxas li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.taxas li span:first-child { flex: 1; display: flex; align-items: baseline; gap: 8px; font-weight: 600; }
.taxas li span:first-child::after { content: ""; flex: 1; border-bottom: 3px dotted #a9bad3; transform: translateY(-5px); }
.taxas li span:last-child { font-family: var(--titulo); font-weight: 800; color: var(--cor-texto); }
.pedir__obs { margin-top: 12px; color: var(--cor-suave); font-size: .97rem; }
@media (min-width: 900px) {
  .pedir > h2, .pedir__grade { padding-left: 32px; padding-right: 32px; }
  .pedir__grade { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- a casa e depoimentos ---------- */
.casa { max-width: var(--largura); margin: 0 auto; padding: 72px 16px 24px; display: grid; gap: 40px; }
.casa__texto p { margin-top: 18px; font-size: 1.15rem; max-width: 46ch; }
.depoimentos { display: grid; gap: 18px; }
.depoimento {
  position: relative; padding: 22px 20px 18px 20px;
  background: #fff; border: 2px solid var(--cor-texto); border-radius: 4px;
}
.depoimento:nth-of-type(2) { background: var(--cor-fundo-claro); }
.depoimento blockquote p { font-size: 1.08rem; }
.depoimento blockquote p::before { content: "“"; display: block; font-family: var(--titulo); font-weight: 800; font-size: 3.4rem; line-height: .5; height: 22px; color: var(--cor-marca); }
.depoimento__quem { margin-top: 12px; font-size: .95rem; color: var(--cor-suave); font-weight: 600; }
@media (min-width: 900px) {
  .casa { padding: 104px 32px 32px; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .depoimentos { grid-template-columns: 1fr 1fr; }
  .depoimento:first-of-type { grid-column: 1 / -1; }
}

/* ---------- instagram ---------- */
.insta { max-width: var(--largura); margin: 0 auto; padding: 56px 16px 24px; }
.insta__topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.insta__perfil { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; font-weight: 700; color: var(--cor-marca); text-underline-offset: 3px; }
.insta__grade { display: block; border-radius: 8px; }
.insta__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.insta__fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.insta__grade:hover img { filter: saturate(1.1); }
@media (min-width: 900px) { .insta { padding: 80px 32px 32px; } .insta__fotos { grid-template-columns: repeat(4, 1fr); gap: 10px; } }

/* ---------- onde estamos ---------- */
.onde { max-width: var(--largura); margin: 0 auto; padding: 56px 16px 72px; display: grid; gap: 32px; }
.onde__endereco { margin: 18px 0 20px; font-size: 1.15rem; }
.onde h3 { margin: 32px 0 6px; }
.horario { max-width: 420px; }
.horario > div { border-bottom: 1px solid #e3e9f2; }
.horario dd { font-variant-numeric: tabular-nums; }
.horario .hoje { color: var(--cor-marca); }
.horario .fechado dd { color: var(--cor-suave); }
.onde__mapa { border-radius: 10px; border: 2px solid var(--cor-texto); }
@media (min-width: 900px) {
  .onde { grid-template-columns: 1fr 1.3fr; gap: 64px; padding: 88px 32px 104px; align-items: start; }
}

/* ---------- rodapé ---------- */
.rodape { background: var(--cor-marca); color: #fff; text-align: center; padding: 0 16px 104px; font-size: 15px; }
.rodape::before { content: ""; display: block; height: 28px; margin: 0 -16px 36px; }
.rodape p + p { margin-top: 6px; }
.rodape a { color: #fff; display: inline-block; padding: 6px 0; }
.rodape__nome { font-family: var(--titulo); font-weight: 800; font-stretch: 75%; font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.rodape__feito { margin-top: 18px !important; opacity: .85; }

/* ---------- WhatsApp flutuante no tom da casa ---------- */
.wa-flutuante { border-radius: 14px; font-family: var(--texto); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .chips { scroll-behavior: auto; } }
