/* =========================================================
   Boutique da Carne Santa Mônica — Template 2 "Etiqueta"
   Mesma paleta do logo. O elemento marcante é a etiqueta
   de balança de açougue, usada na ficha da carne e na
   calculadora.
   ========================================================= */

:root {
  --carvao: #1c1714;
  --brasa: #27201b;
  --couro: #3a2e26;
  --vermelho: #d4171e;
  --vermelho-escuro: #a80f15;
  --gordura: #f1e6d6;
  --papel: #f7f0e4;          /* papel da etiqueta */
  --osso: #b8a894;
  --tinta: #4d3f34;          /* texto sobre fundo claro */
  --linha: rgba(241, 230, 214, 0.14);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Karla", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --largura: 1160px;
  --respiro: clamp(4.5rem, 10vw, 8rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--carvao);
  color: var(--gordura);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--gordura);
  outline-offset: 3px;
  border-radius: 2px;
}

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pular {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--gordura);
  color: var(--carvao);
  padding: .6rem 1rem;
  z-index: 100;
  text-decoration: none;
}
.pular:focus { top: 1rem; }

/* ---------- Botões e links ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.6rem;
  background: var(--vermelho);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--vermelho);
  border-radius: 2px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.botao:hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); }

.botao--linha {
  background: transparent;
  color: var(--gordura);
  border-color: rgba(241, 230, 214, .5);
}
.botao--linha:hover { background: var(--gordura); color: var(--carvao); border-color: var(--gordura); }

.botao--pequeno { min-height: 2.5rem; padding: .4rem 1rem; font-size: .92rem; }
.botao--largo { width: 100%; }

.link-sublinhado {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--vermelho);
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.link-sublinhado:hover { text-decoration-color: currentColor; }

/* ---------- Cabeçalho: navegação | logo | pedido ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 23, 20, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
  padding-top: env(safe-area-inset-top, 0px);
}
.topo__inner {
  max-width: var(--largura);
  margin: 0 auto;
  padding: .6rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.topo__nav { display: flex; gap: 1.5rem; }
.topo__nav a {
  color: var(--osso);
  text-decoration: none;
  font-size: .98rem;
}
.topo__nav a:hover { color: var(--gordura); }
.topo__logo img { width: 160px; }
.topo__cta { justify-self: end; }

.topo__menu {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.topo__menu-barra,
.topo__menu-barra::before,
.topo__menu-barra::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--gordura);
  transition: transform .2s ease;
}
.topo__menu-barra { top: 21px; }
.topo__menu-barra::before,
.topo__menu-barra::after { content: ""; left: 0; }
.topo__menu-barra::before { top: -7px; }
.topo__menu-barra::after { top: 7px; }
.topo__menu[aria-expanded="true"] .topo__menu-barra { background: transparent; }
.topo__menu[aria-expanded="true"] .topo__menu-barra::before { transform: translateY(7px) rotate(45deg); }
.topo__menu[aria-expanded="true"] .topo__menu-barra::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Abertura centralizada, vídeo como vitrine ---------- */
.abertura {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem var(--respiro);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 45% at 50% 62%, rgba(212, 23, 30, .22), transparent 70%),
    var(--carvao);
}
.abertura__local {
  color: var(--osso);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 auto 1.4rem;
}
.abertura__titulo {
  font-size: clamp(2.8rem, 8.4vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 17ch;
}

.abertura__grade {
  max-width: var(--largura);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

/* Janela em forma de brasão, como a moldura do logo */
.abertura__vitrine {
  position: relative;
  aspect-ratio: 1;
  border-radius: 210px 210px 4px 4px;
  overflow: hidden;
  outline: 1.5px solid var(--vermelho);
  outline-offset: 10px;
  background: #3a2418;
}
.abertura__vitrine video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abertura__lado { color: var(--osso); text-align: left; }
.abertura__lado--esq { max-width: 22rem; justify-self: start; margin: 0; }
.abertura__lado--dir {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.abertura__lado--dir .link-sublinhado { color: var(--gordura); }
.abertura__hoje {
  margin: 0;
  font-weight: 500;
  color: var(--gordura);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.abertura__hoje::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--osso);
}
.abertura__hoje.aberto::before { background: #4cc46a; }

/* ---------- Etiqueta de balança (elemento marcante) ---------- */
.etiqueta {
  background: var(--papel);
  color: var(--carvao);
  border-radius: 3px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.etiqueta__topo {
  background: var(--carvao);
  padding: .9rem 1.4rem;
  border-bottom: 4px solid var(--vermelho);
}
.etiqueta__topo img { width: 150px; margin: 0 auto; }

.etiqueta__campos { margin: 0; padding: .6rem 1.4rem; }
.etiqueta__campos div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed rgba(28, 23, 20, .3);
}
.etiqueta__campos div:last-child { border-bottom: 0; }
.etiqueta dt { font-size: .88rem; color: var(--tinta); font-weight: 500; }
.etiqueta dd { margin: 0; font-weight: 700; }

.etiqueta__base {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.2rem;
  border-top: 1.5px solid var(--carvao);
}
.etiqueta__barras {
  display: block;
  width: 150px;
  height: 42px;
  background: repeating-linear-gradient(90deg,
    var(--carvao) 0 2px, transparent 2px 4px,
    var(--carvao) 4px 5px, transparent 5px 8px,
    var(--carvao) 8px 11px, transparent 11px 12px,
    var(--carvao) 12px 13px, transparent 13px 16px);
}
.etiqueta__desde {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  text-align: right;
}

/* ---------- Procedência ---------- */
.procedencia {
  padding: var(--respiro) 1.25rem;
  background: var(--brasa);
}
.procedencia__inner {
  max-width: var(--largura);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.procedencia h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 1.5rem; max-width: 12ch; }
.procedencia__texto p { color: var(--osso); max-width: 33rem; font-size: 1.1rem; }
.procedencia .etiqueta { transform: rotate(1.5deg); }

/* ---------- Especialista ---------- */
.especialista { padding: var(--respiro) 1.25rem; }
.especialista__inner {
  max-width: var(--largura);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.especialista__video {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--brasa);
}
.especialista__video video { width: 100%; height: 100%; object-fit: cover; }
.especialista h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-style: italic;
  margin-bottom: 1.4rem;
}
.especialista__texto p { color: var(--osso); max-width: 34rem; font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Cortes em abas ---------- */
.cortes {
  padding: var(--respiro) 1.25rem;
  background: var(--papel);
  color: var(--carvao);
}
.cortes__inner { max-width: 880px; margin: 0 auto; }
.cortes__cabecalho { text-align: center; margin-bottom: 2.5rem; }
.cortes__cabecalho h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); margin-bottom: .8rem; }
.cortes__cabecalho p { color: var(--tinta); max-width: 34rem; margin: 0 auto; }

.abas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem 1.8rem;
  border-bottom: 1.5px solid var(--carvao);
  margin-bottom: 1rem;
}
.aba {
  background: none;
  border: 0;
  padding: .9rem .2rem;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--tinta);
  cursor: pointer;
  border-bottom: 4px solid transparent;
  margin-bottom: -1.5px;
}
.aba:hover { color: var(--carvao); }
.aba[aria-selected="true"] {
  color: var(--carvao);
  font-weight: 700;
  border-bottom-color: var(--vermelho);
}

.lista-cortes { list-style: none; margin: 0; padding: 0; }
.lista-cortes li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(28, 23, 20, .15);
}
.lista-cortes h3 { font-size: 1.7rem; margin-bottom: .25rem; }
.lista-cortes p { margin: 0; color: var(--tinta); }
.lista-cortes .botao--linha { color: var(--carvao); border-color: rgba(28, 23, 20, .45); flex-shrink: 0; }
.lista-cortes .botao--linha:hover { background: var(--carvao); color: var(--papel); border-color: var(--carvao); }

/* ---------- Faixas: almoço e presentes ---------- */
.faixa { padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
.faixa__inner {
  max-width: var(--largura);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.faixa__grande {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -.02em;
}
.faixa h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.faixa p:not(.faixa__grande) { max-width: 32rem; margin-bottom: 1.6rem; }

.faixa--escura { background: var(--carvao); border-top: 1px solid var(--linha); }
.faixa--escura .faixa__grande { color: var(--vermelho); }
.faixa--escura p:not(.faixa__grande) { color: var(--osso); }

.faixa--clara { background: var(--vermelho); color: #fff; }
.faixa--clara .faixa__grande { font-style: italic; }
.faixa--clara .botao { background: #fff; color: var(--vermelho-escuro); border-color: #fff; }
.faixa--clara .botao:hover { background: var(--carvao); color: #fff; border-color: var(--carvao); }

/* ---------- Calculadora ---------- */
.calculadora { padding: var(--respiro) 1.25rem; background: var(--brasa); }
.calculadora__inner { max-width: var(--largura); margin: 0 auto; }
.calculadora__cabecalho { margin-bottom: 3rem; max-width: 40rem; }
.calculadora__cabecalho h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 1rem; }
.calculadora__cabecalho p { color: var(--osso); margin: 0 0 1em; }
.calculadora__cabecalho p:last-child { margin-bottom: 0; }
.calculadora__regra { font-size: .95rem; }

/* ---------- Perguntas frequentes ---------- */
.faq { padding: var(--respiro) 1.25rem; border-top: 1px solid var(--linha); }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-of-type { border-top: 1px solid var(--linha); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--vermelho);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--osso); max-width: 40rem; margin: 0 0 1.4rem; }

.calc {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.calc fieldset { border: 0; margin: 0 0 2.2rem; padding: 0; }
.calc legend {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding: 0;
}

.calc__convidados .contador {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--linha);
}
.contador__controles { display: flex; align-items: center; gap: .4rem; }
.contador button {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 2px;
  border: 1.5px solid rgba(241, 230, 214, .4);
  background: transparent;
  color: var(--gordura);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.contador button:hover { border-color: var(--gordura); background: rgba(241, 230, 214, .08); }
.contador output {
  min-width: 2.8rem;
  text-align: center;
  font-family: var(--display);
  font-size: 1.7rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.opcoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.opcoes label { cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcoes span {
  display: inline-block;
  padding: .55rem 1.1rem;
  border: 1.5px solid rgba(241, 230, 214, .35);
  border-radius: 2px;
  color: var(--osso);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.opcoes input:checked + span { background: var(--gordura); border-color: var(--gordura); color: var(--carvao); font-weight: 700; }
.opcoes input:focus-visible + span { outline: 2px solid var(--gordura); outline-offset: 3px; }

/* etiqueta da calculadora */
.etiqueta--calc { position: sticky; top: 6.5rem; padding-bottom: 1.4rem; }
.etiqueta--calc > *:not(.etiqueta__topo) { margin-left: 1.4rem; margin-right: 1.4rem; }
.etiqueta__pessoas { margin-top: 1.1rem; color: var(--tinta); }
.etiqueta__itens {
  list-style: none;
  padding: .6rem 0 0;
  margin-bottom: .8rem;
  border-top: 1px dashed rgba(28, 23, 20, .35);
}
.etiqueta__itens li { display: flex; justify-content: space-between; padding: .3rem 0; }
.etiqueta__itens strong { font-weight: 700; }
.etiqueta__peso {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .9rem 1rem;
  background: var(--carvao);
  color: var(--gordura);
  border-radius: 2px;
}
.etiqueta__peso span { font-size: .92rem; }
.etiqueta__peso strong { font-family: var(--display); font-size: 2.1rem; line-height: 1; font-weight: 600; }
.etiqueta__carvao { display: flex; justify-content: space-between; margin-top: .8rem; margin-bottom: .6rem; color: var(--tinta); }
.etiqueta__carvao strong { color: var(--carvao); }
.etiqueta__aviso { font-size: .9rem; color: var(--tinta); margin-bottom: 1rem; }
.etiqueta__aviso.erro { color: var(--vermelho-escuro); font-weight: 700; }
.etiqueta--calc .etiqueta__barras { margin-bottom: 1.2rem; width: auto; height: 34px; }
.etiqueta--calc .botao--largo { display: flex; width: auto; }
.etiqueta--calc .botao[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Visite: mapa com cartão por cima ---------- */
.visite {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.visite__mapa { grid-area: 1 / 1; min-height: 620px; }
.visite__mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  display: block;
  filter: grayscale(.5) contrast(1.05);
}
.visite__cartao {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  margin-left: max(1.25rem, calc((100vw - var(--largura)) / 2));
  width: min(440px, calc(100% - 2.5rem));
  background: var(--carvao);
  padding: 2.4rem;
  border-top: 4px solid var(--vermelho);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  position: relative;
}
.visite h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.visite__endereco { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--osso); }
.horarios { width: 100%; border-collapse: collapse; margin: .5rem 0 1.8rem; }
.horarios th, .horarios td {
  padding: .65rem 0;
  border-bottom: 1px solid var(--linha);
  text-align: left;
  font-weight: 400;
}
.horarios th { color: var(--osso); }
.horarios td { text-align: right; font-variant-numeric: tabular-nums; }
.visite__acoes { display: flex; flex-direction: column; gap: .7rem; }

/* ---------- Rodapé ---------- */
.rodape {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--linha);
}
.rodape img { width: 170px; margin: 0 auto 1rem; opacity: .9; }
.rodape p { margin: 0; color: var(--osso); font-size: .92rem; }
.rodape__dados {
  font-style: normal;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem 3rem;
  margin: 0 auto 1.4rem;
  line-height: 1.6;
}
.rodape__dados a { color: var(--gordura); text-decoration: none; }
.rodape__dados a:hover { text-decoration: underline; }
.rodape .rodape__legal { font-size: .85rem; margin-bottom: .3rem; }

/* ---------- Faixa de crédito ---------- */
.credito {
  background: #120e0c;
  text-align: center;
  padding: .45rem 1rem calc(.45rem + env(safe-area-inset-bottom, 0px));
  font-size: .78rem;
  letter-spacing: .02em;
}
.credito a { color: var(--osso); text-decoration: none; }
.credito a:hover { color: var(--gordura); text-decoration: underline; }

/* ---------- WhatsApp flutuante (celular) ---------- */
.whats-flutuante {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  z-index: 40;
}
.whats-flutuante svg { width: 1.9rem; height: 1.9rem; }

/* ========================= Responsivo ========================= */
@media (max-width: 960px) {
  .topo__inner { grid-template-columns: auto 1fr auto; }
  .topo__logo { justify-self: center; }
  .topo__logo img { width: 130px; }
  .topo__menu { display: block; }
  .topo__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1.2rem;
    background: var(--carvao);
    border-bottom: 1px solid var(--linha);
    display: none;
  }
  .topo__nav.aberto { display: flex; }
  .topo__nav a { padding: .9rem 0; border-bottom: 1px solid var(--linha); font-size: 1.05rem; }
  .topo__cta { display: none; }

  .abertura__grade { grid-template-columns: 1fr; justify-items: center; }
  .abertura__vitrine { width: min(86%, 380px); order: -1; margin-bottom: 1rem; }
  .abertura__lado,
  .abertura__lado--esq,
  .abertura__lado--dir { justify-self: center; text-align: center; align-items: center; }

  .procedencia__inner,
  .especialista__inner,
  .faixa__inner,
  .calc { grid-template-columns: 1fr; }

  .procedencia .etiqueta { transform: none; }
  .especialista__video { width: min(100%, 380px); }
  .etiqueta--calc { position: static; }

  .visite { display: flex; flex-direction: column-reverse; }
  .visite__cartao { margin: 0; width: 100%; box-shadow: none; }
  .visite__mapa, .visite__mapa iframe { min-height: 320px; }

  .whats-flutuante { display: inline-flex; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .etiqueta__campos div { grid-template-columns: 1fr; gap: .1rem; }
  .lista-cortes li { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .abertura__lado--dir .botao { width: 100%; }
  .visite__cartao { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
