:root {
  --red: #df2d21;
  --red-dark: #b91b11;
  --ink: #171719;
  --muted: #626262;
  --paper: #fffaf6;
  --paper-warm: #f1e7df;
  --line: #1f1f22;
  --soft-line: rgba(31, 31, 34, 0.14);
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 5rem;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 120%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  background:
    linear-gradient(90deg, rgba(31, 31, 34, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fff9f4 0%, #efe2d8 100%);
  background-size: 52px 52px, cover;
  /* Fade-in premium de entrada: o site surge suavemente ao abrir.
     0.6s ease-in-out = ~10% mais lento que o padrão rápido (0.45s) —
     começa devagar e desacelera no final, transmitindo sensação de qualidade.
     Os outros efeitos do hero (slide de imagem e texto) continuam independentes. */
  animation: page-fade-in 0.6s ease-in-out both;
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: 100%;
  overflow-x: clip;
  padding-top: var(--header-height);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 250, 246, 0.94);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: clamp(8.8rem, 14vw, 12rem);
  height: auto;
}

.brand-copy {
  padding-left: 0.85rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav ul,
.mobile-nav ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li,
.mobile-nav li {
  list-style: none;
}

.main-nav a,
.mobile-nav a {
  padding: 0.7rem 0.95rem;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--red-dark);
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.84rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--line);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.btn:hover,
.header-cta:hover,
.btn:focus-visible,
.header-cta:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-primary,
.header-cta {
  background: var(--red);
  color: #fff;
}

.btn-secondary {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 5px 5px 0 var(--line);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--ink);
  transform-origin: center;
  transition:
    transform 0.24s ease,
    opacity 0.18s ease;
}

.menu-open .menu-toggle {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--line);
}

.menu-open .menu-toggle span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 0.75rem;
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(82vw, 20rem);
  height: 100svh;
  margin: 0;
  padding: calc(var(--header-height) + 1rem) 1rem 1.5rem;
  border-left: 2px solid var(--line);
  background: #fffaf6;
  box-shadow:
    -8px 0 0 rgba(31, 31, 34, 0.16),
    -100vw 0 0 100vw rgba(23, 23, 25, 0.3);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(105%);
  transition:
    opacity 0.22s ease,
    transform 0.32s ease;
}

.menu-open {
  overflow: hidden;
}

.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 3.35rem;
  padding: 0.85rem 0.95rem;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(0.75rem);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  box-shadow: 2px 2px 0 var(--line);
  transform: translate(2px, 2px);
}

.menu-open .mobile-nav a {
  opacity: 1;
  transform: translateX(0);
}

.menu-open .mobile-nav a:nth-child(1) {
  transition-delay: 0.08s;
}

.menu-open .mobile-nav a:nth-child(2) {
  transition-delay: 0.12s;
}

.menu-open .mobile-nav a:nth-child(3) {
  transition-delay: 0.16s;
}

.menu-open .mobile-nav a:nth-child(4) {
  transition-delay: 0.2s;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: start;
  padding: clamp(0.75rem, 2vw, 1.35rem) 0 clamp(5rem, 9svh, 6.5rem);
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: calc(100svh - var(--header-height) - clamp(0.75rem, 2vw, 1.35rem) - clamp(5rem, 9svh, 6.5rem));
  max-width: min(100%, 62rem);
}

/* Animação de entrada do hero: a imagem aparece primeiro (fade-in),
   depois logo/texto/botões deslizam suavemente da esquerda para a direita,
   um a um, em sequência rápida (tudo encerra por volta de ~0,9s). */
.hero-copy > * {
  opacity: 0;
  animation: hero-copy-intro 0.45s ease-out both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.32s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.39s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.46s; }

@keyframes hero-copy-intro {
  from {
    opacity: 0;
    transform: translateX(-1.75rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-brand-logo {
  width: min(100%, 23rem);
  height: auto;
}

.hero-delivery {
  width: fit-content;
  margin-top: 0.2rem;
  margin-bottom: 0.65rem;
  color: var(--line);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.42rem 0.7rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.context-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  margin-top: clamp(1.4rem, 7svh, 5rem);
  /* 21ch: "Qualidade certificada." (22 caracteres) precisa caber
     numa única linha — com 20ch ela quebrava ao meio ("Qualidade" /
     "certificada."), ficando em 3 linhas com "Preço de Fábrica." */
  max-width: 21ch;
  font-size: clamp(4rem, 6.8vw, 7.2rem);
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span + span {
  margin-top: 0.06em;
}

.hero-title-accent {
  color: #c91f17;
}

.hero-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.context-copy p:not(.eyebrow),
.contact-copy p,
.catalog-summary p,
.catalog-summary li,
.product-card p,
.spec-header p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.catalog-summary > .eyebrow,
.spec-header > .eyebrow,
.contact-copy > .eyebrow {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.hero-product {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 52%, rgba(255, 255, 255, 0) 0 16rem, rgba(255, 250, 246, 0.58) 29rem);
}

.hero-product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: hero-image-reveal 0.45s ease-out both, hero-float 3.42s ease-in-out infinite;
}

@keyframes hero-image-reveal {
  from { opacity: 0; }
  to { opacity: 0.5; }
}

@keyframes hero-float {
  0%, 100% { transform: scale(1.1) translateY(0px); }
  50%       { transform: scale(1.1) translateY(-10px); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(0.8rem, 2.4svh, 1.35rem);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.25rem 0.15rem 0.45rem;
  color: var(--line);
  transform: translateX(-50%);
  transition: transform 0.18s ease;
}

.hero-scroll span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-scroll i {
  display: none;
}

.hero-scroll::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 1rem;
  height: 1rem;
  border-right: 5px solid var(--cta-red);
  border-bottom: 5px solid var(--cta-red);
  transform: rotate(45deg);
  animation: hero-scroll-cue 1.35s ease-in-out infinite;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  transform: translate(-50%, 2px);
}

.signal-strip {
  border-bottom: 2px solid var(--line);
  background: var(--red);
  color: #fff;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-grid article {
  min-width: 0;
  padding: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
}

.signal-grid article:first-child {
  border-left: 0;
}

.signal-grid span,
.contact-direct a {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-grid strong {
  display: block;
  margin-top: 0.15rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.context-section {
  border-bottom: 2px solid var(--line);
  scroll-margin-top: 6rem;
}

.context-layout {
  display: grid;
  /* Layout em coluna única e centralizado: o texto de "Sobre nós" vem
     primeiro e o selo de qualidade + foto da fábrica aparecem depois,
     abaixo dele — em vez do antigo grid lado a lado. */
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
}

.context-copy {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: min(100%, 50rem);
}

.brazilian-seal {
  width: min(9rem, 100%);
  height: auto;
  image-rendering: auto;
}

.context-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 0.85rem 0;
  border-top: 2px solid var(--soft-line);
  border-bottom: 2px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.context-stats strong {
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
}

.context-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Sem justify-items:center aqui — cada <li> estica até a mesma largura
     (a do item mais largo), alinhando o traço vermelho numa linha vertical
     consistente. O bloco inteiro centraliza via justify-items:center do pai. */
  gap: 0.75rem;
}

.context-features li {
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left; /* sobrescreve o center herdado — frase colada ao traço */
}

.context-features li strong {
  color: var(--ink);
}

.context-copy h2 {
  max-width: 16ch;
  margin-bottom: 0.6rem;
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
}

.company-media {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

.quality-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.42fr);
  gap: 1rem;
  align-items: center;
  width: min(100%, 52rem);
  justify-self: center;
  padding: 1rem;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 10px 10px 0 rgba(31, 31, 34, 0.12);
}

.quality-copy {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.quality-copy > span {
  color: var(--red-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.9;
}

.quality-copy strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.quality-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quality-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.quality-tags span {
  padding: 0.48rem 0.62rem;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.quality-seal {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto; /* auto inline: centraliza no mobile (coluna única) */
  padding: 0.75rem;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, #f8f8f6 0%, #e2e2df 100%);
}

.quality-seal img {
  width: min(100%, 13rem);
  max-height: 22rem;
  object-fit: contain;
  filter: drop-shadow(8px 10px 0 rgba(31, 31, 34, 0.12));
}

.quality-seal figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.factory-photo {
  width: min(100%, 52rem);
  justify-self: center;
  margin: 1rem 0 0;
  padding: 0.7rem;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 10px 10px 0 rgba(31, 31, 34, 0.14);
}

.factory-photo img {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 2px solid var(--soft-line);
  object-fit: cover;
}

.factory-photo figcaption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.decision-band {
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.decision-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-grid ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: decision;
}

.decision-grid li {
  position: relative;
  min-width: 0;
  padding-left: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  counter-increment: decision;
}

.decision-grid li::before {
  content: counter(decision, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  line-height: 0.9;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 15ch;
  font-size: clamp(3rem, 6.6vw, 6.8rem);
}

.catalog-section {
  scroll-margin-top: 6rem;
  border-bottom: 2px solid var(--line);
}

.catalog-section *,
.catalog-section *::before,
.catalog-section *::after {
  max-width: 100%;
}

.catalog-tabs {
  display: grid;
  gap: 0.45rem;
  max-width: min(100%, 28rem);
  margin-bottom: 1.2rem;
}

.catalog-select-label {
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-select {
  width: 100%;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.85rem 3rem 0.85rem 1rem;
  border: 2px solid var(--line);
  color: #fff;
  background: var(--red);
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  appearance: auto;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.catalog-select:hover,
.catalog-select:focus {
  background: var(--red-dark);
}

.catalog-select option {
  color: var(--ink);
  background: #fff;
}

.catalog-select:focus {
  outline: 3px solid rgba(223, 45, 33, 0.24);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.36fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.catalog-summary {
  grid-column: 2;
  grid-row: 1;
  position: static;
  margin-top: calc(var(--catalog-spec-height, 34rem) + 1rem);
  min-width: 0;
  padding: 1rem;
  border: 2px solid var(--line);
  background: var(--paper);
}

.catalog-summary h3,
.spec-header h3,
.product-card strong {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.catalog-summary h3,
.spec-header h3 {
  font-size: clamp(2rem, 1.5vw, 3.5rem);
  overflow-wrap: anywhere;
}

.catalog-summary ul {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
}

.catalog-content {
  display: contents;
  min-width: 0;
  gap: 1rem;
}

.product-grid-wrap {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.product-grid {
  display: grid;
  --product-grid-fade-size: 2.25rem;
  --product-grid-scroll-bleed: clamp(9rem, 22vh, 16rem);
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-content: start;
  min-width: 0;
  height: var(--catalog-product-list-height, var(--catalog-spec-height, 34rem));
  padding: 0.2rem 0.35rem var(--product-grid-scroll-bleed) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--red) rgba(31, 31, 34, 0.12);
}

.product-scroll-cue {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.25rem 0.15rem 0.45rem;
  color: var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-scroll-cue span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-scroll-cue svg {
  width: 2rem;
  height: 2.9rem;
  color: var(--cta-red);
  filter: drop-shadow(0 0 6px rgba(255, 250, 246, 1)) drop-shadow(0 0 14px rgba(255, 250, 246, 0.9));
  animation: product-scroll-bounce 1.35s ease-in-out infinite;
}

@keyframes product-scroll-bounce {
  0%, 100% { transform: translateY(-2px); }
  50%       { transform: translateY(5px); }
}

.product-grid.has-scroll-bottom ~ .product-scroll-cue {
  opacity: 1;
  pointer-events: auto;
}

.product-grid.has-scroll-top {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--product-grid-fade-size), #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--product-grid-fade-size), #000 100%);
}

.product-grid.has-scroll-bottom {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--product-grid-fade-size)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--product-grid-fade-size)),
    transparent 100%
  );
}

.product-grid.has-scroll-top.has-scroll-bottom {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--product-grid-fade-size),
    #000 calc(100% - var(--product-grid-fade-size)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--product-grid-fade-size),
    #000 calc(100% - var(--product-grid-fade-size)),
    transparent 100%
  );
}

.product-grid::-webkit-scrollbar {
  width: 0.55rem;
}

.product-grid::-webkit-scrollbar-track {
  background: rgba(31, 31, 34, 0.1);
}

.product-grid::-webkit-scrollbar-thumb {
  border: 2px solid rgba(31, 31, 34, 0.1);
  background: var(--red);
}

.spec-card {
  grid-column: 2;
  grid-row: 1;
}

.product-card {
  display: grid;
  align-self: start;
  min-width: 0;
  width: 100%;
  padding: 0.95rem;
  border: 2px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.product-card:hover,
.product-card.is-active {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--line);
}

.product-card.is-active {
  background: #fff1ef;
}

.product-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.product-card-header > div {
  min-width: 0;
}

.product-visual {
  flex: 0 0 auto;
}

.product-visual.has-image,
.spec-thumb {
  display: grid;
  place-items: center;
  border: 2px solid var(--soft-line);
  background: #fffaf6;
}

.product-visual.has-image {
  width: 4.4rem;
  height: 4.4rem;
  padding: 0.35rem;
}

.product-visual.has-image img,
.spec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card small {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0.3rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-card strong {
  display: block;
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.product-card p {
  margin: 0.8rem 0 0;
  overflow-wrap: anywhere;
}

.spec-card {
  min-width: 0;
  padding: 1rem;
  border: 2px solid var(--line);
  border-top-width: 8px;
  background: #fff;
  scroll-margin-top: 6.5rem;
}

.spec-toggle {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
}

.spec-header {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.spec-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.spec-thumb {
  width: 6rem;
  height: 6rem;
  margin: 0;
  padding: 0.45rem;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
}

th,
td {
  padding: 0.82rem 0.75rem;
  border-bottom: 2px solid var(--soft-line);
  text-align: left;
}

th {
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody td:first-child {
  font-weight: 900;
}

.clients-section {
  scroll-margin-top: 6rem;
  border-bottom: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.clients-layout {
  display: grid;
  gap: 1.2rem;
}

.clients-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.client-chip {
  min-width: 0;
  padding: 0.85rem;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.client-chip:nth-child(4n + 1) {
  background: var(--red);
  color: #fff;
}

.client-chip:hover {
  background: var(--ink);
  color: #fff;
}

.client-chip:nth-child(4n + 1):hover {
  background: var(--red-dark);
}

.client-chip.is-hidden {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.7rem) scale(0.98);
}

.clients-wall.is-expanded .client-chip.is-hidden {
  display: block;
  position: static;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: clientReveal 0.34s ease both;
  animation-delay: var(--client-delay, 0ms);
}

.client-toggle {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  margin-top: 0.35rem;
}

.client-toggle.is-expanded {
  background: var(--red);
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: translateY(-1px) rotate(45deg);
  }

  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

@keyframes clientReveal {
  from {
    opacity: 0;
    transform: translateY(0.7rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.reveal-ready .scroll-reveal {
  opacity: 0;
  transition: opacity 0.44s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
}

/* ─── Botão flutuante WhatsApp ─────────────────────────────────────────────── */

.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6), 0 3px 8px rgba(0, 0, 0, 0.16);
  animation-play-state: paused;
}

.whatsapp-fab svg {
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.14); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7),  0 2px 8px rgba(0, 0, 0, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-toggle span:not(.sr-only),
  .mobile-nav,
  .mobile-nav a,
  .client-chip,
  .scroll-reveal {
    transition: none;
  }

  .clients-wall.is-expanded .client-chip.is-hidden,
  .hero-product img {
    animation: none;
    transform: scale(1.1);
  }

  body {
    animation: none; /* desativa o fade-in de entrada */
  }

  .whatsapp-fab {
    animation: none;
  }

  .hero-copy > * {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .product-scroll-cue svg {
    animation: none;
  }

  body.reveal-ready .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.contact-section {
  scroll-margin-top: 6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 0.72fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-direct {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}

.contact-direct a {
  color: var(--red-dark);
  overflow-wrap: anywhere;
}

.contact-map {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.contact-map iframe {
  width: 100%;
  height: clamp(11rem, 18vw, 15rem);
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 8px 8px 0 rgba(31, 31, 34, 0.14);
}

.map-link {
  width: fit-content;
  max-width: 100%;
  padding: 0.58rem 0.72rem;
  border: 2px solid var(--line);
  color: #fff;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.map-link:hover,
.map-link:focus-visible {
  color: #fff;
  background: var(--red-dark);
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.85rem;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 10px 10px 0 var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(223, 45, 33, 0.24);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--red-dark);
  background: #fff1ef;
}

.field-error {
  min-height: 1rem;
  color: var(--red-dark);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.interest-field {
  display: grid;
  gap: 0.2rem;
}

.interest-label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.interest-rows {
  display: grid;
  gap: 0.4rem;
}

.interest-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(5rem, 7.5rem) auto auto;
  gap: 0.4rem;
  align-items: center;
}

.interest-row select,
.interest-row input {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.interest-row select:focus,
.interest-row input:focus {
  outline: 3px solid rgba(223, 45, 33, 0.24);
}

.interest-unit {
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
  color: var(--cta-red);
  text-transform: uppercase;
  min-width: 2rem;
  text-align: center;
}

.interest-remove {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.interest-remove:hover {
  background: var(--ink);
  color: #fff;
}

.interest-add {
  margin-top: 0.2rem;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.interest-add:hover {
  background: var(--ink);
  color: #fff;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  width: min(12rem, 58vw);
  filter: brightness(0) invert(1);
}

.footer-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

@media (max-width: 920px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .brand-copy,
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 70;
  }

  .hero-layout,
  .quality-panel,
  .catalog-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .clients-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-product {
    min-height: 18rem;
    border-left: 0;
    border-top: 2px solid var(--line);
    padding-top: 1.5rem;
  }

  .hero-product::before {
    inset: auto 0 0 auto;
    writing-mode: horizontal-tb;
  }

  .catalog-summary {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    position: static;
  }

  .catalog-content {
    display: grid;
    gap: 1rem;
  }

  .product-grid-wrap {
    position: static;
    top: auto;
  }

  .product-scroll-cue {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    max-height: none;
    padding: 0;
    overflow-y: visible;
    overscroll-behavior: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .spec-toggle {
    display: inline-flex;
    margin: 0.35rem 0 1rem;
  }

  .spec-card {
    grid-column: auto;
    grid-row: auto;
    overflow: hidden;
    transition:
      box-shadow 0.22s ease,
      background-color 0.22s ease;
  }

  .spec-card .spec-header,
  .spec-card .table-wrap {
    opacity: 1;
    max-height: 80rem;
    transform: translateY(0);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      max-height 0.32s ease,
      margin 0.32s ease;
  }

  .spec-card .spec-header {
    position: relative;
    overflow: hidden;
  }

  .spec-card.is-collapsed .spec-header {
    max-height: 17rem;
  }

  .spec-card.is-collapsed .spec-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 82%);
    pointer-events: none;
  }

  .spec-card.is-collapsed .table-wrap {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.35rem);
    pointer-events: none;
  }

  .quality-seal img {
    width: min(100%, 16rem);
    max-height: 18rem;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 1rem);
    --header-height: 4.4rem;
  }

  .header-row {
    gap: 0.7rem;
  }

  .brand-logo {
    width: min(9.6rem, 66vw);
  }

  .hero-section {
    min-height: auto;
    padding-top: 1.4rem;
  }

  .hero-copy,
  .section-heading {
    gap: 0.7rem;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-brand-logo {
    width: min(86vw, 18rem);
  }

  .hero-delivery {
    justify-self: center;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
  }

  .hero-copy h1 {
    margin-top: 1.05rem;
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.3rem);
    line-height: 0.92;
  }

  .hero-copy h1 span {
    /* "nowrap" + fonte em vw: cada frase fica numa única linha
       (2 linhas no total) e o tamanho acompanha a largura da tela,
       então "Qualidade certificada." sempre cabe sem vazar. */
    white-space: nowrap;
  }

  .section-heading h2,
  .context-copy h2,
  .contact-copy h2 {
    max-width: 14ch;
    font-size: clamp(2.38rem, 10.9vw, 3.35rem);
    line-height: 0.94;
  }

  .hero-copy p:not(.eyebrow),
  .section-heading p:not(.eyebrow),
  .context-copy p:not(.eyebrow),
  .contact-copy p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
  }

  .hero-scroll {
    bottom: 0.85rem;
    padding: 0.25rem 0.15rem 0.45rem;
  }

  .hero-scroll span {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .hero-product {
    min-height: 0;
  }

  .hero-product img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.5;
    mix-blend-mode: multiply;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .decision-grid,
  .decision-grid ol {
    grid-template-columns: 1fr;
  }

  .decision-grid {
    gap: 0.65rem;
  }

  .signal-grid article,
  .signal-grid article:first-child {
    border-left: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.45);
  }

  .signal-grid article:first-child {
    border-top: 0;
  }

  .catalog-tabs {
    grid-template-columns: 1fr;
  }

  .clients-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .catalog-tabs {
    display: grid;
  }

  .product-card {
    padding: 0.82rem;
  }

  .product-card-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
  }

  .product-visual.has-image {
    width: 5.35rem;
    height: 5.35rem;
    padding: 0.48rem;
  }

  .product-card small {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .product-card strong {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 0.9;
  }

  .product-card p {
    display: none;
  }

  .spec-toggle {
    display: inline-flex;
    margin: 0.35rem 0 1rem;
  }

  .spec-card {
    overflow: hidden;
    transition:
      box-shadow 0.22s ease,
      background-color 0.22s ease;
  }

  .spec-card .spec-header,
  .spec-card .table-wrap {
    opacity: 1;
    max-height: 80rem;
    transform: translateY(0);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      max-height 0.32s ease,
      margin 0.32s ease;
  }

  .spec-card .spec-header {
    position: relative;
    overflow: hidden;
  }

  .spec-card.is-collapsed .spec-header {
    max-height: 17rem;
  }

  .spec-card.is-collapsed .spec-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 82%);
    pointer-events: none;
  }

  .spec-card.is-collapsed .table-wrap {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.35rem);
    pointer-events: none;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 100%;
    border-collapse: collapse;
  }

  th,
  td {
    padding: 0.72rem 0.55rem;
    font-size: clamp(0.92rem, 3.4vw, 1.04rem);
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  th {
    font-size: clamp(0.68rem, 2.7vw, 0.78rem);
  }

  td:first-child {
    font-weight: 900;
  }

  td::before {
    content: none;
  }
  .contact-form {
    box-shadow: 6px 6px 0 var(--line);
  }

  .footer-row {
    display: grid;
  }
}

@media (max-width: 330px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 0.9rem;
  }

  .product-card strong {
    font-size: 1.75rem;
  }

  .product-card small {
    font-size: 0.82rem;
  }
}
