/* 
   B&F Rações — Design Fiel à Referência (Dark Mode)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #f27405;
  --primary-dark: #d96604;
  --bg-dark: #000000;
  --bg-card: #0a0a0a;
  --text-light: #ffffff;
  --text-muted: #a1a1aa;
  --ifood: #ea1d2c;
  --whatsapp: #25d366;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(1200px, 95%); margin: 0 auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  background-color: var(--primary);
  color: #000;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }

/* ── Logo Header ────────────────────────────────────────────── */
.logo-header {
  padding: 40px 0;
  background-color: var(--bg-dark);
  position: relative;
}
.logo-header-grid {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  align-items: center;
  gap: 30px;
}
.brand-main { text-align: center; }
.brand-main h1 {
  font-size: 80px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -2px;
  margin-bottom: 10px;
}
.brand-main p {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.brand-side-logos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-logo-box {
  border: 1px solid #333;
  padding: 4px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.side-logo-box img { max-height: 100%; filter: grayscale(0.2); }

.floating-actions {
  position: absolute;
  top: 40px;
  right: 5%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.btn-floating {
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
}
.btn-ifood { background-color: var(--ifood); }
.btn-whatsapp { background-color: var(--whatsapp); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 15px 0;
}
.navbar nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-icons { display: flex; gap: 20px; font-size: 18px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 60px 0;
  background: linear-gradient(to right, #000 50%, rgba(0,0,0,0.4) 100%), url('img/hero-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 500px; }
.hero-content h2 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-content h2 span { color: var(--primary); display: block; }
.hero-content p { font-size: 20px; margin-bottom: 30px; color: var(--text-muted); }

.hero-features {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.hero-feature { display: flex; gap: 12px; align-items: flex-start; }
.hero-feature-icon { color: var(--primary); font-size: 24px; }
.hero-feature-text strong { display: block; text-transform: uppercase; font-size: 14px; }
.hero-feature-text span { font-size: 12px; color: var(--text-muted); }

/* ── Categories ─────────────────────────────────────────────── */
.categories { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 10px auto 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.category-card {
  border: 1px solid #333;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.category-card:hover { border-color: var(--primary); }
.category-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}
.category-card h3 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.btn-category {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

/* ── About ──────────────────────────────────────────────────── */
.about { padding: 80px 0; border-top: 1px solid #222; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-img { border: 1px solid #333; padding: 10px; }
.about-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.about-content p { margin-bottom: 30px; color: var(--text-muted); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-stat-icon { font-size: 30px; color: var(--primary); margin-bottom: 10px; }
.about-stat strong { font-size: 14px; text-transform: uppercase; }
.about-stat span { font-size: 12px; color: var(--text-muted); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer-info {
  padding: 40px 0;
  border-top: 1px solid #222;
  background: #050505;
}
.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer-item { display: flex; gap: 15px; }
.footer-item-icon { color: var(--primary); font-size: 24px; }
.footer-item-text strong { display: block; text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }
.footer-item-text p, .footer-item-text a { font-size: 13px; color: var(--text-muted); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .logo-header-grid { grid-template-columns: 1fr; }
  .brand-side-logos { display: none; }
  .floating-actions { position: static; flex-direction: row; justify-content: center; margin-top: 20px; }
  .hero { text-align: center; background: #000; padding: 40px 0; }
  .hero-content { margin: 0 auto; }
  .hero-features { flex-direction: column; align-items: center; }
  .about-grid { grid-template-columns: 1fr; }
}


/* ── Produtos em Destaque ───────────────────────────────────── */
.featured-products { padding: 80px 0; border-top: 1px solid #222; background: radial-gradient(circle at top right, rgba(242,116,5,.13), transparent 35%), #050505; }
.section-kicker { display:inline-block; color: var(--primary); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 8px; }
.section-title p { color: var(--text-muted); margin-top: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.product-card { border: 1px solid #2a2a2a; background: linear-gradient(180deg,#111,#070707); border-radius: 18px; padding: 18px; text-align: center; transition: var(--transition); min-height: 100%; }
.product-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.product-img { height: 210px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: #fff; border-radius: 14px; overflow: hidden; padding: 10px; }
.product-img img { max-height: 100%; width: auto; object-fit: contain; margin: 0 auto; }
.product-card h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.product-card p { color: var(--text-muted); font-size: 14px; min-height: 42px; margin-bottom: 16px; }

/* ── Mobile Premium ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { width: min(100% - 28px, 1200px); }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-item { width: 100%; justify-content: center; }
  .logo-header { padding: 26px 0 22px; }
  .brand-main h1 { font-size: clamp(48px, 17vw, 68px); letter-spacing: -1px; }
  .brand-main p { font-size: 18px; }
  .floating-actions { gap: 10px; }
  .btn-floating { flex: 1; justify-content: center; padding: 12px 14px; border-radius: 14px; }
  .navbar { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.95); backdrop-filter: blur(12px); }
  .navbar nav { justify-content: center; }
  .nav-links { gap: 15px; display: flex; flex-wrap: wrap; justify-content: center; padding: 5px 0; }
  .nav-icons { display: none; }
  .hero { min-height: auto; padding: 52px 0; background: linear-gradient(180deg, rgba(0,0,0,.68), #000), url('img/hero-bg.png'); background-size: 110%; background-position: center bottom; }
  .hero-content h2 { font-size: clamp(38px, 12vw, 54px); }
  .hero-content p { font-size: 17px; }
  .hero-feature { width: 100%; justify-content: center; text-align: left; background: rgba(255,255,255,.04); border: 1px solid #222; padding: 14px; border-radius: 14px; }
  .categories, .about, .featured-products { padding: 52px 0; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 16px; }
  .product-img { height: 250px; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-info-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }


/* ── Botões de ação por bairro ──────────────────────────────── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .4px;
  border: 1px solid transparent;
}
.btn-action:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-action.whatsapp { background: var(--whatsapp); color: #06170b; }
.btn-action.ifood { background: var(--ifood); }
.neighborhood-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
}
.bairro-highlight {
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  background: radial-gradient(circle at top left, rgba(242,116,5,.16), transparent 35%), #050505;
  padding: 70px 0;
}
.bairro-card h3 { color: var(--primary); }
@media (max-width: 768px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-action { width: 100%; }
}


/* Ajustes finais: responsividade e imagens sem sobreposição */
.logo-header, .hero, .categories, .about, .featured-products, .footer-info, .bairro-highlight { clear: both; }
.logo-header-grid, .category-grid, .product-grid, .about-grid, .footer-info-grid { min-width: 0; }
.side-logo-box, .product-img, .about-img, .category-card, .product-card { overflow: hidden; }
.side-logo-box img, .product-img img, .category-card img, .product-card img { width: 100%; height: 100%; object-fit: contain; position: static; }
.about-img img { width: 100%; height: auto; object-fit: cover; position: static; }

@media (max-width: 992px) {
  .logo-header-grid { grid-template-columns: 1fr; gap: 18px; }
  .floating-actions { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero { background-size: cover; background-position: center; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container { width: min(100% - 28px, 1200px); }
  .brand-main h1 { font-size: clamp(44px, 16vw, 64px); }
  .brand-main p { font-size: clamp(16px, 5vw, 20px); }
  .floating-actions { flex-direction: column; }
  .btn-floating { width: 100%; }
  .hero-content h2 { font-size: clamp(34px, 11vw, 52px); }
  .hero-features { gap: 14px; }
  .category-grid, .product-grid, .about-grid, .footer-info-grid { grid-template-columns: 1fr; }
  .product-img { height: 220px; }
  .footer-item { align-items: flex-start; }
}

@media (min-width: 769px) and (max-width: 1199px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Correção final: páginas internas, cards de marcas e responsividade */
.section { padding: 72px 0; clear: both; position: relative; }
.section-sm { padding: 48px 0; clear: both; position: relative; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.page-hero { padding: 74px 0; background: radial-gradient(circle at top right, rgba(242,116,5,.18), transparent 34%), #050505; border-bottom: 1px solid #222; clear: both; }
.page-hero-inner { max-width: 900px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: .96; font-weight: 900; text-transform: uppercase; letter-spacing: -1.5px; margin: 12px 0 18px; }
.page-hero p { max-width: 780px; color: var(--text-muted); font-size: clamp(17px, 2vw, 21px); }
.eyebrow, .eyebrow-dark { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 1.2px; font-size: 13px; }
.copy p { color: var(--text-muted); margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--text-light); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.card, .info-card { border: 1px solid #2a2a2a; background: linear-gradient(180deg,#111,#070707); border-radius: 18px; padding: 24px; box-shadow: 0 18px 45px rgba(0,0,0,.24); overflow: hidden; }
.card-highlight { border-color: rgba(242,116,5,.38); }
.card-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #000; font-size: 22px; margin-bottom: 14px; }
.card h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 900; margin-bottom: 8px; }
.card p { color: var(--text-muted); }
.brands-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.brand-card { border: 1px solid #2a2a2a; background: #080808; border-radius: 14px; padding: 14px; text-align: center; overflow: hidden; min-width: 0; }
.brand-logo-box { height: 96px !important; width: 100%; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px; margin-bottom: 10px; }
.brand-logo-box img { display: block; max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain !important; position: static !important; }
.brand-card h3 { font-size: 13px !important; line-height: 1.2; margin: 0; color: #fff; text-transform: none; }
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid #2a2a2a; background: #080808; border-radius: 14px; padding: 18px 20px; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 800; font-size: clamp(17px, 2vw, 20px); }
.faq-body { color: var(--text-muted); padding-top: 12px; }
.cta-banner { border: 1px solid rgba(242,116,5,.45); background: linear-gradient(135deg, rgba(242,116,5,.18), #070707 55%); border-radius: 22px; padding: 34px; overflow: hidden; }
.cta-banner h2 { font-size: clamp(28px, 5vw, 48px); line-height: 1.08; font-weight: 900; margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); font-size: 18px; max-width: 760px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 13px 18px; font-weight: 900; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #000; }
.btn-ghost, .btn-outline { border-color: #333; color: #fff; background: transparent; }
.btn-sm { padding: 10px 14px; font-size: 13px; }
.btn-lg { padding: 15px 22px; }
.whatsapp-float { width: 64px !important; height: 64px !important; bottom: 18px !important; right: 18px !important; z-index: 9999 !important; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr !important; gap: 28px !important; }
  .section { padding: 50px 0; }
  .page-hero { padding: 52px 0; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1200px); }
  .brands-grid { grid-template-columns: 1fr !important; }
  .brand-logo-box { height: 160px !important; }
  .brand-card { padding: 16px !important; }
  .card { padding: 18px; }
  .section-title { text-align: left; margin-bottom: 28px; }
  .section-title h2 { font-size: clamp(28px, 10vw, 42px); line-height: 1.08; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .whatsapp-float { width: 58px !important; height: 58px !important; }
}

/* Correção de duplicidade visual */
.nav-icons { display: none !important; }

@media (max-width: 768px) {
  .nav-menu { 
    display: flex !important; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
    padding: 10px 0;
  }
  .nav-menu a {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
  }
  header nav {
    flex-direction: column;
    align-items: center;
  }
  .brand {
    margin-bottom: 15px;
  }
}

/* ============================================================
   Ajuste responsivo final — mantém o design original
   ============================================================ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.container { width: min(1180px, calc(100% - 32px)); }

/* Cabeçalho mais equilibrado no desktop */
.logo-header { padding: clamp(28px, 4vw, 48px) 0; }
.logo-header .container { position: relative; }
.logo-header-grid {
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) minmax(110px, 150px);
  max-width: 980px;
  margin: 0 auto;
}
.brand-main h1 { font-size: clamp(58px, 7vw, 88px); }
.brand-main p { font-size: clamp(18px, 2vw, 24px); }
.side-logo-box { border-radius: 10px; }

/* Botões de compra sem cobrir o logo */
.floating-actions { right: clamp(16px, 4vw, 56px); }
.btn-floating { box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.btn-floating:hover, .btn-category:hover, .btn-action:hover, .btn:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* Navegação organizada */
.navbar { background: #000; position: sticky; top: 0; z-index: 80; }
.navbar nav { gap: 16px; }
.nav-links {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
}
.nav-links a { padding: 8px 4px; white-space: nowrap; }
.nav-icons { display: none !important; }

/* Hero e seções com melhor leitura */
.hero { min-height: clamp(360px, 42vw, 520px); background-size: min(58vw, 720px) auto; }
.hero-content { position: relative; z-index: 1; }
.badge, .badge-orange {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  line-height: 1;
}
.section-title { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Cards com visual uniforme */
.category-card, .product-card, .card, .info-card, .brand-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #111, #070707);
}
.category-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; min-height: 210px; }
.category-card .btn-category, .product-card .btn-category { margin-top: auto; }
.category-card > img {
  width: auto !important;
  height: auto !important;
  max-width: min(180px, 88%) !important;
  max-height: 78px !important;
  object-fit: contain !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.product-grid { align-items: stretch; }
.product-card { display: flex; flex-direction: column; }
.product-img { width: 100%; aspect-ratio: 1 / 1; height: auto; }
.product-card h3 { line-height: 1.18; }
.product-card p { min-height: auto; }

/* Imagens sem distorção */
.side-logo-box img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; }
.product-img img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; }
.about-img { border-radius: 18px; }
.about-img img { border-radius: 12px; }

/* Rodapé alinhado e legível */
.footer-item { min-width: 0; }
.footer-item-text { min-width: 0; }
.footer-item-text p, .footer-item-text a { overflow-wrap: anywhere; }
.whatsapp-float { border-radius: 999px; box-shadow: 0 14px 35px rgba(0,0,0,.36); }
.whatsapp-float img { border-radius: inherit; }

@media (min-width: 993px) {
  .floating-actions { top: 50%; transform: translateY(-50%); }
  .featured-products .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .floating-actions {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    max-width: 560px;
    margin: 24px auto 0;
  }
}

@media (max-width: 992px) {
  .logo-header-grid { max-width: 620px; }
  .hero {
    min-height: auto;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,.64), #000 82%), url('img/hero-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
  }
  .hero-content { margin: 0 auto; }
  .hero-features { max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar { padding: 10px 0; }
  .topbar .container { gap: 6px; }
  .topbar-item { font-size: 12px; line-height: 1.35; }

  .logo-header { padding: 24px 0 18px; }
  .brand-main h1 { font-size: clamp(44px, 16vw, 66px); line-height: .92; }
  .brand-main p { font-size: clamp(15px, 4.6vw, 19px); line-height: 1.25; }
  .floating-actions { flex-direction: column; gap: 10px; width: 100%; }
  .btn-floating { width: 100%; min-height: 48px; justify-content: center; padding: 12px 16px; }

  .navbar { padding: 8px 0; }
  .nav-links { gap: 8px; justify-content: center; }
  .nav-links a {
    border: 1px solid #252525;
    border-radius: 999px;
    background: #080808;
    font-size: 11px;
    letter-spacing: .35px;
    padding: 8px 10px;
  }
  .nav-links a.active { border-color: var(--primary); background: rgba(242,116,5,.12); }

  .hero { padding: 46px 0 36px; }
  .hero-content h2 { font-size: clamp(34px, 11vw, 50px); }
  .hero-content p { font-size: 16px; margin-bottom: 24px; }
  .hero-features { gap: 12px; margin-top: 28px; }
  .hero-feature {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 14px;
    border: 1px solid #242424;
    border-radius: 16px;
    background: rgba(10,10,10,.86);
  }

  .categories, .about, .featured-products, .section, .bairro-highlight { padding: 46px 0; }
  .section-title { text-align: center; margin-bottom: 30px; }
  .section-title h2 { font-size: clamp(27px, 8vw, 38px); line-height: 1.08; }
  .category-grid, .product-grid, .about-grid, .footer-info-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .category-card { min-height: 185px; padding: 24px 18px; }
  .product-card { padding: 16px; }
  .product-img { max-height: 260px; }
  .about-content h2 { font-size: clamp(28px, 8vw, 38px); line-height: 1.08; }
  .about-stats { gap: 14px; }
  .about-stat { padding: 14px; border: 1px solid #222; border-radius: 14px; background: #080808; }
  .footer-item { padding: 16px; border: 1px solid #222; border-radius: 14px; background: #080808; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nav-links a { text-align: center; white-space: normal; }
  .badge, .badge-orange { font-size: 12px; }
  .btn-category, .btn-action, .btn { width: 100%; justify-content: center; text-align: center; }
  .cta-banner { padding: 24px 18px; }
  .page-hero h1 { letter-spacing: -.8px; }
}

/* ============================================================
   Ajustes solicitados — logo, menu, 6 produtos, loja e WhatsApp
   ============================================================ */
.logo-header { padding: clamp(22px, 3vw, 36px) 0; }
.logo-header-grid { grid-template-columns: minmax(95px, 132px) minmax(0, 1fr) minmax(95px, 132px); max-width: 880px; place-items: center; text-align: center; }
.brand-main { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.brand-main h1 { font-size: clamp(46px, 5.8vw, 68px) !important; line-height: .9; margin-inline: auto; text-align: center; }
.brand-main p { font-size: clamp(15px, 1.55vw, 19px) !important; line-height: 1.25; text-align: center; }
.side-logo-box { height: 38px; padding: 5px; }
.floating-actions { top: auto !important; right: 0 !important; transform: none !important; position: relative !important; flex-direction: row; justify-content: center; max-width: 520px; margin: 24px auto 0; }
.navbar { padding: 12px 0; }
.navbar nav { justify-content: center; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; }
.nav-links a { border: 1px solid #252525; border-radius: 999px; background: #080808; padding: 10px 16px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }
.nav-links a:hover, .nav-links a.active { color: #000; background: var(--primary); border-color: var(--primary); }
.featured-products .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 15px; }
.product-img { aspect-ratio: 1 / 1; max-height: 190px; }
.product-card h3 { font-size: 16px; }
.product-card p { font-size: 13px; }
.product-card .btn-category { padding: 10px 16px; }
.about-grid { grid-template-columns: .82fr 1.18fr; gap: 42px; }
.about-img { max-width: 430px; margin: 0 auto; padding: 8px; }
.about-img img { max-height: 360px; object-fit: cover; object-position: center; }
.whatsapp-float { width: 58px !important; height: 58px !important; right: 18px !important; bottom: 18px !important; border-radius: 999px; background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37,211,102,.7), 0 16px 38px rgba(0,0,0,.42) !important; animation: whatsappPulse 1.45s ease-in-out infinite; transform-origin: center; }
.whatsapp-float::before { content: 'Fale conosco'; position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--whatsapp); color: #031108; font-size: 12px; font-weight: 900; line-height: 1; white-space: nowrap; padding: 9px 11px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.whatsapp-float img { width: 100% !important; height: 100% !important; padding: 9px; object-fit: contain; }
@keyframes whatsappPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 16px 38px rgba(0,0,0,.42); } 50% { transform: scale(.9); box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 16px 38px rgba(0,0,0,.42); } }
@media (max-width: 1100px) { .featured-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .logo-header-grid { grid-template-columns: 1fr; max-width: 420px; } .brand-main h1 { font-size: clamp(38px, 13vw, 52px) !important; } .brand-main p { font-size: 15px !important; } .floating-actions { flex-direction: column; width: 100%; margin-top: 18px; } .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .nav-links a { padding: 10px 8px; text-align: center; font-size: 11px; white-space: normal; } .featured-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; } .product-card { padding: 12px; border-radius: 15px; } .product-img { max-height: none; } .product-card h3 { font-size: 13px; } .product-card p { font-size: 12px; } .product-card .btn-category { font-size: 11px; padding: 9px 10px; } .about-img { max-width: 330px; } .about-img img { max-height: 290px; } .whatsapp-float { width: 54px !important; height: 54px !important; right: 14px !important; bottom: 14px !important; } .whatsapp-float::before { right: 62px; font-size: 11px; padding: 8px 10px; } }
@media (max-width: 420px) { .featured-products .product-grid { grid-template-columns: 1fr !important; } .whatsapp-float::before { display: none; } }

/* ============================================================
   Ajustes finais solicitados: SEO local, mobile/desktop e logo
   Mantém o mesmo design: preto, laranja, cards e botões atuais
   ============================================================ */
.brand-main h1 { font-size: clamp(42px, 5.2vw, 62px) !important; letter-spacing: -1.4px; }
.brand-main p { font-size: clamp(14px, 1.35vw, 17px) !important; }
.logo-header-grid { max-width: 820px; grid-template-columns: minmax(90px, 124px) minmax(0, 1fr) minmax(90px, 124px); }
.side-logo-box { height: 36px; }
.logo-header { padding: clamp(20px, 2.6vw, 32px) 0; }

.local-seo { padding: 64px 0; border-top: 1px solid #222; background: radial-gradient(circle at top left, rgba(242,116,5,.12), transparent 34%), #050505; }
.local-seo .section-title { margin-bottom: 26px; }
.local-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.local-links a { border: 1px solid #292929; background: #080808; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 800; color: #fff; }
.local-links a:hover { background: var(--primary); border-color: var(--primary); color: #000; transform: translateY(-2px); }

@media (min-width: 1101px) {
  .logo-header-grid { gap: 22px; }
  .nav-links { max-width: 980px; margin: 0 auto; }
  .hero-content { max-width: 560px; }
}
@media (max-width: 768px) {
  .brand-main h1 { font-size: clamp(34px, 11.5vw, 48px) !important; }
  .brand-main p { font-size: 14px !important; }
  .logo-header { padding: 18px 0 16px; }
  .floating-actions { margin-top: 14px; }
  .navbar { overflow-x: hidden; }
  .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .nav-links a { display: flex; align-items: center; justify-content: center; min-height: 38px; }
  .hero { padding: 40px 0 34px; }
  .hero-features { display: grid; grid-template-columns: 1fr; }
  .featured-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .product-img { aspect-ratio: 1 / 1; max-height: 210px; }
  .local-seo { padding: 46px 0; }
  .local-links { justify-content: stretch; }
  .local-links a { flex: 1 1 calc(50% - 10px); text-align: center; }
}
@media (max-width: 420px) {
  .featured-products .product-grid { grid-template-columns: 1fr !important; }
  .local-links a { flex-basis: 100%; }
}

/* ============================================================
   Ajustes finais extras: bairros discretos, categorias e logo
   Mantém o mesmo design visual do site.
   ============================================================ */
.logo-header { text-align: center; }
.logo-header .container { display: flex; flex-direction: column; align-items: center; }
.logo-header-grid {
  width: 100%;
  max-width: 720px !important;
  margin: 0 auto;
  grid-template-columns: minmax(76px, 104px) minmax(0, 1fr) minmax(76px, 104px) !important;
  justify-content: center;
  align-items: center;
  gap: 16px !important;
}
.brand-main { margin: 0 auto; align-items: center !important; text-align: center !important; }
.brand-main h1 {
  font-size: clamp(34px, 4.6vw, 52px) !important;
  line-height: .92 !important;
  letter-spacing: -1px !important;
  margin: 0 auto 8px !important;
  text-align: center !important;
}
.brand-main p { font-size: clamp(12px, 1.15vw, 15px) !important; text-align: center !important; }
.side-logo-box { height: 32px !important; }

/* Bairros no rodapé: menor e mais discreto */
.local-seo {
  padding: 24px 0 20px !important;
  border-top: 1px solid #171717 !important;
  background: #030303 !important;
}
.local-seo .section-title { margin-bottom: 12px !important; opacity: .72; }
.local-seo .section-kicker { font-size: 10px !important; letter-spacing: .08em; }
.local-seo h2 { font-size: clamp(15px, 1.8vw, 20px) !important; letter-spacing: .3px !important; }
.local-seo h2::after { width: 34px !important; height: 2px !important; margin-top: 6px !important; opacity: .75; }
.local-seo p { max-width: 720px; margin: 8px auto 0; font-size: 12px !important; line-height: 1.45; color: #777 !important; }
.local-links { gap: 6px !important; max-width: 780px; margin: 0 auto; }
.local-links a {
  padding: 5px 9px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #8f8f8f !important;
  border-color: #181818 !important;
  background: transparent !important;
  border-radius: 999px !important;
  line-height: 1.1 !important;
  opacity: .82;
}
.local-links a:hover { color: #000 !important; background: var(--primary) !important; border-color: var(--primary) !important; opacity: 1; }

/* Correção dos botões dentro das categorias */
.category-card { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; }
.category-card h3 { width: 100%; }
.category-card .btn-category,
.category-card .btn-action,
.product-card .btn-category {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px;
  max-width: 100%;
  width: auto;
  margin: auto auto 0 !important;
  padding: 10px 18px !important;
  border-radius: 10px;
  line-height: 1.1 !important;
  white-space: normal !important;
  text-align: center !important;
}
.category-grid { align-items: stretch !important; }

@media (max-width: 768px) {
  .logo-header-grid {
    max-width: 310px !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .brand-side-logos { display: none !important; }
  .brand-main h1 { font-size: clamp(29px, 9.5vw, 40px) !important; }
  .brand-main p { font-size: 12px !important; }
  .floating-actions { max-width: 310px; width: 100%; }
  .local-seo { padding: 18px 0 16px !important; }
  .local-seo p { display: none; }
  .local-links { justify-content: center !important; gap: 5px !important; }
  .local-links a { flex: 0 1 auto !important; padding: 4px 7px !important; font-size: 9.5px !important; }
  .category-card .btn-category,
  .category-card .btn-action,
  .product-card .btn-category { width: 100% !important; min-height: 36px; padding: 9px 10px !important; }
}

/* ============================================================
   CORRECAO REAL DOS BOTOES - padrao da pagina inicial
   Aplica o mesmo visual do .btn-category para botoes das paginas internas
   ============================================================ */
.btn-category,
.btn-action,
.btn-action.whatsapp,
.btn-action.ifood,
.btn,
.btn-primary,
.btn-outline,
.btn-ghost,
.cta-actions .btn,
.btn-row .btn-action,
.product-card .btn-category,
.category-card .btn-category {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 10px 25px !important;
  min-height: 40px !important;
  width: auto !important;
  max-width: 100% !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  text-align: center !important;
  white-space: normal !important;
  gap: 8px !important;
}
.btn-category:hover,
.btn-action:hover,
.btn-action.whatsapp:hover,
.btn-action.ifood:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover,
.cta-actions .btn:hover,
.btn-row .btn-action:hover,
.product-card .btn-category:hover,
.category-card .btn-category:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  transform: none !important;
  filter: none !important;
}
.category-card,
.product-card {
  align-items: center !important;
}
.category-card .btn-category,
.product-card .btn-category {
  margin-top: auto !important;
}
.btn-row,
.cta-actions {
  gap: 12px !important;
}
@media (max-width: 768px) {
  .btn-category,
  .btn-action,
  .btn-action.whatsapp,
  .btn-action.ifood,
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .cta-actions .btn,
  .btn-row .btn-action,
  .product-card .btn-category,
  .category-card .btn-category {
    width: 100% !important;
    padding: 10px 18px !important;
    min-height: 40px !important;
  }
}

/* ============================================================
   Padronização final dos botões do MENU em todas as páginas
   Igual ao menu da página inicial, preservando o design atual
   ============================================================ */
.navbar .nav-links,
header .nav-menu {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.navbar .nav-links a,
header .nav-menu a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #252525 !important;
  border-radius: 999px !important;
  background: #080808 !important;
  color: #fff !important;
  padding: 10px 16px !important;
  line-height: 1 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02) !important;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active,
header .nav-menu a:hover,
header .nav-menu a.active {
  color: #000 !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}
@media (max-width: 768px) {
  .navbar .nav-links,
  header .nav-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .navbar .nav-links a,
  header .nav-menu a {
    width: 100% !important;
    min-height: 38px !important;
    padding: 10px 8px !important;
    text-align: center !important;
    font-size: 11px !important;
    white-space: normal !important;
  }
}
