/* ═══════════════════════════════════════════════════════════
   RF MÓVEIS — CATÁLOGO (DARK)
   ═══════════════════════════════════════════════════════════ */

:root {
  --orange: #E85A0C;
  --orange-dark: #C94A04;
  --orange-light: #FF7A2E;

  /* Paleta dark */
  --bg: #0a0806;
  --bg-2: #120e0a;
  --bg-3: #1a130d;
  --bg-elev: #1f1813;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f4efe8;
  --text-soft: rgba(244, 239, 232, 0.72);
  --text-mute: rgba(244, 239, 232, 0.5);
  --text-faint: rgba(244, 239, 232, 0.32);

  --green-wa: #25D366;
  --facebook: #1877F2;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 14px 36px rgba(232, 90, 12, 0.38);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
input, button, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--text); }

/* Headings utilitários */
.section-heading { text-align: center; margin-bottom: 56px; max-width: 760px; margin-inline: auto; }
.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 90, 12, 0.3);
  border-radius: 999px;
  background: rgba(232, 90, 12, 0.08);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
}
.section-subtitle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
}
.section-subtitle em { font-style: italic; color: var(--orange); font-weight: 800; }
.section-desc {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(232, 90, 12, 0.5); }

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10, 8, 6, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { background: rgba(10, 8, 6, 0.92); }
.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.25s var(--ease);
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 70vh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--bg-3) 0%, var(--bg) 60%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow-1 {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232, 90, 12, 0.25) 0%, transparent 55%);
  filter: blur(80px);
  opacity: 0.9;
}
.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 90, 12, 0.15) 0%, transparent 60%);
  filter: blur(70px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
}
.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 900;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-mute);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
  z-index: 3;
  animation: heroScrollFade 3s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--orange-light); }
.hero-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  position: relative;
}
.hero-scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}
@keyframes heroScrollFade {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ========== MARCA + DIFERENCIAIS ========== */
.marca {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}
.marca::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 90, 12, 0.1) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.marca-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.marca-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.marca-text .section-title { text-align: left; }
.marca-text .section-kicker { margin-bottom: 20px; }
.marca-lead {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-soft);
}
.marca-lead strong { color: var(--text); font-weight: 700; }
.marca-text p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}
.marca-quote {
  margin: 32px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--orange);
  background: rgba(232, 90, 12, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
}
.marca-quote em { color: var(--orange); font-style: italic; font-weight: 700; }

/* STAGE do logo 3D flutuante */
.marca-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.marca-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 90, 12, 0.5) 0%, transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(232, 90, 12, 0.22) 0%, transparent 65%);
  filter: blur(60px);
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.marca-logo-3d {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 36px 60px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 50px rgba(232, 90, 12, 0.32));
  animation: logoFloat3D 7s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes logoFloat3D {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(-8deg) rotateZ(0deg);
  }
  25% {
    transform: translateY(-12px) rotateX(4deg) rotateY(5deg) rotateZ(-1deg);
  }
  50% {
    transform: translateY(-6px) rotateX(0deg) rotateY(10deg) rotateZ(0.5deg);
  }
  75% {
    transform: translateY(-14px) rotateX(-3deg) rotateY(-2deg) rotateZ(1deg);
  }
}

.dif-heading {
  text-align: center;
  margin-bottom: 56px;
}
.dif-heading .section-kicker { margin-bottom: 14px; }
.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dif-card {
  padding: 32px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.dif-card:hover {
  transform: translateY(-4px);
  background: var(--bg-3);
  border-color: rgba(232, 90, 12, 0.4);
}
.dif-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dif-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.dif-card:hover .dif-icon img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}
.dif-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.dif-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ========== CATÁLOGO ========== */
.catalogo {
  padding: 120px 0;
  background: var(--bg-2);
}
.catalogo-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.catalogo-controls {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  padding: 18px;
  margin: 0 -18px 40px;
  background: rgba(18, 14, 10, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 90, 12, 0.15);
}
.search svg { color: var(--text-mute); flex-shrink: 0; }
.search input {
  flex: 1;
  padding: 13px 12px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  color: var(--text);
}
.search input::placeholder { color: var(--text-mute); }
.search-clear {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--line);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-clear:hover { background: var(--orange); color: #fff; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  border: 1.5px solid transparent;
}
.filter-btn:hover { background: var(--bg-elev); color: var(--text); }
.filter-btn.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Carrossel de produtos — full-width, auto-scroll contínuo, pausa só ao segurar */
.produtos-wrap {
  position: relative;
  min-height: 200px;
  /* Sair do container interno e ir de ponta a ponta da viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.produtos-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding: 4px 32px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  /* Mascarar bordas pra ficar fade nas pontas */
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.produtos-grid::-webkit-scrollbar { display: none; }
.produtos-grid.is-dragging { cursor: grabbing; }
.produtos-grid .produto-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
}
.produtos-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-mute);
  font-size: 16px;
}

/* Indicador de progresso (pontinhos) */
.produtos-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 24px;
}
.produtos-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}
.produtos-progress-dot:hover {
  background: var(--text-mute);
  transform: scale(1.2);
}
.produtos-progress-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(232, 90, 12, 0.5);
}

/* Card produto */
.produto-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}
.produto-card:hover,
.produto-card:focus-visible {
  border-color: rgba(232, 90, 12, 0.5);
  box-shadow: var(--shadow-lg);
}
.produto-card:focus-visible { box-shadow: 0 0 0 4px rgba(232, 90, 12, 0.25); }

/* IMAGEM COM ARREDONDAMENTO — mostra a foto INTEIRA (object-fit: contain) */
.produto-card-image {
  position: relative;
  margin: 14px 14px 0;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2a1f18 0%, #1a130d 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.produto-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 70%, rgba(232, 90, 12, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.produto-card:hover .produto-card-image::before { opacity: 1; }
.produto-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s var(--ease);
}
/* Sem zoom no hover — só leve realce sem cortar */
.produto-card:hover .produto-card-image img { transform: scale(1.02); }

.produto-card-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.produto-card-category {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
}
.produto-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.produto-card-cta {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.produto-card:hover .produto-card-cta {
  color: var(--orange-light);
  gap: 10px;
}

/* ========== CONTATO ========== */
.contato {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}
.contato::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 90, 12, 0.1) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}
.contato-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.contato-text .section-title { text-align: left; }
.contato-text p {
  margin: 22px 0 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 540px;
}
.contato-text p strong { color: var(--text); font-weight: 700; }
.contato-address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.contato-address strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
}
.contato-hours {
  display: block;
  margin: 10px 0;
  padding: 10px 14px;
  background: rgba(232, 90, 12, 0.08);
  border: 1px solid rgba(232, 90, 12, 0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
}
.contato-address em { opacity: 0.7; font-style: italic; font-size: 13px; display: block; margin-top: 8px; }

.contato-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

/* ========== FOOTER ========== */
.footer {
  padding: 70px 0 40px;
  background: var(--bg-2);
  color: var(--text-soft);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: var(--orange-light);
  margin: -4px 0 4px;
}
/* Carrossel de vantagens (footer) */
.footer-vantagens {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  margin: 4px 0 8px;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.footer-vantagens-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: vantagensScroll 42s linear infinite;
}
.footer-vantagens:hover .footer-vantagens-track {
  animation-play-state: paused;
}
.footer-vantagens-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-vantagens-item:hover {
  border-color: rgba(232, 90, 12, 0.4);
  color: var(--text);
}
.footer-vantagens-item svg {
  color: var(--orange-light);
  flex-shrink: 0;
}
@keyframes vantagensScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Social links */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.footer-social a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: transparent;
  color: #fff;
}
.social-wa:hover { background: var(--green-wa); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4); }
.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 10px 28px rgba(220, 39, 67, 0.4); }
.social-fb:hover { background: var(--facebook); box-shadow: 0 10px 28px rgba(24, 119, 242, 0.4); }
.social-web:hover { background: var(--orange); box-shadow: var(--shadow-orange); }

.footer-copy {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 480px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: calc(100vh - 48px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-bounce);
  display: flex;
  flex-direction: column;
}
.modal.is-open .modal-panel { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.8);
  color: var(--text);
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal-close:hover { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow-y: auto;
  flex: 1;
}
.modal-media {
  position: relative;
  background: linear-gradient(135deg, #2a1f18 0%, #140f0a 100%);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.modal-media-inner {
  flex: 1;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 20px;
  min-height: 0;
}
.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
  border-radius: var(--radius);
}
.modal-media video {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius);
}

/* TOGGLE de mídia (imagem / vídeo) */
.modal-media-toggle {
  display: flex;
  gap: 6px;
  padding: 0 24px 20px;
  justify-content: center;
}
.media-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s var(--ease);
}
.media-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.media-tab.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(232, 90, 12, 0.4);
}

.modal-body {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  background: var(--bg-2);
}
.modal-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
  padding: 4px 12px;
  background: rgba(232, 90, 12, 0.1);
  border-radius: 999px;
  align-self: flex-start;
}
.modal-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
.modal-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}
.modal-section h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}
.modal-section p { font-size: 14.5px; line-height: 1.7; color: var(--text-soft); }
.modal-benefits { display: grid; gap: 10px; }
.modal-benefits li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.modal-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg-2);
}
.modal-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(232, 90, 12, 0.07);
  border: 1px solid rgba(232, 90, 12, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}
.modal-note svg { color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.modal-cta {
  margin-top: 8px;
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}
.modal-cta:hover {
  background: #1fb957;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}

body.modal-open { overflow: hidden; }

/* ========== CHATBOT ========== */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(232, 90, 12, 0.3);
  z-index: 90;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
  cursor: pointer;
  animation: chatFloat 4s ease-in-out infinite;
}
.chat-launcher:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--orange);
}
.chat-launcher img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}
@keyframes chatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.chat-launcher-badge {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.chat-launcher:hover .chat-launcher-badge {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.chat-launcher-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27e36b;
  box-shadow: 0 0 10px rgba(39, 227, 107, 0.7);
  animation: pulse 2s ease-in-out infinite;
}

body.chat-open .chat-launcher {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.3);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 560px;
  max-height: calc(100vh - 40px);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 95;
  transform: translateY(24px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-bounce), opacity 0.25s var(--ease), visibility 0.3s var(--ease);
}
.chat.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
  color: #fff;
}
.chat-avatar-header {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.chat-header-text { flex: 1; min-width: 0; line-height: 1.2; }
.chat-header-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.chat-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #27e36b;
  box-shadow: 0 0 8px rgba(39, 227, 107, 0.8);
  animation: pulse 2s ease-in-out infinite;
}
.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.chat-close:hover { background: rgba(255, 255, 255, 0.32); transform: rotate(90deg); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }

.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
  animation: chatMsgIn 0.3s var(--ease) both;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg-bot { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow-sm);
  align-self: flex-end;
}
.chat-msg-bubble {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.chat-msg-bot .chat-msg-bubble {
  background: var(--bg-elev);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.chat-msg-user .chat-msg-bubble {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-orange);
}
.chat-msg-bubble a { color: var(--orange-light); font-weight: 600; text-decoration: underline; }
.chat-msg-user .chat-msg-bubble a { color: #fff; }

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
}
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: typing 1.4s infinite ease-in-out both;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0 38px;
}
.chat-suggestion {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  background: var(--bg-elev);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chat-suggestion:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chat-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 90, 12, 0.15);
}
.chat-input:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.chat-send:hover:not(:disabled) { background: var(--orange-light); transform: translateY(-2px) scale(1.05); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; background: var(--text-mute); box-shadow: none; }
.chat-send svg { transform: translateX(-1px); }

.chat-disclaimer {
  padding: 8px 16px 12px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-mute);
  text-align: center;
  background: var(--bg-2);
}
.chat-disclaimer em { color: var(--orange-light); font-style: italic; font-weight: 600; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ========== RESPONSIVO ========== */
@media (max-width: 960px) {
  .marca-intro { grid-template-columns: 1fr; gap: 60px; }
  .marca-stage { max-width: 360px; }
  .contato-inner { grid-template-columns: 1fr; gap: 60px; }
  .contato-stage { max-width: 340px; }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-media { min-height: 320px; }
  .modal-media img, .modal-media video { max-height: 380px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .marca, .catalogo, .contato { padding: 80px 0; }
  .nav-logo img { height: 38px; }

  .hero { padding: calc(var(--nav-h) + 24px) 0 70px; min-height: 64vh; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero-sub { font-size: 15px; }
  .hero-scroll { bottom: 16px; }

  .dif-grid { grid-template-columns: 1fr; }
  .dif-card { padding: 26px 22px; }

  .catalogo-controls {
    grid-template-columns: 1fr;
    padding: 14px;
    position: relative;
    top: auto;
  }
  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -14px;
    padding-inline: 14px;
  }
  .filter-btn { flex-shrink: 0; }

  .produtos-wrap { margin: 0 -20px; }
  .produtos-grid { padding: 4px 20px 20px; gap: 14px; }
  .produtos-grid .produto-card { flex-basis: 260px; }
  .produto-card-image { margin: 10px 10px 0; padding: 12px; }
  .produto-card-body { padding: 14px 16px 16px; gap: 8px; }
  .produto-card-name { font-size: 14.5px; }
  .produto-card-cta { font-size: 10.5px; }

  .section-heading { margin-bottom: 40px; }
  .marca-quote { font-size: 16px; padding: 20px; }

  .modal { padding: 0; }
  .modal-panel {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .modal-body { padding: 26px 22px 30px; }
  .modal-title { font-size: 24px; }
  .modal-media { min-height: 260px; }
  .modal-media-inner { padding: 24px 20px 12px; }
  .modal-close { top: 12px; right: 12px; }

  .contato-text p { font-size: 15px; }

  .chat {
    right: 10px;
    left: auto;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: 360px;
    height: 380px;
    max-height: calc(100vh - 100px);
    border-radius: var(--radius-lg);
  }
  .chat-launcher { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .chat-launcher img { width: 46px; height: 46px; }
  .chat-launcher-badge { display: none; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .produtos-grid .produto-card { flex-basis: 280px; }
  .footer-social a { width: 46px; height: 46px; }

  .chat {
    right: 8px;
    left: auto;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-width: 340px;
    height: 340px;
  }
  .chat-header { padding: 9px 12px; }
  .chat-header-text strong { font-size: 14px; }
  .chat-status { font-size: 11px; }
  .chat-avatar-header { width: 34px; height: 34px; }
  .chat-messages { padding: 12px 10px; gap: 8px; }
  .chat-msg-bubble { font-size: 13px; padding: 9px 11px; line-height: 1.45; }
  .chat-msg-avatar { width: 26px; height: 26px; }
  .chat-form { padding: 8px 10px; }
  .chat-input { padding: 9px 13px; font-size: 13px; }
  .chat-send { width: 36px; height: 36px; }
  .chat-send svg { width: 16px; height: 16px; }
  .chat-disclaimer { font-size: 10px; padding: 5px 10px 7px; }
  .chat-suggestions { margin-left: 32px; gap: 6px; }
  .chat-suggestion { padding: 6px 11px; font-size: 11.5px; }
}
