/* Tapeçaria Automotiva Mendes (Rio Brilhante). Preto quente e o dourado do logo da própria empresa, como no catálogo deles.
   Big Shoulders Display nos títulos (parente das letras de "MENDES" no logo) e Manrope no texto.
   Um efeito forte só: a fachada acende no escuro e um brilho dourado passa por ela. O resto é calmo. */
:root {
  --noite: #0e0d0b;
  --noite-2: #15130f;
  --noite-3: #1d1a14;
  --linha: #2f2a20;
  --ouro: #d4a12e;
  --ouro-claro: #ecc76e;
  --creme: #f3ecdf;
  --texto: #d6ccbb;
  --nevoa: #9d9384;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --faixa: 0px;
  --gutter: clamp(16px, 4vw, 56px);
  --costura: repeating-linear-gradient(90deg, var(--ouro) 0 14px, transparent 14px 22px);
}

/* 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; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.motion { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--noite); color: var(--creme); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.4vw, 68px); }
/* Todo título de seção termina num pedaço de costura dourada */
h2:not(.sr-only)::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 18px; background: var(--costura); }
h3 { font-size: 28px; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ouro); color: var(--noite); padding: 10px 16px; }
.skip:focus { top: 36px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(76px, 10vw, 128px) 0; }
.cabeca { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 680px; }
.cabeca p { color: var(--nevoa); max-width: 54ch; }
.cabeca a { color: var(--ouro-claro); text-underline-offset: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 12px 26px; font: 700 15.5px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; border-radius: 4px; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--ouro { background: var(--ouro); color: var(--noite); }
.btn--ouro:hover { background: var(--ouro-claro); }
.btn--linha { color: var(--creme); border-color: rgba(236, 199, 110, .45); }
.btn--linha:hover { border-color: var(--ouro-claro); }
.btn--grande { min-height: 58px; width: 100%; font-size: 17px; }
.link-sub { padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; color: var(--ouro-claro); text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.ref { font-size: 14px; color: var(--nevoa); }

/* 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: var(--noite); background: var(--ouro); }

/* 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: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; transition: height .4s var(--ease); }
.topbar.is-solid { background: rgba(14, 13, 11, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linha); }
.topbar.is-solid .topbar__inner { height: 64px; }
.topbar.is-hidden { transform: translateY(calc(-100% - var(--faixa))); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand span { display: grid; line-height: 1; gap: 3px; }
.brand b { font: 800 26px/1 var(--display); letter-spacing: .03em; color: var(--ouro); }
.brand small { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--texto); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--texto); transition: color .3s; }
.nav a:hover, .nav a.is-current { color: var(--ouro-claro); }
.nav__cta { padding: 11px 18px; background: var(--ouro); color: var(--noite) !important; border-radius: 4px; font-weight: 700; }
.menu-btn { display: none; }

/* Botão do WhatsApp: a 74 px do chão, acima do selo da hospedagem 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(0, 0, 0, .7); 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: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; }
.parado *, .parado *::before, .parado *::after { animation: none !important; transition: none !important; }

/* Galeria ampliada */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 7, 6, .93); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox__close { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ouro); color: var(--noite); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox[open] { animation: zoomin .4s var(--ease); }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } }
