/* =========================================================
   Formaris — estilos
   Header em pixels fixos (não escala com o monitor), hero em
   100svh para animação scroll-driven.
   ========================================================= */

:root {
  /* cor */
  --ink: #573719;
  --ink-body: #5d5349;
  --ink-soft: rgba(87, 55, 25, 0.55);
  --ink-hair: rgba(87, 55, 25, 0.16);
  --rule: rgba(87, 55, 25, 0.13);
  --surface: #f7f5f2;        /* branco quente, puxado do mármore da hero */
  --surface-2: #ece6de;      /* bege quente */
  --wire: #d9d3cb;           /* cinza dos wireframes de imagem */
  --page-bg: #c8c8c8;
  --btn-bg: #353535;
  --btn-bg-hover: #464646;
  --btn-ink: #ffffff;

  /* liquid glass */
  --glass-blur: 22px;
  --glass-white-top: rgba(255, 255, 255, 0.82);
  --glass-white-bottom: rgba(255, 255, 255, 0.68);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 10px 30px rgba(40, 26, 12, 0.16);

  /* tipografia */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
  /* geométrica, para os números dos contadores */
  --font-display: "Outfit", "Inter", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* métricas do header — valores fixos: idênticos no notebook e no 27" */
  --shell: 1440px;
  --gutter: clamp(20px, 3vw, 44px);
  --bar-h: 64px;
  --bar-radius: 0px;   /* header quadrado, como no Figma */
  --nav-fs: 15px;
  --nav-gap: 26px;
  --control-h: 44px;
  --field-w: 340px;

  color-scheme: light;
}

@media (max-width: 1280px) {
  :root {
    --bar-h: 58px;
    --nav-fs: 14px;
    --nav-gap: 20px;
    --control-h: 40px;
    --field-w: 272px;
  }
}

/* ---------- reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* âncoras do menu deslizam em vez de saltar; a roda do mouse é suavizada
     pelo main.js (ver "scroll suave"). */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-body);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* =========================================================
   HERO — exatamente a altura da tela (base da animação de scroll)
   ========================================================= */
/* ---------- pista da animação scroll-driven ---------- */
/* A hero gruda no topo e fica parada enquanto --pin-run de scroll é
   consumido. É esse trecho que a animação usa. Quando ele acaba, a hero
   se solta e o site rola normalmente.
   --p  = progresso linear da pista, 0 → 1 (escrito pelo main.js)
   --pe = o mesmo progresso com easing, para o movimento da cortina       */
.hero-pin {
  --pin-run: 120vh;
  --p: 0;
  --pe: 0;
  position: relative;
  height: calc(100vh + var(--pin-run));   /* fallback */
  height: calc(100svh + var(--pin-run));
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;          /* fallback */
  height: 100svh;         /* altura real da viewport, sem a barra do browser */
  min-height: 560px;
  overflow: hidden;
  background: #efe9e1;
  isolation: isolate;
}

/* A banheira não está no centro do arquivo: o centro dela cai em 51,98%
   da largura da imagem. Por isso a imagem é 8% mais larga que a hero e
   deslocada para a esquerda — assim o centro da banheira bate exatamente
   com o centro da página. Conta: -6.14% + 108% x 0.5198 = 50.00%. */
.hero-media {
  position: absolute;
  top: 0;
  left: -6.14%;
  width: 108%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 90%;
  z-index: 0;

  /* a foto se aproxima conforme a pista avança.
     O origin X é 51,98% da própria imagem — o mesmo ponto que a conta do
     left/width põe no centro da tela — então o zoom mantém a banheira
     centralizada em vez de arrastá-la para o lado. */
  transform: scale(calc(1 + 0.2 * var(--p)));
  transform-origin: 51.98% 58%;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* escurecimento do topo, como no Figma */
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(102, 102, 102, 0) 41%),
    /* vinheta de base: sem ela o texto branco some no mármore claro.
       Os contadores não têm mais sombra, então o peso vem daqui. */
    linear-gradient(to top, rgba(26, 18, 11, 0.66) 0%, rgba(26, 18, 11, 0.26) 26%,
                    rgba(26, 18, 11, 0) 50%);
}

/* ---------- cortina de vidro na lateral esquerda ---------- */
.hero-curtain {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(320px, 44%, 860px);
  z-index: 2;
  pointer-events: none;

  /* desfoque leve: por trás da cortina ainda se reconhece a banheira */
  -webkit-backdrop-filter: blur(8px) saturate(106%) brightness(0.95);
  backdrop-filter: blur(8px) saturate(106%) brightness(0.95);

  background:
    /* lâminas de 56px: emenda clara de 1px, corpo chapado, sombra fina
       antes da próxima emenda. Sem degradê horizontal. */
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.13) 0px,
      rgba(255, 255, 255, 0.13) 1px,
      rgba(255, 255, 255, 0.045) 2px,
      rgba(255, 255, 255, 0.012) 30px,
      rgba(255, 255, 255, 0.038) 52px,
      rgba(20, 12, 6, 0.055) 55px,
      rgba(20, 12, 6, 0.055) 56px),
    /* tinta uniforme — não é gradiente, é a mesma densidade de ponta a ponta */
    linear-gradient(rgba(52, 38, 25, 0.10), rgba(52, 38, 25, 0.10));

  /* a cortina termina: borda viva, sem máscara de esmaecimento */
  border-right: 1px solid rgba(255, 255, 255, 0.16);

  /* sai pela esquerda conforme a pista avança (102% para a borda direita
     também sumir, em vez de parar rente ao canto) */
  transform: translate3d(calc(var(--pe) * -102%), 0, 0);
  will-change: transform;
}

/* ---------- status da loja ---------- */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(14px, 1.8vh, 22px);
  /* laterais iguais e mais folgadas — o vertical NÃO muda, a altura é a
     mesma de antes */
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #fff;

  /* vidro fumê: o corpo é escuro, sem reflexo especular. Em cima do mármore
     claro é o escuro que delimita a pílula — branco sobre branco precisava
     de brilho para existir, e era isso que pesava. */
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  background: linear-gradient(180deg,
    rgba(24, 17, 11, 0.52), rgba(24, 17, 11, 0.44));
  box-shadow: 0 4px 16px rgba(20, 13, 6, 0.22);
}

.hero-status[hidden] { display: none; }

.hero-status b { font-weight: 600; }

/* o complemento ("fecha às 18h30") pesa menos que o estado */
.hero-status .hero-status-note { color: rgba(255, 255, 255, 0.72); }

.hero-status-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ac46c;
  box-shadow: 0 0 0 3px rgba(74, 196, 108, 0.22);
}

.hero-status[data-state="fechando"] .hero-status-dot {
  background: #eaa33c;
  box-shadow: 0 0 0 3px rgba(234, 163, 60, 0.22);
}

.hero-status[data-state="fechado"] .hero-status-dot {
  background: #e4574b;
  box-shadow: 0 0 0 3px rgba(228, 87, 75, 0.2);
}

/* respiro quando está aberto — some com prefers-reduced-motion mais abaixo */
.hero-status[data-state="aberto"] .hero-status-dot {
  animation: status-pulse 2.6s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 196, 108, 0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 196, 108, 0.07); }
}

/* ---------- conteúdo da hero ---------- */
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.hero-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  height: 100%;
}

/* texto e botão no centro vertical da tela; os contadores ficam na base */
.hero-copy {
  position: absolute;
  top: 54%;
  left: 0;
  max-width: 40rem;
  pointer-events: auto;

  /* o texto está sobre a cortina, então viaja junto — e some antes dela
     terminar, para não ficar boiando sobre a foto */
  transform: translateY(-50%) translate3d(calc(var(--pe) * -14vw), 0, 0);
  opacity: calc(1 - var(--p) * 1.9);
  will-change: transform, opacity;
}

.hero-copy h1 {
  margin: 0 0 clamp(13px, 1.5vh, 20px);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  max-width: 16ch;
}

.hero-copy p {
  margin: 0 0 clamp(20px, 2.8vh, 32px);
  max-width: 46ch;
  font-size: clamp(13.5px, 0.95vw, 15px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta {
  display: inline-block;
  padding: 15px 30px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-cta:hover { background: #f1ebe3; transform: translateY(-1px); }
.hero-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- contadores ---------- */
.hero-stats {
  position: absolute;
  right: 0;
  bottom: clamp(44px, 10vh, 100px);
  pointer-events: auto;
  transform: translate3d(0, calc(var(--p) * 28px), 0);
  opacity: calc(1 - var(--p) * 1.7);
  will-change: transform, opacity;
  display: flex;
  gap: clamp(26px, 3.6vw, 62px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Entrada dos contadores: número e rótulo sobem e aparecem.
   O estado inicial só existe depois que o JS põe .vai-animar — sem JS os
   três ficam visíveis e parados, em vez de invisíveis para sempre. */
.hero-stats.vai-animar li > b,
.hero-stats.vai-animar li > span {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

.hero-stats li.entrou > b,
.hero-stats li.entrou > span {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* o rótulo vem um respiro depois do número */
.hero-stats li.entrou > span { transition-delay: 0.09s; }

.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   TOPO — marca + barra de vidro
   ========================================================= */
.site-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(34px, 4.6vh, 54px);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  transition: padding-top 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* o header atravessa o site inteiro: sem isto, a faixa vazia ao redor da
     barra engoliria cliques em tudo que passasse por baixo */
  pointer-events: none;
}

.site-top > * { pointer-events: auto; }

/* fim da animação da hero: o topo encolhe e a logo se recolhe */
.site-top.is-condensed { padding-top: 12px; }

.brand {
  display: block;
  margin-bottom: clamp(18px, 2.8vh, 30px);
  line-height: 0;
  max-height: 60px;          /* a logo tem ~24px; o teto é só para animar */
  overflow: hidden;
  transition:
    opacity 0.28s ease,
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    margin-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-top.is-condensed .brand {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.brand img {
  width: clamp(118px, 9.5vw, 148px);
  height: auto;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.28));
}

.brand:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }

/* ---------- a barra ---------- */
.glassbar {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  /* inset uniforme de 10px: é a mesma folga que sobra em cima e embaixo
     dos controles (64px de barra - 44px de controle), então o botão
     PESQUISAR encosta na ponta direita com o mesmo respiro. */
  padding-inline: 10px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--bar-radius);
  box-shadow: var(--glass-shadow);

  /* o vidro: desfoca o que está atrás */
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  background: transparent;
}

/* camada branca por cima do vidro — é ela que tira a transparência */
.glassbar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--glass-white-top) 0%,
    var(--glass-white-bottom) 100%
  );
}

/* brilho especular, o toque "liquid" */
.glassbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 34%,
                    rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, 0.3) 100%);
  opacity: 0.85;
}

.glassbar > * { position: relative; z-index: 3; }

/* navegador sem backdrop-filter: cai para branco quase sólido */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glassbar::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9));
  }
  .hero-curtain {
    background:
      repeating-linear-gradient(90deg,
        rgba(255,255,255,.20) 0px, rgba(255,255,255,.20) 1px,
        rgba(255,255,255,.09) 2px, rgba(255,255,255,.035) 30px,
        rgba(255,255,255,.075) 52px, rgba(20,12,6,.08) 55px,
        rgba(20,12,6,.08) 56px),
      linear-gradient(rgba(52,38,25,.22), rgba(52,38,25,.22));
  }
}

/* ---------- menu ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  min-width: 0;
  /* texto nu precisa de mais respiro que um botão preenchido */
  padding-left: 24px;
}

.nav-link {
  font-size: var(--nav-fs);
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  transition: opacity 150ms ease;
}

.nav-link:hover { opacity: 0.6; }
.nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ---------- busca ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: var(--field-w);
  min-width: 0;
  height: var(--control-h);
  padding: 0 14px 0 18px;
  border: 1px solid var(--ink-hair);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 2px rgba(40, 26, 12, 0.07);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-field:focus-within {
  border-color: rgba(87, 55, 25, 0.38);
  box-shadow: inset 0 1px 2px rgba(40, 26, 12, 0.07), 0 0 0 3px rgba(87, 55, 25, 0.1);
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: var(--nav-fs);
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
  color: var(--ink);
}

.search-input::placeholder { color: var(--ink-soft); text-transform: capitalize; opacity: 1; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-input:focus { outline: none; }

.search-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--ink-soft);
}

.search-submit {
  flex: 0 0 auto;
  height: var(--control-h);
  padding-inline: clamp(16px, 1.5vw, 26px);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 150ms ease;
}

.search-submit:hover { background: var(--btn-bg-hover); }
.search-submit:focus-visible { outline: 2px solid var(--btn-bg); outline-offset: 3px; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section {
  padding-block: clamp(64px, 9vw, 132px);
  /* header condensado ocupa ~76px; a folga evita que o título do destino
     pare escondido atrás dele ao clicar no menu */
  scroll-margin-top: 100px;
}

.section--sobre    { background: var(--surface); }
.section--marcas   { background: var(--surface-2); }
.section--endereco { background: var(--surface); }
.section--contato  { background: var(--surface-2); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 2.9vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 20ch;
}

.lead {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--ink-body);
}

.lead + .lead { margin-top: 1.1em; }

/* ---------- sobre nós ---------- */
.sobre-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--rule);
}

.features h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.features p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-body); }

/* ---------- marcas ---------- */
.marcas-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 68px); }

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* cada marca é um .wire quadrado — o X do fundo vem de lá */
.marcas-grid li { aspect-ratio: 1; }

/* o nome da marca é conteúdo, não rótulo de placeholder: pesa mais que o
   "FOTO DO SHOWROOM" dos outros wireframes */
.marcas-grid li b {
  padding: 7px 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  text-align: center;
  color: var(--ink);
}

/* display:grid venceria o atributo hidden */
.marcas-grid[hidden] { display: none; }

.marcas-extra { margin-top: clamp(12px, 1.4vw, 20px); }

.marcas-acao {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.4vw, 48px);
}


/* ---------- endereço e contato ---------- */
.duas-colunas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.wire--alta { aspect-ratio: 1 / 1; }

.dados {
  display: grid;
  gap: 20px;
  margin: clamp(28px, 3vw, 40px) 0 clamp(28px, 3vw, 40px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--rule);
}

.dados dt {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dados dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
}

.dados a { color: var(--ink); text-underline-offset: 3px; }

.canais {
  display: grid;
  gap: 18px;
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: clamp(24px, 3vw, 34px) 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.canais li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.canais span {
  flex: none;
  width: 92px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.canais a { font-size: 15px; color: var(--ink); text-underline-offset: 3px; }

/* dado que ainda não temos — fica visivelmente pendente, não inventado */
.canais em {
  font-size: 14px;
  font-style: normal;
  color: rgba(87, 55, 25, 0.42);
}

/* ---------- botão ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--btn-bg-hover); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--cheio { width: 100%; }

/* botão secundário: vazado, para não competir com os pretos de ação.
   Mesma especificidade de .btn, então precisa vir depois dele. */
.btn--vazado {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(87, 55, 25, 0.3);
}

.btn--vazado:hover {
  background: rgba(87, 55, 25, 0.06);
  border-color: rgba(87, 55, 25, 0.45);
}

/* ---------- formulário ---------- */
.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--rule);
}

.form label { display: grid; gap: 7px; }

.form label > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: -1px;
}

.form-nota {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--ink-body);
}

/* ---------- wireframe cinza no lugar das imagens ---------- */
.wire {
  position: relative;
  background: var(--wire);
  border: 1px solid rgba(87, 55, 25, 0.1);
  aspect-ratio: 4 / 3;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wire::before,
.wire::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right,
    transparent calc(50% - 1px), rgba(87, 55, 25, 0.16) 50%, transparent calc(50% + 1px));
}

.wire::after { transform: scaleX(-1); }

.wire b {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  background: var(--wire);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(87, 55, 25, 0.6);
}

/* ---------- showroom virtual ---------- */
.showroom {
  display: grid;
  place-content: center;
  gap: 10px;
  aspect-ratio: auto;                      /* anula o 4/3 do .wire */
  min-height: clamp(260px, 26vw, 440px);
  margin-bottom: clamp(24px, 3vw, 44px);
  padding: 32px;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.showroom:hover { background: #d3cdc4; border-color: rgba(87, 55, 25, 0.2); }

.showroom:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.showroom-tag {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(87, 55, 25, 0.6);
}

.showroom b {
  position: relative;
  z-index: 1;
  padding: 0;
  background: none;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
}

.showroom-sub {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--ink-body);
}

/* =========================================================
   Telas menores
   ========================================================= */
@media (max-width: 1100px) {
  .duas-colunas { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobre-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1000px) {
  .glassbar {
    height: auto;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-left: 0; }

  .search { width: 100%; }
  .search-field { width: auto; flex: 1 1 auto; }

  .hero-curtain { width: 100%; border-right: 0; }

  /* pista mais curta no celular: pin longo em tela pequena cansa */
  .hero-pin { --pin-run: 70vh; }

  .hero-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding-block: 150px 40px;
  }

  /* em coluna o bloco não é mais centrado por translateY, mas continua
     acompanhando a cortina */
  .hero-copy {
    position: static;
    max-width: none;
    transform: translate3d(calc(var(--pe) * -40vw), 0, 0);
  }

  .hero-stats {
    position: static;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

@media (max-width: 620px) {
  .marcas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .canais li { display: grid; gap: 4px; }
  .canais span { width: auto; }
}

@media (max-width: 420px) {
  :root { --nav-gap: 16px; --gutter: 16px; }
  .search-submit { padding-inline: 14px; font-size: 12px; }
  .hero-stats { gap: 20px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- quem pediu menos movimento não recebe a animação ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-status-dot { animation: none; }
  .hero-pin { --pin-run: 0px; }
  .hero-media { transform: none; }
  .hero-curtain { transform: none; }
  .hero-copy { transform: translateY(-50%); opacity: 1; }
  .hero-stats { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1000px) {
  .hero-copy { transform: none; }
}
