:root {
  --header-height: 82px;
  --category-height: 64px;
}
html {
  scroll-padding-top: 0;
}
#map,
main[id],
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 12px 18px;
  background: #fff;
  color: #4a1c23;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
input,
select,
summary,
textarea {
  scroll-margin-block: calc(var(--header-height) + 16px) 100px;
}
.section-label {
  color: #806318;
}
.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.text-link {
  color: inherit;
  text-underline-offset: 4px;
  padding: 12px 0;
}
.oem-next-step {
  max-width: 680px;
  margin: 0 auto 24px;
}
.privacy-note {
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0 0 16px;
  color: #62544f;
}
.privacy-note a {
  color: #722f37;
  text-underline-offset: 3px;
}
.faq-section {
  background: #faf7f3;
  padding: 64px 4%;
}
.faq-inner {
  max-width: 960px;
  margin: auto;
}
.faq-inner h2 {
  font-family: var(--font-display);
  color: #4a1c23;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}
.faq-inner details {
  border-top: 1px solid #ded2ca;
}
.faq-inner summary {
  padding: 20px 8px;
  cursor: pointer;
  font-weight: 600;
  color: #4a1c23;
}
.faq-inner details p {
  padding: 0 8px 20px;
  color: #62544f;
  line-height: 1.7;
}
.faq-inner a {
  color: #722f37;
}
.legal-content {
  max-width: 860px;
  margin: auto;
  padding: calc(var(--header-height) + 48px) 24px 64px;
  color: #62544f;
}
.legal-content h1,
.legal-content h2 {
  font-family: var(--font-display);
  color: #4a1c23;
  line-height: 1.2;
}
.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
}
.legal-content p {
  margin: 12px 0;
  line-height: 1.75;
}
.legal-content a {
  color: #722f37;
  text-underline-offset: 3px;
}
#limparBusca,
.map-focus {
  background: #fffaf5;
  border: 1px solid #722f37;
  color: #722f37;
  border-radius: 8px;
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.map-focus {
  margin-bottom: 16px;
}
.distribuidor-card {
  cursor: default;
}
#mapStatus {
  padding: 12px;
  font-size: 0.85rem;
}
.catalog-results-tools {
  max-width: 1240px;
  padding: 12px 4%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  scroll-margin-top: calc(var(--header-height) + var(--category-height) + 12px);
}
.catalog-results-tools .catalog-status {
  padding: 0;
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #b88f20;
  outline-offset: 4px;
}
.nav,
.nav.scrolled {
  box-sizing: border-box;
  height: var(--header-height);
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: rgba(63, 27, 33, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px #24101515;
  transition: background 0.2s ease;
}
@supports (backdrop-filter: blur(12px)) {
  .nav,
  .nav.scrolled {
    background: rgba(63, 27, 33, 0.86) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.home-page .nav:not(.scrolled) {
  background: linear-gradient(
    180deg,
    rgba(48, 20, 25, 0.76),
    rgba(48, 20, 25, 0.32)
  ) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.nav .logo {
  margin: 0;
  flex: 0 0 auto;
}
.nav .logo img,
.nav.scrolled .logo img {
  display: block;
  height: 54px;
  width: auto;
}
.nav .nav-links {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.nav .nav-links a,
.nav.scrolled .nav-links a {
  color: #fff !important;
  font-size: 0.84rem;
  white-space: nowrap;
  text-shadow: none;
}
.nav .nav-links a:hover,
.nav .nav-links a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav .nav-cta,
.nav.scrolled .nav-cta {
  display: flex;
  flex: 0 0 220px;
  width: 220px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 16px;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #d2b34e;
  color: #32161b;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease;
}
.nav .nav-cta:hover,
.nav.scrolled .nav-cta:hover {
  background: #e0c365;
  color: #32161b;
  transform: none;
}
.produto-img.photo-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #f3ece6;
  color: #62544f;
}
.photo-unavailable svg {
  width: 44px;
  height: 44px;
  color: #95786b;
}
.photo-unavailable span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
}
.nav .mobile-contact-link,
.nav .mobile-menu-btn {
  display: none;
}
.mobile-nav {
  z-index: 1002;
  max-width: calc(100vw - 24px);
  overflow-y: auto;
}
.mobile-nav-overlay {
  z-index: 1001;
}
.mobile-nav-actions {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.mobile-nav .mobile-nav-actions a {
  display: block;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.85rem;
  border: 1px solid #ffffff66;
  border-radius: 8px;
  color: #fff;
}
.mobile-nav .mobile-nav-actions .mobile-commercial {
  background: #d2b34e;
  color: #32161b;
}
.mobile-menu-btn,
.mobile-nav-close {
  min-height: 44px;
  min-width: 44px;
}
.filtros {
  top: var(--header-height);
  background: rgba(255, 251, 245, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding: 10px 4%;
}
.filtro-btn {
  flex-shrink: 0;
  min-height: 44px;
  white-space: nowrap;
}
.filtro-spacer {
  display: none;
}
.filtro-btn:first-of-type {
  margin-inline-start: auto;
}
.filtro-btn:last-of-type {
  margin-inline-end: auto;
}
.catalogo-header {
  min-height: 320px;
  padding: calc(var(--header-height) + 42px) 4% 42px;
}
.catalogo-header h1 {
  max-width: 1100px;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  line-height: 1.15;
}
.categoria[id] {
  scroll-margin-top: calc(var(--header-height) + var(--category-height) + 12px);
}
#contato,
#empresa,
#marca-propria,
#solucoes-b2b {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.produto-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: auto;
  box-shadow: 0 3px 14px #4020200d;
}
.produto-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-contact {
  display: block;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #722f37;
  border-radius: 8px;
  color: #722f37;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.86rem;
}
.product-contact:hover {
  background: #722f37;
  color: #fff;
}
.catalog-status,
.distributor-search {
  max-width: 1240px;
  margin: 12px auto;
  padding: 0 4%;
  color: #62544f;
}
.distributor-search input {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-size: 16px;
  border: 1px solid #b9a7a0;
  border-radius: 8px;
  margin: 8px 0;
}
.distribuidor-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.distribuidor-header .distribuidor-cidade {
  order: -1;
  font-weight: 700;
  font-size: 1.05rem;
}
.fade-in,
.fade-in-left,
.fade-in-right {
  opacity: 1;
  transform: none;
}
.benefit-card,
.category-card,
.produto-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
  transition-delay: 0s !important;
}
.benefit-card:hover,
.category-card:hover,
.produto-card:hover {
  transform: translateY(-3px);
}
.category-image img,
.produto-img img {
  transition: transform 0.2s ease;
}
.category-card:hover img,
.produto-card:hover img {
  transform: scale(1.02);
}
.badge-bestseller {
  animation: none;
}
.delivery-btn.food99,
.delivery-btn.ifood,
.delivery-btn.retirada {
  background: #fff;
  color: #49242a;
  border: 1px solid #ded2ca;
  border-top: 3px solid #722f37;
  transform: none;
  box-shadow: none;
}
.delivery-btn.ifood {
  border-top-color: #c62838;
}
.delivery-btn.food99 {
  border-top-color: #d1ab14;
}
.delivery-btn {
  --delivery-accent: #722f37;
  max-width: none;
  text-align: left;
  gap: 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.delivery-btn.ifood {
  --delivery-accent: #c62838;
}
.delivery-btn.food99 {
  --delivery-accent: #9b7610;
}
.delivery-btn strong {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
}
.delivery-btn small {
  color: #62544f;
  opacity: 1;
  line-height: 1.5;
}
.delivery-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #722f37;
  font-size: 0.85rem;
  font-weight: 600;
}
.delivery-btn:focus-visible {
  outline: 3px solid #722f37;
  outline-offset: 4px;
}
.delivery-btn:focus-visible .delivery-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (hover: hover) {
  .delivery-btn.food99:hover,
  .delivery-btn.ifood:hover,
  .delivery-btn.retirada:hover {
    background: #fff9f2;
    border-color: var(--delivery-accent);
    box-shadow: none;
    transform: none;
  }
  .delivery-btn:hover .delivery-action {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
.benefits {
  padding: 3.5rem 4%;
}
.benefit-card {
  padding: 1.5rem;
}
.delivery-kicker {
  color: #806318;
}
.form-status {
  margin-top: 12px;
  color: #49242a;
}
.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
  font-size: 16px;
}
.hero {
  background-image: url(images/cheesecake-hero-1920.webp);
}
.voltar-topo {
  position: fixed;
  right: 21px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border: 1px solid #d4c7bf;
  border-radius: 50%;
  background: #fffaf5;
  color: #722f37;
  z-index: 98;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 3px 12px #3010151a;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.voltar-topo.visivel {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.whatsapp-float {
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
}
@media (min-width: 769px) and (max-width: 1050px) {
  .company-story-inner {
    gap: 2rem;
  }
  .products-categories,
  .produtos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-container,
  .distributor-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .delivery-buttons {
    gap: 0.75rem;
  }
  .delivery-btn {
    padding: 1rem;
  }
  .oem-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1050px) {
  :root {
    --header-height: 72px;
  }
  .nav,
  .nav.scrolled {
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 20px;
  }
  .nav .logo {
    margin-right: auto;
  }
  .nav .logo img,
  .nav.scrolled .logo img {
    height: 50px;
  }
  .nav .nav-cta,
  .nav .nav-links,
  .nav.scrolled .nav-cta,
  .nav.scrolled .nav-links {
    display: none;
  }
  .nav .mobile-contact-link,
  .nav .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav .mobile-menu-btn {
    flex: 0 0 44px;
    flex-direction: column;
  }
  .nav .mobile-contact-link {
    box-sizing: border-box;
    flex: 0 1 170px;
    min-width: 0;
    max-width: 170px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #d2b34e;
    color: #32161b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .nav .mobile-contact-link:hover {
    background: #e0c365;
    color: #32161b;
  }
}
@media (max-width: 768px) {
  .nav.scrolled {
    background: #3f1b21 !important;
  }
  .catalogo-header {
    min-height: 0;
    padding: calc(var(--header-height) + 32px) 1.25rem 32px;
  }
  .catalogo-header h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }
  .hero {
    background-image: url(images/cheesecake-hero-960.webp);
  }
  .produtos-grid {
    grid-template-columns: 1fr;
  }
  .produto-card {
    max-width: none;
    width: 100%;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .voltar-topo {
    bottom: calc(88px + env(safe-area-inset-bottom));
    right: 21px;
    width: 44px;
    height: 44px;
  }
  .hero-buttons a {
    white-space: normal;
  }
  .contact-form-container {
    min-width: 0;
    padding: 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::after,
  ::before,
  html {
    scroll-behavior: auto !important;
  }
  *,
  ::after,
  ::before {
    animation: none !important;
    transition: none !important;
  }
}
.produtos-grid {
  align-items: start;
}
.produto-card {
  height: auto;
  align-self: start;
}
@media (min-width: 601px) {
  .produto-info h3 {
    min-height: calc(2 * 1.3em);
  }
  .produto-info .descricao {
    min-height: calc(3 * 1.6em);
  }
}
.footer {
  background: #251116;
  color: #fdf8f5;
  padding: 44px 4% 24px;
  border-top: 2px solid #9b7d32;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1.25fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-brand,
.footer-contact,
.footer-links {
  min-width: 0;
}
.footer-links a,
.footer-logo {
  display: inline-flex;
}
.footer-logo img {
  display: block;
  height: 70px;
  width: auto;
}
.footer-brand p {
  max-width: 280px;
  margin: 16px 0 0;
  color: #d9cdd0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer h2 {
  color: #d2b34e;
  font: 600 0.82rem var(--font-body);
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.footer-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a {
  align-items: center;
  min-height: 44px;
}
.footer a {
  color: #f1e9eb;
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer a:focus-visible {
  outline: 2px solid #d2b34e;
  outline-offset: 4px;
  border-radius: 4px;
}
.footer .footer-whatsapp {
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #bc9b4b;
  border-radius: 8px;
  font-weight: 600;
  background: #47262e;
}
.footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 8px 0 12px;
}
.footer .footer-whatsapp,
.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer address {
  font-style: normal;
  margin: 0;
}
.footer address a {
  display: inline-block;
  padding: 6px 0;
}
.footer-hours {
  color: #d9cdd0;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 8px 0 0;
}
.footer-bottom,
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid #ffffff24;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: #c9b9be;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}
.footer-bottom nav {
  padding-right: 64px;
}
.footer-bottom nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
}
@media (min-width: 769px) and (max-width: 1050px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .footer-brand p {
    margin: 0;
    max-width: 360px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 32px 1.25rem 88px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand p {
    max-width: 340px;
  }
  .footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }
  .footer-bottom nav {
    padding-right: 0;
  }
}

/* v58 – links de contato na paleta do site */
.contact-details-text a,
#contactForm a[href^="https://wa.me/"] {
  color: #722f37;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(114, 47, 55, 0.35);
  text-underline-offset: 3px;
}
.contact-details-text a:hover,
#contactForm a[href^="https://wa.me/"]:hover {
  color: #4a1c23;
  text-decoration-color: currentColor;
}
#contactForm p:has(> a[href^="https://wa.me/"]) {
  margin-top: 12px;
  text-align: center;
}
