/* ============================================================
   MFM LOJA — Landing Page Cadeira Savana
   Estilo: editorial / industrial minimalista
   ============================================================ */

:root {
  /* ----------------------------------------------------------
     Paleta MFM Loja — sistema enxuto:
     • Surface: 3 níveis de fundo
     • Ink: 3 níveis de texto
     • Accent: 1 só cor (amarelo da logo) — usada com parcimônia
     • Linha: 2 intensidades
     ---------------------------------------------------------- */
  --bg:         #F7F4EC;       /* canvas principal */
  --bg-alt:     #EFEAE0;       /* surface alternada para alternância de seções */
  --surface:    #FFFFFF;       /* cards / superfícies elevadas */
  --ink:        #1F1812;       /* texto principal / preto-marrom */
  --ink-soft:   #4A4138;       /* texto secundário */
  --ink-mute:   #8A8278;       /* mono labels / metadados */
  --line:       rgba(31, 24, 18, 0.08);
  --line-strong:rgba(31, 24, 18, 0.18);
  --grid-line:  rgba(31, 24, 18, 0.04);
  --accent:     #FFC61A;
  --accent-deep:#E6AC00;
  --on-accent:  #1F1812;
  --dark:       #1A140F;
  --on-dark:    #F5EFE0;

  /* Tipografia */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 10vw, 140px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   ELEMENTOS BASE
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.eyebrow__num {
  display: inline-block;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.eyebrow--light { color: rgba(245, 239, 229, 0.6); }
.eyebrow--light .eyebrow__num { background: var(--accent); color: var(--on-accent); }

.section { padding: var(--section-y) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section__head { margin-bottom: 64px; max-width: 820px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section__lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 580px;
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg {
  flex-shrink: 0;
  max-width: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }

/* ============================================================
   NAVBAR
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 6px 16px;
}
.nav__logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav__inner { padding: 14px var(--pad-x); }

/* ============================================================
   HERO
   ============================================================ */

/* ============================================================
   FUNDOS SUTIS — Grid estático + linhas animadas
   ============================================================ */

/* Grid utility — fundo sutil quadriculado */
.has-grid { position: relative; isolation: isolate; }
.has-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
}

/* Linhas verticais + scanner animado (sutil) */
.has-lines {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.has-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg,
      transparent calc(20% - 1px), var(--grid-line) calc(20% - 1px), var(--grid-line) 20%, transparent 20%,
      transparent calc(40% - 1px), var(--grid-line) calc(40% - 1px), var(--grid-line) 40%, transparent 40%,
      transparent calc(60% - 1px), var(--grid-line) calc(60% - 1px), var(--grid-line) 60%, transparent 60%,
      transparent calc(80% - 1px), var(--grid-line) calc(80% - 1px), var(--grid-line) 80%, transparent 80%
    );
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent);
}
.has-lines::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 198, 26, 0.5) 50%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  animation: scan 22s linear infinite;
  opacity: 0;
}
@keyframes scan {
  0%   { transform: translateX(0);     opacity: 0; }
  8%   { opacity: 0.7; }
  92%  { opacity: 0.7; }
  100% { transform: translateX(100vw); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .has-lines::after { display: none; }
}

.hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 9vw, 120px);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "text    visual"
    "actions visual"
    "meta    visual";
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 40px;
  align-items: start;
  position: relative;
}
.hero__text    { grid-area: text; position: relative; }
.hero__visual  { grid-area: visual; align-self: center; }
.hero__actions { grid-area: actions; }
.hero__meta    { grid-area: meta; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7.8vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero__sub {
  max-width: 500px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__meta {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.hero__meta dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.hero__visual { position: relative; }
.hero__visual-cap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   PLACEHOLDER (substitui imagens enquanto não houver fotos)
   ============================================================ */

.placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 24px,
      rgba(20,20,20,0.05) 24px,
      rgba(20,20,20,0.05) 25px
    ),
    linear-gradient(180deg, var(--bg-alt), #e6dfd1);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder::before,
.placeholder::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
/* mini referência aos cortes angulares da logo */
.placeholder::before {
  width: 36px; height: 36px;
  top: 16px; left: 16px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.85;
}
.placeholder::after {
  width: 36px; height: 36px;
  bottom: 16px; right: 16px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
.placeholder__caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
}
.placeholder--hero { aspect-ratio: 4 / 5; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2%;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.placeholder--gallery { aspect-ratio: 1 / 1; }

/* ============================================================
   COLOR PICKER (dropdown custom)
   ============================================================ */

.pickers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}
.colorpicker {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.colorpicker__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.colorpicker__trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-width: 260px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.colorpicker__trigger:hover { border-color: var(--ink); }
.colorpicker__trigger[aria-expanded="true"] { border-color: var(--ink); }
.colorpicker__trigger[aria-expanded="true"] .colorpicker__chevron {
  transform: rotate(180deg);
}
.colorpicker__chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.colorpicker__swatch {
  width: 22px; height: 22px;
  background: var(--swatch, #000);
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.colorpicker__label { flex: 1; text-align: left; }

.colorpicker__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--ink);
  list-style: none;
  padding: 6px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 6px 6px 0 var(--ink);
}
.colorpicker.is-open .colorpicker__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.colorpicker__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.colorpicker__list li:hover,
.colorpicker__list li[aria-selected="true"] {
  background: var(--bg-alt);
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
}
/* Mosaico: 2 grandes em cima (cada uma ocupa 3 colunas) + 3 menores embaixo (cada uma ocupa 2 colunas) */
.gallery > :nth-child(1),
.gallery > :nth-child(2) { grid-column: span 3; }
.gallery > :nth-child(3),
.gallery > :nth-child(4),
.gallery > :nth-child(5) { grid-column: span 2; }
.gallery > :nth-child(n) .placeholder { aspect-ratio: 1 / 1; }
.gallery__item {
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter   0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery__item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.gallery__item.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  transition-duration: 0.16s;
}
.gallery__item .placeholder { aspect-ratio: 1 / 1; }
.gallery__item:hover .placeholder { border-color: var(--ink); }
.gallery__frame {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.25s ease;
}
.gallery__item:hover .gallery__frame { border-color: var(--ink); }
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery__item:hover .gallery__img { transform: scale(1.03); }
.gallery__item-cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* ============================================================
   SPECS
   ============================================================ */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec {
  padding: 44px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.25s ease;
}
.spec:hover { background: var(--surface); }
/* ============================================================
   SISTEMA UNIFICADO DE ÍCONES
   Mesmo tratamento para todos os cards: spec, b2b, info
   ============================================================ */
.spec__icon,
.b2b__card-icon,
.info__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.25s ease;
}
.spec__icon::after,
.b2b__card-icon::after,
.info__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 198, 26, 0.40);
  transform: translate(5px, 5px);
  z-index: -1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.spec:hover .spec__icon::after,
.b2b__card:hover .b2b__card-icon::after,
.info:hover .info__icon::after {
  background: rgba(255, 198, 26, 0.55);
}
.spec:hover .spec__icon::after,
.b2b__card:hover .b2b__card-icon::after,
.info:hover .info__icon::after {
  transform: translate(7px, 7px);
}
.spec__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.spec__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   DIMENSÕES
   ============================================================ */

.section--dimensions {
  background: var(--bg-alt);
}
.dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--surface);
}
.dimensions__visual {
  position: relative;
  background: var(--bg);
  border-right: 1px solid var(--ink);
  aspect-ratio: 4 / 5;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.dimensions__visual::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 38px; height: 38px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 3;
  pointer-events: none;
}
.dimensions__visual::after {
  content: "";
  position: absolute;
  bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  background: var(--ink);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}
.dimensions__img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dimensions__visual:hover .dimensions__img {
  transform: scale(1.02);
}
.placeholder--dimensions {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  width: auto;
  height: 100%;
}
.dimensions__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dimensions__detail {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.dimensions__list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.dimensions__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  gap: 16px;
}
.dimensions__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.dimensions__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.dimensions__value small {
  font-size: 13px;
  font-weight: 400;
  margin-left: 4px;
  color: var(--ink-mute);
  font-family: var(--font-body);
}
.dimensions__note {
  margin-top: 28px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* ============================================================
   B2B
   ============================================================ */

.section--b2b { background: var(--bg); }
.b2b__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.b2b__copy p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 520px;
}
.b2b__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.b2b__card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.b2b__card:hover { border-color: var(--ink); transform: translateY(-3px); }
.b2b__card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
}
.b2b__card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============================================================
   CTA
   ============================================================ */

.section--cta {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 100%;
  background: var(--accent);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 100% 100%);
  opacity: 0.08;
  pointer-events: none;
}
.cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.cta__sub {
  color: rgba(245, 239, 229, 0.7);
  font-size: 17px;
  margin-bottom: 36px;
}
.cta__note {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, 0.5);
}

/* ============================================================
   INFO
   ============================================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.info {
  padding: 36px 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.info:hover { border-color: var(--ink); transform: translateY(-3px); }
.info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 8px;
}
.info p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============================================================
   INFO — variantes de grid + bloco Sobre
   ============================================================ */

.info-grid--3 { grid-template-columns: repeat(3, 1fr); }

.about {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 56px; height: 56px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.about::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 56px; height: 56px;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}
.about__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.about__copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 560px;
}
.about__copy strong { color: var(--ink); font-weight: 600; }

.about__badges {
  display: grid;
  gap: 12px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 60px 22px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.badge:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.badge__icon {
  width: 72px;
  height: 64px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.badge__icon img,
.badge__icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Mercado Livre — logo PNG já com as cores corretas, sem fundo */
.badge__icon--ml {
  background: transparent;
  border: 0;
}
.badge__icon--ml img {
  width: 100%;
  height: 100%;
}
.badge__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.badge__platform {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.badge__status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  padding: 4px 8px;
  line-height: 1;
}
.badge__arrow {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--ink);
  display: inline-flex;
  transition: transform 0.25s ease;
}
.badge:hover .badge__arrow { transform: translateY(-50%) translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__logo-img {
  height: 88px;
  width: auto;
  display: block;
  /* Como a logo é escura sobre amarelo, no fundo escuro do footer
     invertemos para uma versão clara */
  filter: brightness(0) invert(1) sepia(0.2) saturate(0.5);
  opacity: 0.95;
}
.footer__tagline {
  margin-top: 14px;
  color: rgba(245, 239, 229, 0.5);
  font-size: 13px;
  max-width: 280px;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, 0.5);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--on-dark);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__bar {
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  padding: 22px 0;
}
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 239, 229, 0.4);
  text-transform: uppercase;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 17, 0.94);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  color: var(--on-dark);
  font-size: 28px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 239, 229, 0.2);
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 24px; right: 24px; font-size: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__figure { max-width: min(800px, 90vw); width: 100%; }
.lightbox__content {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox__content .placeholder { aspect-ratio: 1/1; }
.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.lightbox__img.is-zoomed { cursor: zoom-out; }
.lightbox--no-nav .lightbox__nav { display: none; }
.lightbox--no-nav .lightbox__figure { max-width: min(90vh, 90vw); }
.lightbox__cap {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "visual"
      "actions"
      "meta";
    row-gap: 32px;
  }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .b2b__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .gallery > :nth-child(n) { grid-column: span 1; }
  .gallery > :nth-child(n) .placeholder { aspect-ratio: 1 / 1; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dimensions { grid-template-columns: 1fr; }
  .dimensions__visual { border-right: 0; border-bottom: 1px solid var(--ink); min-height: 360px; }
  .dimensions__detail { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .specs-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid--3 { grid-template-columns: 1fr; }
  .b2b__cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bar-inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero__title { font-size: 56px; }
  .hero__meta { flex-wrap: wrap; gap: 20px; }
  .nav__inner .btn { padding: 8px 12px; font-size: 12px; }
  .btn--lg {
    white-space: normal;
    padding: 16px 22px;
    font-size: 15px;
    text-align: left;
    line-height: 1.3;
    max-width: 100%;
  }
  .examples__panel { padding: 24px 20px; max-height: 92vh; }
  .examples__title { font-size: 24px; }
  .examples__controls { flex-direction: column; align-items: stretch; gap: 8px; }
  .examples__select { width: 100%; }
}

/* ============================================================
   EXEMPLOS DE USO — botão + modal
   ============================================================ */

.gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.btn--examples {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--ink);
  padding: 14px 22px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn--examples:hover {
  background: var(--accent-deep);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-2px);
}

.examples {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.examples[hidden] { display: none; }
.examples__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.examples__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 32px;
  box-shadow: 12px 12px 0 rgba(255, 198, 26, 0.32);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: examplesIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes examplesIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.examples__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.examples__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 6px;
}
.examples__title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.examples__close {
  background: var(--bg);
  border: 1px solid var(--ink);
  color: var(--ink);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.examples__close:hover { background: var(--ink); color: var(--accent); }
.examples__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.examples__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.examples__select { min-width: 240px; }
.examples__figure { margin: 0; }
.examples__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 0;
  cursor: zoom-in;
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: block;
}
.examples__frame:hover { border-color: var(--ink); }
.examples__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform: translateY(6px) scale(1.01);
  filter: blur(4px);
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.examples__img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.examples__img.is-leaving {
  opacity: 0;
  transform: translateY(-6px) scale(0.99);
  filter: blur(4px);
  transition-duration: 0.16s;
}
.placeholder--example { aspect-ratio: 16 / 9; }
.examples__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: center;
}
