/* =========================================================
   Casa de Carnes Vila Rica — estilo baseado no site atual
   ========================================================= */
:root {
  --vermelho: #c20a0e;
  --vermelho-escuro: #9a0709;
  --nav: #333333;
  --fundo: #f5f5f5;
  --branco: #ffffff;
  --titulo: #333333;
  --texto: #6f6f6f;
  --texto-escuro: #444444;
  --linha: #e0e0e0;
  --rodape: #c6c6c6;
  --rodape-texto: #3d3d3d;
  --whatsapp: #25d366;
  --fonte-titulo: 'Roboto Slab', Georgia, serif;
  --fonte-texto: 'PT Sans', Arial, Helvetica, sans-serif;
  --largura: 1100px;
  --raio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermelho); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--vermelho-escuro); }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--titulo); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--vermelho); color: #fff; padding: 8px 14px; z-index: 10000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Topo ---------- */
.site-header { background: var(--branco); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.logo img { width: 250px; height: auto; }
.header-contacts { display: flex; gap: 34px; align-items: center; }
.header-contacts a { display: flex; align-items: center; gap: 9px; color: #9a9a9a; font-size: 16px; font-weight: 300; }
.header-contacts a:hover { color: var(--vermelho); }
.header-contacts .ico { width: 34px; height: 34px; border-radius: 50%; background: #c9c9c9; display: grid; place-items: center; flex: none; }
.header-contacts .ico svg { width: 17px; height: 17px; fill: #fff; }

/* ---------- Menu ---------- */
.main-nav {
  position: sticky; top: 0; z-index: 900;
  background: var(--nav) url('../images/bg-menu.webp') center / auto 100% repeat-x;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.nav-inner { display: flex; align-items: center; justify-content: center; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 15px 22px 14px; color: #fff;
  font-family: var(--fonte-titulo); font-size: 17px; border-top: 3px solid transparent;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--vermelho); border-top-color: var(--vermelho); }
.nav-menu > li > a.active { color: #e3171c; }
.submenu { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; border-top: 3px solid var(--vermelho); box-shadow: 0 6px 16px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav-menu > li:hover .submenu, .nav-menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 18px; color: var(--texto-escuro); font-size: 14px; border-bottom: 1px solid #eee; }
.submenu a:hover { background: var(--fundo); color: var(--vermelho); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font: 600 16px var(--fonte-titulo); padding: 14px 0; cursor: pointer; align-items: center; gap: 10px; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { width: 24px; height: 2px; background: #fff; display: block; position: relative; content: ''; }
.menu-toggle .bars::before { position: absolute; top: -7px; }
.menu-toggle .bars::after { position: absolute; top: 7px; }

/* ---------- Botões ---------- */
.btn { display: inline-block; font-family: var(--fonte-texto); font-weight: 700; text-transform: uppercase; font-size: 14px; padding: 12px 28px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; line-height: 1.3; }
.btn-red { background: var(--vermelho); color: #fff; }
.btn-red:hover { background: var(--vermelho-escuro); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--vermelho); }
.btn-whats { background: var(--whatsapp); color: #fff; }
.btn-whats:hover { background: #1ebe5b; color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 8px; }

/* ---------- Hero da home ---------- */
.hero {
  position: relative; background: #ddd url('../images/hero-bg.webp') center 88% / cover no-repeat;
  min-height: 470px; display: flex; align-items: center;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.25) 40%, rgba(255,255,255,0) 65%); }
.hero .container { position: relative; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: 64px; font-weight: 700; color: #3a3a3a; margin: 0 0 6px; }
.hero-text { max-width: 370px; font-family: var(--fonte-titulo); font-size: 17px; line-height: 1.35; color: #2b2b2b; font-weight: 500; margin-bottom: 34px; }
.hero-thumbs { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-thumbs img { width: 170px; height: 150px; object-fit: cover; border-radius: var(--raio); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); }

/* ---------- Seções ---------- */
.section { padding: 70px 0; }
.section-title { text-align: center; font-size: 44px; margin-bottom: 18px; }
.section-sub { text-align: center; font-family: var(--fonte-titulo); color: #8a8a8a; font-size: 17px; max-width: 1000px; margin: 0 auto; }
.sep { border: 0; border-top: 3px solid var(--linha); margin: 50px 0 0; }
.icon-top { display: block; margin: 0 auto 22px; height: auto; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 46px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta-grid a::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: .3s; }
.insta-grid a:hover img { transform: scale(1.06); }
.insta-grid a:hover::after { background: rgba(0,0,0,.15); }
.insta-cta { text-align: center; margin-top: 22px; }

/* Cortes (Short Rib / T-Bone) */
.cuts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 50px; }
.cut img { width: 100%; aspect-ratio: 500/330; object-fit: cover; border-radius: var(--raio); }
.cut h3 { font-size: 28px; margin: 18px 0 10px; }
.cut p { font-size: 14px; }

/* Destaques 3 colunas */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.feature img { width: 100%; aspect-ratio: 666/348; object-fit: cover; border-radius: var(--raio); margin-bottom: 26px; }
.feature h3 { color: var(--vermelho); font-weight: 700; text-transform: uppercase; font-size: 26px; margin-bottom: 14px; }
.feature h4 { font-family: var(--fonte-titulo); text-transform: uppercase; font-size: 14px; color: #444; margin-bottom: 18px; letter-spacing: .2px; }
.feature p { font-size: 14px; }

/* Faixa vermelha */
.band { background: var(--vermelho); color: #fff; text-align: center; padding: 50px 20px 70px; }
.band img { margin: 0 auto 26px; }
.band p { font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; font-size: 24px; line-height: 1.1; color: #fff; margin: 0 0 32px; }

/* Vídeo + institucional */
.video-about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.video-wrap iframe, .video-wrap .yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite { cursor: pointer; background: #000 center / cover no-repeat; display: grid; place-items: center; }
.yt-lite span { width: 68px; height: 48px; background: #f00; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.35); }
.yt-lite span::after { content: ''; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-about h2 { font-size: 32px; }
.video-about p { font-size: 14px; }
.cities { text-align: center; font-family: var(--fonte-titulo); font-size: 15px; color: #888; margin: 0 0 40px; }

/* Receitas */
.recipes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.recipe { background: var(--fundo); border: 1px solid #e6e6e6; border-bottom: 3px solid #e3e3e3; }
.recipe img { width: 100%; aspect-ratio: 620/372; object-fit: cover; }
.recipe-body { padding: 36px 24px 26px; }
.recipe h3 { color: var(--vermelho); font-weight: 700; text-transform: uppercase; font-size: 25px; margin-bottom: 18px; }
.recipe h3 a { color: inherit; }
.recipe p { font-size: 14px; margin: 0; }

/* Parceiros */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.partners img { width: 200px; height: 100px; object-fit: contain; filter: grayscale(100%); opacity: .8; transition: .3s; background: #fff; }
.partners img:hover { filter: none; opacity: 1; }

/* Mapa */
.map-full iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--rodape); color: var(--rodape-texto); font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; padding: 56px 20px 50px; max-width: 1240px; }
.site-footer h3 { font-family: var(--fonte-titulo); font-weight: 700; text-transform: uppercase; font-size: 18px; color: #3d3d3d; margin-bottom: 30px; }
.footer-logo { width: 250px; margin-bottom: 20px; }
.footer-about p { text-align: justify; color: var(--rodape-texto); }
.footer-insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.footer-insta a { aspect-ratio: 1; overflow: hidden; display: block; }
.footer-insta img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.footer-insta a:hover img { opacity: .8; }
.footer-contacts { list-style: none; margin: 0; padding: 0; }
.footer-contacts li { display: flex; gap: 14px; margin-bottom: 12px; line-height: 1.7; }
.footer-contacts svg { width: 16px; height: 16px; fill: #333; flex: none; margin-top: 4px; }
.footer-contacts a { color: var(--rodape-texto); }
.footer-contacts a:hover { color: var(--vermelho); }
.footer-map iframe { width: 100%; height: 240px; border: 0; display: block; }
.copyright { border-top: 3px solid #dcdcdc; text-align: center; padding: 20px; font-size: 14px; color: var(--rodape-texto); }
.copyright a { color: var(--rodape-texto); }
.copyright a:hover { color: var(--vermelho); }

/* WhatsApp flutuante */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 950; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 60px; height: 60px; display: block; }

/* =========================================================
   Páginas internas
   ========================================================= */
.page-title-bar { background: #e9e9e9 url('../images/hero-bg.webp') center 88% / cover no-repeat; position: relative; }
.page-title-bar::before { content: ''; position: absolute; inset: 0; background: rgba(245,245,245,.86); }
.page-title-bar .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.page-title-bar h1 { font-size: 34px; margin: 0; }
.page-title-bar .subtitle { margin: 6px 0 0; font-family: var(--fonte-titulo); color: #777; font-size: 15px; }
.breadcrumbs { font-size: 14px; color: #777; }
.breadcrumbs a { color: #555; }
.breadcrumbs a:hover { color: var(--vermelho); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

.page-body { padding-top: 50px; padding-bottom: 60px; }
.page-body .container { max-width: none; padding: 0; }
.page-body section { margin-bottom: 40px; }
.page-body h2 { font-size: 28px; margin-top: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--linha); }
.page-body h3 { font-size: 21px; color: var(--vermelho); margin-top: 22px; }
.page-body p, .page-body li { font-size: 15px; color: #5f5f5f; }
.page-body ul, .page-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.page-body li { margin-bottom: 6px; }
.page-body img { border-radius: var(--raio); margin: 24px auto; max-height: 460px; width: auto; object-fit: cover; }
.page-body table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; background: #fff; font-size: 14px; }
.page-body th, .page-body td { border: 1px solid #ddd; padding: 10px 12px; text-align: left; }
.page-body th { background: var(--vermelho); color: #fff; font-weight: 700; }
.page-body .faq-item, .page-body .mission-card, .page-body .contact-block { background: #fff; border: 1px solid #e6e6e6; border-left: 4px solid var(--vermelho); padding: 18px 22px; margin-bottom: 16px; }
.page-body .faq-item h3, .page-body .mission-card h3, .page-body .contact-block h3 { margin-top: 0; }
.page-body .mission-grid, .page-body .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.page-body .map-container iframe { width: 100%; height: 380px; border: 0; border-radius: var(--raio); }
.page-body .cta-section, .page-body .cta-box { background: var(--vermelho); color: #fff; padding: 34px; text-align: center; border-radius: 4px; }
.page-body .cta-section h2, .page-body .cta-section p, .page-body .cta-box h2, .page-body .cta-box p { color: #fff; border: 0; }
.page-body .cta-section a:not(.btn) { color: #fff; text-decoration: underline; }
.page-body .btn-whatsapp { display: inline-block; background: var(--whatsapp); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 2px; text-transform: uppercase; font-size: 14px; }
.page-body .btn-whatsapp:hover { background: #1ebe5b; }
.page-body .btn-primary, .page-body .btn-secondary { background: var(--vermelho); color: #fff; }
.page-body .cta-section .btn, .page-body .cta-section .btn-whatsapp { background: #fff; color: var(--vermelho); }

/* Página de receitas/parceiros reaproveitando blocos da home */
.page-body .recipes, .page-body .partners { margin: 20px 0 40px; }

/* Formulário */
.contact-form { background: #fff; border: 1px solid #e6e6e6; padding: 26px; display: grid; gap: 14px; }
.contact-form label { display: block; font-weight: 700; color: #444; margin-bottom: 4px; font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #ccc; border-radius: 2px; font: inherit; color: #333; background: #fafafa; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--vermelho); outline-offset: 0; background: #fff; }
.contact-form .form-note { font-size: 13px; color: #777; margin: 0; }

/* 404 */
.error-404-section { text-align: center; }

/* Foco visível */
a:focus-visible, button:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 2px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .nav-menu > li > a { padding: 15px 14px 14px; font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-inner { flex-direction: column; gap: 12px; padding: 16px 16px; }
  .logo img { width: 210px; }
  .header-contacts { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .header-contacts a { font-size: 14px; }
  .nav-inner { justify-content: flex-start; flex-wrap: wrap; }
  .menu-toggle { display: flex; }
  .nav-menu { display: none; width: 100%; flex-direction: column; padding-bottom: 10px; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { border-top: 0; border-left: 3px solid transparent; padding: 11px 12px; }
  .nav-menu > li > a:hover, .nav-menu > li > a.active { border-left-color: var(--vermelho); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding-left: 16px; }
  .submenu a { color: #ddd; border: 0; padding: 7px 12px; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .features, .recipes { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .video-about { grid-template-columns: 1fr; gap: 30px; }
  .section-title { font-size: 34px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { min-height: 0; }
  .hero::before { background: rgba(255,255,255,.55); }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 16px; }
  .hero-thumbs { gap: 10px; }
  .hero-thumbs img { width: calc(50% - 5px); height: 120px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 15px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cuts { grid-template-columns: 1fr; gap: 34px; }
  .band p { font-size: 18px; }
  .partners img { width: 140px; height: 70px; }
  .footer-cols { grid-template-columns: 1fr; padding: 44px 16px; }
  .map-full iframe { height: 300px; }
  .page-title-bar h1 { font-size: 27px; }
  .page-body h2 { font-size: 23px; }
  .page-body img { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Receitas completas */
.recipe-full { background: #fff; border: 1px solid #e6e6e6; padding: 26px; margin-bottom: 30px; scroll-margin-top: 70px; }
.page-body .recipe-full h3 { font-size: 26px; text-transform: uppercase; font-weight: 700; margin-top: 0; }
.page-body .recipe-full img { margin: 10px 0 20px; width: 100%; max-height: 340px; }
.recipe-full h4 { font-family: var(--fonte-titulo); color: #333; font-size: 18px; }
.recipe-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
@media (max-width: 760px) { .recipe-cols { grid-template-columns: 1fr; } }
.page-body .insta-grid img, .page-body .partners img { margin: 0; border-radius: 0; max-height: none; }
.page-body .insta-grid img { width: 100%; height: 100%; }
.page-body .insta-grid { margin-top: 24px; }
