/* Tapeçaria Mendes, Campo Grande (demonstração). Caminho visual 1 "Peça por peça", escolhido pelo Pedro em 13/11/2026:
   claro e organizado como uma ficha técnica, azul-marinho do uniforme e laranja do logo, a foto real de um interior
   com as partes para tocar (o desenho do carro saiu a pedido do Pedro). Archivo nos títulos (escolha do Pedro em 05/12/2026, no lugar da Anybody larga), Figtree no texto.
   Diferente de propósito do site da Mendes de Rio Brilhante (preto com dourado): são empresas diferentes. */
:root {
  --fundo: #eef0f3;
  --branco: #ffffff;
  --marinho: #13233f;
  --marinho-2: #1d3157;
  --texto: #34435c;
  --nevoa: #5a6880;
  --linha: #d5dae2;
  --laranja: #ef6a1f;        /* do logo: traço, pontos e detalhes */
  --laranja-bt: #c94c0a;     /* botões: mais escuro para o texto branco ler bem */
  --display: "Archivo", "Arial Black", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --faixa: 0px;
  --gutter: clamp(16px, 4vw, 56px);
}

/* Modo demonstração: liga com data-demo no <body>. Sem ele, somem a faixa do alto e os avisos. */
body[data-demo] { --faixa: 26px; }
body:not([data-demo]) .so-demo { display: none !important; }
body[data-demo] .sem-demo { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.motion { scroll-behavior: auto; }
body { margin: 0; background: var(--fundo); color: var(--marinho); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 46px); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laranja-bt); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--marinho); color: #fff; padding: 10px 16px; }
.skip:focus { top: 36px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--branca { background: var(--branco); }
.cabeca { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 46px); max-width: 680px; }
.cabeca p { color: var(--nevoa); }
.cabeca a { text-underline-offset: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; border-radius: 4px; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.btn--laranja { background: var(--laranja-bt); color: #fff; }
.btn--laranja:hover { background: #b04208; }
.btn--linha { color: var(--marinho); border-color: var(--marinho); background: transparent; }
.btn--linha:hover { background: var(--marinho); color: #fff; }

/* Faixa fixa no alto: avisa que é uma demonstração */
.demo-selo { position: fixed; inset: 0 0 auto; z-index: 110; height: 26px; margin: 0; display: grid; place-items: center; font-size: 12px; line-height: 1; font-weight: 600; color: #fff; background: var(--marinho); }

/* Topo */
.topbar { position: fixed; left: 0; right: 0; top: var(--faixa); z-index: 100; transition: transform .5s var(--ease), background .4s var(--ease); }
.topbar__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; transition: height .4s var(--ease); }
.topbar.is-solid { background: rgba(238, 240, 243, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linha); }
.topbar.is-solid .topbar__inner { height: 62px; }
.topbar.is-hidden { transform: translateY(calc(-100% - var(--faixa))); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--display); }
.brand img { width: 38px; height: 38px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--texto); }
.nav a:hover, .nav a.is-current { color: var(--marinho); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; }
.nav__cta { padding: 10px 16px; background: var(--laranja-bt); color: #fff !important; border-radius: 4px; text-decoration: none !important; }
.menu-btn { display: none; }

/* Botão do WhatsApp: a 74 px do chão, acima do selo da Netlify grátis */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(19, 35, 63, .55); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* Estados iniciais das animações (só quando animacoes.js liga a classe .motion) */
.js.motion .hero [data-reveal] { opacity: 0; transform: translateY(20px); }
.js.motion [data-clip] { clip-path: inset(100% 0 0 0); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-word > span { display: inline-block; }

/* Vaga para foto que falta (demonstração) */
.vaga { display: grid; place-items: center; min-height: 260px; padding: 24px; text-align: center; font-size: 15px; color: var(--nevoa); border: 2px dashed #b9c1cd; background: var(--fundo); border-radius: 6px; }

/* Galeria ampliada */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(13, 22, 38, .92); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox__close { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--marinho); font-size: 28px; line-height: 1; cursor: pointer; }
