/* ==========================================================
   O Grupo NS — estilos do site
   Cores e medidas ficam nas variáveis abaixo: mude aqui e
   o site inteiro acompanha.
   ========================================================== */
:root {
  --bg: #F5F2ED;
  --bg-2: #ECE7DF;
  --card: #FFFFFF;
  --ink: #1D1D1B;
  --muted: #4A463F;
  --line: #DDD6CA;
  --accent: #8C5A2B;
  --accent-dark: #5F3C1B;
  --accent-light: #E0A96D;
  --wa: #1F7A4D;
  --wa-dark: #17603C;
  --on-dark: #F5F2ED;
  --on-dark-muted: #CFC9BF;
  --dark-line: #3A3833;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 80px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* o que estiver marcado como oculto fica oculto, mesmo que outra regra defina display */
[hidden] { display: none !important; }
a { color: var(--accent); transition: color .2s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }
.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(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-alt { background: var(--bg-2); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-dark .eyebrow { color: var(--accent-light); }
.h-xl { font-weight: 800; font-size: clamp(42px, 6.2vw, 84px); line-height: .98; letter-spacing: -0.03em; }
.h-lg { font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }
.h-md { font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); max-width: 36em; }
.section-dark .lead { color: var(--on-dark-muted); }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }

/* ---------- botões ---------- */
.btn {
  --b: var(--ink); --f: var(--on-dark);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--f);
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%);
  border-radius: inherit; transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; border-color: var(--accent); }
.btn:hover::after { transform: translateY(0); }
.btn svg { flex: none; }
.btn-wa { --b: var(--wa); --f: #fff; }
.btn-wa::after { background: var(--wa-dark); }
.btn-wa:hover { border-color: var(--wa-dark); }
.btn-ghost { --b: transparent; --f: var(--ink); border-color: var(--ink); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--on-dark); }
.section-dark .btn-ghost { --f: var(--on-dark); border-color: var(--on-dark); }
.section-dark .btn-ghost::after { background: var(--on-dark); }
.section-dark .btn-ghost:hover { color: var(--ink); border-color: var(--on-dark); }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- mídia / placeholders ----------
   Para trocar por uma foto real, substitua o <div class="ph">
   por <img src="img/arquivo.jpg" alt="descrição">            */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.media > :not(.hero-badge) { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: flex; align-items: flex-end; padding: 18px;
  background: repeating-linear-gradient(135deg, #E3DDD3 0 14px, #DDD6CA 14px 28px);
  color: var(--muted); font: 500 13px/1.3 var(--font-body);
}
.section-dark .ph { background: repeating-linear-gradient(135deg, #2A2926 0 14px, #252421 14px 28px); color: var(--on-dark-muted); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(245, 242, 237, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
main { padding-top: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); position: relative; z-index: 2; }
.brand:hover { color: var(--ink); }
/* logo (SVG em linha: a cor segue "color", o S vazado usa --logo-cut) */
.logo { display: block; height: auto; overflow: visible; }
.logo-s { font: 800 182px/1 var(--font-display); fill: var(--logo-cut, var(--bg)); }
.logo-lines path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.brand-logo { width: 74px; color: var(--ink); --logo-cut: var(--bg); }
.brand-logo .logo-lines path { transition: stroke-dashoffset .8s var(--ease); }
.brand:hover .brand-logo .logo-lines path { animation: redraw 1s var(--ease); }
@keyframes redraw { 0% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.footer-logo { width: 96px; color: var(--on-dark); --logo-cut: var(--ink); margin-bottom: 8px; }
.brand-name { font: 800 19px/1 var(--font-display); letter-spacing: .05em; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; position: relative; z-index: 2; width: 48px; height: 48px;
  border: 0; border-radius: 999px; background: var(--ink); cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 15px; right: 15px; height: 2px; background: var(--on-dark);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 96px var(--gutter) 40px; background: var(--bg);
    clip-path: circle(0% at calc(100% - 48px) 40px);
    transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 48px) 40px); visibility: visible; }
  .nav a:not(.btn) { font: 700 clamp(30px, 8vw, 44px)/1.2 var(--font-display); }
  .nav .btn { margin-top: 24px; padding: 18px 30px; font-size: 17px; }
  .nav-open .site-header { background: var(--bg); }
}

/* ---------- hero (início) ---------- */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-media { height: min(640px, 72vh); min-height: 420px; }
.hero-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: var(--ink); color: var(--on-dark); border-radius: 999px;
  padding: 10px 18px 10px 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500;
}
.hero-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(31,122,77,.6); animation: pulse 2s infinite; margin-left: 8px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,122,77,0); } 100% { box-shadow: 0 0 0 0 rgba(31,122,77,0); } }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.split .w > span { display: inline-block; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue i { width: 1.5px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { height: 440px; min-height: 0; }
}

/* ---------- faixa rolante ---------- */
.marquee { background: var(--ink); color: var(--on-dark); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--dark-line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font: 700 clamp(22px, 3vw, 34px)/1 var(--font-display); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
}
.marquee-track span::after { content: "✦"; color: var(--accent-light); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 64px var(--gutter); }
.stat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--dark-line); padding-top: 20px; }
.stat b { font: 700 clamp(40px, 5vw, 60px)/1 var(--font-display); color: var(--accent-light); }
.stat span { font-size: 15px; color: var(--on-dark-muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- cards de serviço ---------- */
/* 3 por linha; se a última linha ficar incompleta, os cards dela se esticam para preencher */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cards > .card { grid-column: span 2; }
.cards > .card:nth-child(3n+1):nth-last-child(2), .cards > .card:nth-child(3n+2):nth-last-child(1) { grid-column: span 3; }
.cards > .card:nth-child(3n+1):nth-last-child(1) { grid-column: span 6; }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > .card, .cards > .card:nth-child(n) { grid-column: span 1; }
  .cards > .card:nth-child(odd):last-child { grid-column: span 2; }
}
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards > .card:nth-child(n) { grid-column: auto; } }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(29,29,27,.35); }
.card .media { height: 230px; border-radius: 0; }
.card .media > * { transition: transform .9s var(--ease); }
.card:hover .media > * { transform: scale(1.03); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-num { font: 700 13px/1 var(--font-display); color: var(--accent); letter-spacing: .1em; }
.card-title { font: 700 22px/1.2 var(--font-display); display: flex; justify-content: space-between; gap: 12px; }
.card-title::after { content: "→"; color: var(--accent); transition: transform .4s var(--ease); }
.card:hover .card-title::after { transform: translateX(4px) rotate(-45deg); }
.card-text { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- abas / filtros ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font: 600 14px/1 var(--font-body); padding: 13px 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .3s, color .3s;
}
.pill:hover { background: rgba(29,29,27,.06); }
.pill[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }

/* portfólio */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }
.project { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.project[hidden] { display: none; }
.project .media { height: 280px; border-radius: 0; }
.project .zoom { border-radius: 0; }
.project .media > * { transition: transform .9s var(--ease); }
.project:hover .media > * { transform: scale(1.03); }
.project-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.project-area { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.project h3 { font-size: 20px; }
.project p { font-size: 15px; color: var(--muted); }

/* ---------- sobre / processo ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about .media { height: 560px; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { border-top: 2px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: var(--p, 0%); background: var(--ink); }
.steps b { font-family: var(--font-display); }
.steps span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about .media { height: 380px; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- clientes: faixa de logos em movimento ---------- */
.clients { background: var(--bg-2); }
.clients .section-head { margin-bottom: 40px; }
.clients-marquee {
  overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: marquee 55s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track li {
  flex: none; width: 210px; height: 112px; display: grid; place-items: center; padding: 18px 22px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px -22px rgba(29,29,27,.35);
}
.clients-track img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.clients-track li:hover img { filter: none; opacity: 1; transform: scale(1.05); }
@media (max-width: 640px) { .clients-track li { width: 160px; height: 92px; padding: 14px; } .clients-track img { max-height: 56px; } }
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; }
  .clients-track li[aria-hidden="true"] { display: none; }
}

/* ---------- motion da logo (seção Sobre) ----------
   Ciclo de 7 s: a casa se desenha, o N sobe, o painel abre, o S aparece,
   segura e depois se desfaz para recomeçar. Anel de áreas girando ao fundo. */
.logo-loop { background: radial-gradient(120% 90% at 50% 40%, #2A2926 0%, var(--ink) 70%); display: grid; place-items: center; isolation: isolate; }
.logo-loop > * { grid-area: 1 / 1; }
.logo-loop > .ll-grid {
  width: 100%; height: 100%;
  background-image: linear-gradient(rgba(224,169,109,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(224,169,109,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
  animation: ll-grid 14s linear infinite;
}
@keyframes ll-grid { to { background-position: 44px 44px; } }
.logo-loop > .ll-ring { width: min(92%, 470px); height: auto; animation: spin 48s linear infinite; }
.ll-ring text { font: 600 12.5px var(--font-body); letter-spacing: .2em; fill: var(--accent-light); opacity: .55; }
.logo-loop > .ll-logo { width: min(44%, 230px); height: auto; color: var(--on-dark); --logo-cut: #262522; overflow: visible; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.logo-loop > .ll-caption { align-self: end; margin-bottom: 26px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); animation: ll-cap 7s var(--ease) infinite; }

.ll-logo .logo-lines path { animation: ll-draw 7s var(--ease) infinite; }
.ll-logo .logo-lines path:last-child { animation-delay: .25s; }
.ll-logo .logo-n { animation: ll-n 7s var(--ease) infinite; }
.ll-logo .logo-panel { transform-box: fill-box; transform-origin: left center; animation: ll-panel 7s var(--ease) infinite; }
.ll-logo .logo-s { transform-box: fill-box; transform-origin: center; animation: ll-s 7s var(--ease) infinite; }

@keyframes ll-draw { 0% { stroke-dashoffset: 1; } 28% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: -1; } }
@keyframes ll-n { 0%, 14% { opacity: 0; transform: translateY(26px); } 32% { opacity: 1; transform: none; } 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes ll-panel { 0%, 22% { transform: scaleX(0); } 40% { transform: scaleX(1); } 84% { transform: scaleX(1); } 95%, 100% { transform: scaleX(0); } }
@keyframes ll-s { 0%, 34% { opacity: 0; transform: scale(.6) rotate(-12deg); } 48% { opacity: 1; transform: none; } 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes ll-cap { 0%, 40% { opacity: 0; transform: translateY(8px); } 52%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo-loop *, .logo-loop *::before { animation: none !important; } }

/* ---------- depoimentos ---------- */
.g-rating {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--dark-line); color: var(--on-dark); text-decoration: none; font-size: 14px;
  transition: border-color .3s, background .3s;
}
.g-rating:hover { color: var(--on-dark); border-color: var(--accent-light); background: rgba(255,255,255,.04); }
.g-rating b { font: 700 24px/1 var(--font-display); }
.g-stars { color: #F4B400; letter-spacing: 2px; font-size: 16px; }
.g-rating span:last-child { color: var(--on-dark-muted); }
.g-rating::after { content: "↗"; color: var(--accent-light); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; transition: border-color .4s, background .4s; }
.quote:hover { border-color: var(--accent-light); background: rgba(255,255,255,.03); }
.quote::before { content: "“"; font: 800 64px/0.6 var(--font-display); color: var(--accent-light); height: 28px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; flex: 1; }
.quote figcaption { font-size: 14px; color: var(--on-dark-muted); padding-top: 16px; border-top: 1px solid var(--dark-line); }
.quote figcaption b { color: var(--on-dark); font-weight: 600; }
.q-stars { color: #F4B400; letter-spacing: 3px; font-size: 15px; margin-top: -8px; }

/* ---------- chamada final ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta > div:first-child { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- serviços (página) ---------- */
.page-hero { padding: 72px 0 40px; display: flex; flex-direction: column; gap: 22px; }
.tabs-bar {
  position: sticky; top: var(--header-h); z-index: 20; padding: 14px 0;
  background: rgba(245,242,237,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: top .5s var(--ease);
}
.header-hidden .tabs-bar { top: 0; }
.tabs-bar .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs-bar .pills::-webkit-scrollbar { display: none; }
.tabs-bar .pill { white-space: nowrap; }
.tab-panel { padding: 64px 0 96px; }
.tab-panel[hidden] { display: none; }
.service { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.service .media { height: 520px; }
.service-copy { display: flex; flex-direction: column; gap: 18px; }
.service-num { font: 800 clamp(64px, 8vw, 110px)/.9 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.checklist { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font-size: 16px; }
.checklist li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }
/* galeria de obras dentro de cada aba */
.service-gallery { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid .zoom { aspect-ratio: 1; border-radius: var(--radius); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* foto clicável (abre ampliada) */
.zoom { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.zoom::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(29,29,27,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease);
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; transform: none; }

/* visualizador de fotos */
.pv { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; color: #fff; }
.pv::backdrop { background: rgba(20,19,17,.92); }
.pv[open] { display: grid; place-items: center; animation: lb-in .4s var(--ease); }
.pv.pv-fallback { position: fixed; inset: 0; z-index: 95; background: rgba(20,19,17,.94); }
.pv figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 72px 24px; max-width: 100%; }
.pv img { max-width: min(1200px, calc(100vw - 144px)); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.pv figcaption { font-size: 15px; color: rgba(255,255,255,.8); text-align: center; max-width: 60ch; }
.pv-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; font-size: 20px; cursor: pointer; transition: background .3s, border-color .3s; }
.pv-btn:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.pv-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pv-next { right: 16px; top: 50%; transform: translateY(-50%); }
.pv-close { right: 16px; top: 16px; }
.pv-count { position: fixed; left: 50%; top: 26px; transform: translateX(-50%); font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
@media (max-width: 640px) {
  .pv figure { padding: 72px 12px 96px; }
  .pv img { max-width: calc(100vw - 24px); }
  .pv-prev, .pv-next { top: auto; bottom: 20px; transform: none; }
}

.tab-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.tab-nav button { background: none; border: 0; cursor: pointer; font: 600 15px var(--font-body); color: var(--ink); padding: 10px 0; }
.tab-nav button:hover { color: var(--accent); }
.tab-nav button:disabled { visibility: hidden; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 32px; }
  .service .media { height: 340px; }
}

/* ==========================================================
   NOEMIA MÓVEIS — identidade própria
   Marrom (avatar do Instagram), verde-oliva (destaques),
   dourado (símbolo) e a letra fina e condensada do logo.
   ========================================================== */
:root {
  --n-brown: #4B4034;
  --n-brown-dark: #2B251E;
  --n-olive: #66793F;
  --n-olive-dark: #4C5B2E;
  --n-gold: #B8973A;
  --n-gold-light: #D8C25A;
  --n-cream: #F3EFE6;
  --gold-grad: linear-gradient(120deg, #7A621F 0%, #D8C25A 45%, #F1E39A 55%, #8C7226 100%);
  --font-noemia: "Antonio", "Archivo", sans-serif;
}
.theme-noemia {
  --bg: var(--n-cream); --bg-2: #E8E1D2; --line: #DCD4C3;
  --accent: var(--n-olive); --accent-dark: var(--n-olive-dark); --accent-light: var(--n-gold-light);
  --muted: #5A5246;
}
.theme-noemia .site-header { background: rgba(243, 239, 230, .86); }
.n-display { font-family: var(--font-noemia); font-weight: 300; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.n-h2 { font-size: clamp(40px, 5.4vw, 76px); }
.gold-text { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.btn-gold { --b: transparent; --f: #fff; border-color: rgba(216, 194, 90, .7); }
.btn-gold::after { background: var(--gold-grad); }
.btn-gold:hover { color: var(--n-brown-dark); border-color: var(--n-gold-light); }
.btn-olive { --b: var(--n-olive); --f: #fff; }
.btn-olive::after { background: var(--n-brown); }
.btn-olive:hover { border-color: var(--n-brown); }

/* hero */
.nh { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--n-brown-dark); }
.nh-media { position: absolute; inset: 0; }
.nh-media img { width: 100%; height: 100%; object-fit: cover; }
.nh::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(43,37,30,.94) 0%, rgba(43,37,30,.72) 42%, rgba(43,37,30,.05) 100%),
              linear-gradient(0deg, rgba(43,37,30,.75), transparent 45%);
}
.nh-content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.nh-content > * { max-width: 640px; }
.nh-logo { width: min(250px, 62vw); }
.nh h1 { font-size: clamp(60px, 10vw, 140px); font-weight: 200; }
.nh p { color: rgba(255,255,255,.84); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(216,194,90,.55); color: #EADFAB; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.nh-badge { position: absolute; z-index: 1; right: var(--gutter); top: 24px; font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: .06em; border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.nh-badge b { color: #fff; }
@media (max-width: 700px) {
  .nh::after { background: linear-gradient(0deg, rgba(43,37,30,.96) 10%, rgba(43,37,30,.6) 60%, rgba(43,37,30,.25) 100%); }
  .nh-badge { display: none; }
}

/* perfil estilo Instagram */
.ig-head { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); padding-bottom: 36px; }
.ig-avatar { flex: none; width: clamp(96px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--n-brown); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--n-gold); }
.ig-avatar img { width: 48%; height: auto; }
.ig-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ig-handle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ig-handle h2 { font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font-body); letter-spacing: 0; }
.ig-name { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ig-bio { font-size: 16px; line-height: 1.55; }

.highlights { display: flex; gap: clamp(14px, 3vw, 32px); overflow-x: auto; padding: 8px 2px 24px; scrollbar-width: none; }
.highlights::-webkit-scrollbar { display: none; }
.hl { flex: none; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); font: 600 13px/1.2 var(--font-body); }
.hl-ring { width: 88px; height: 88px; border-radius: 50%; padding: 3px; background: var(--line); transition: transform .4s var(--ease); position: relative; }
.hl[aria-selected="true"] .hl-ring { background: conic-gradient(from 0deg, var(--n-olive), var(--n-gold-light), var(--n-gold), var(--n-olive)); animation: spin 4s linear infinite; }
.hl[aria-selected="true"] .hl-img { animation: spin 4s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hl:hover .hl-ring { transform: scale(1.06); }
.hl-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); background: var(--bg-2); }
.hl-img img { width: 100%; height: 100%; object-fit: cover; }
.hl-brand { background: var(--n-brown); display: grid; place-items: center; }
.hl-brand img { width: 46%; height: auto; object-fit: contain; }
.hl-label { max-width: 96px; text-align: center; }

.ig-tabs { display: flex; justify-content: center; border-top: 1px solid var(--line); margin-bottom: 4px; }
.ig-tabs span { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; margin-top: -1px; border-top: 1.5px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; } }
.ig-item[hidden] { display: none; }
.ig-open { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); color: #fff; text-decoration: none; border: 0; padding: 0; margin: 0; font: inherit; text-align: left; cursor: pointer; }
.ig-open:hover { color: #fff; }
.ig-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.ig-open:hover img { transform: scale(1.03); }
.ig-cap {
  position: absolute; inset: auto 0 0; padding: 60px 18px 18px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(0deg, rgba(43,37,30,.92), rgba(43,37,30,0));
}
.ig-title { font: 400 clamp(18px, 2vw, 26px)/1 var(--font-noemia); text-transform: uppercase; letter-spacing: .02em; }
.ig-desc { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.ig-open:hover .ig-desc, .ig-open:focus-visible .ig-desc { max-height: 80px; opacity: 1; }
.ig-cap::after { content: "Ver detalhes ↗"; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n-gold-light); }
@media (hover: none) { .ig-cap { padding: 40px 12px 12px; } .ig-cap::after { display: none; } }

/* vídeos "Em movimento" (formato Reels) */
.reels-sec { background: var(--bg-2); }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--n-brown-dark); box-shadow: 0 30px 60px -36px rgba(43,37,30,.6); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(43,37,30,.55); backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.reel figcaption { position: absolute; inset: auto 0 0; padding: 60px 18px 18px; background: linear-gradient(0deg, rgba(43,37,30,.9), transparent); color: #fff; font: 400 20px/1.1 var(--font-noemia); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 760px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: none; width: 72vw; scroll-snap-align: center; }
}

/* materiais */
.n-dark { background: var(--n-brown-dark); color: var(--n-cream); }
.n-dark .eyebrow { color: var(--n-gold-light); }
.n-dark .lead { color: rgba(243,239,230,.75); }
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .materials { grid-template-columns: 1fr; } }
.material { display: flex; flex-direction: column; gap: 12px; }
.material .media { height: 380px; background: var(--n-brown); }
.material .media img { transition: transform 1.2s var(--ease); }
.material:hover .media img { transform: scale(1.03); }
.material h3 { font: 300 34px/1 var(--font-noemia); text-transform: uppercase; padding-top: 8px; border-top: 1px solid rgba(216,194,90,.35); }
.material p { color: rgba(243,239,230,.75); font-size: 15px; }

/* ambientes: rolagem horizontal */
.hs { padding: 112px 0; overflow: hidden; background: var(--bg); }
.hs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.hs-head > div { display: flex; flex-direction: column; gap: 16px; }
.hs-hint { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-viewport::-webkit-scrollbar { display: none; }
.hs-track { display: flex; gap: 20px; width: max-content; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-items: flex-end; }
/* todos os cards no mesmo formato (4:3); a foto é recortada para caber */
.hs-card { margin: 0; position: relative; flex: none; width: min(80vw, 560px, calc(62vh * 4 / 3)); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; }
.hs-card img { width: 100%; height: 100%; object-fit: cover; }
.hs-card figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(43,37,30,.82); backdrop-filter: blur(8px); color: #fff; border-radius: 6px; padding: 10px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.hs-card figcaption b { font: 400 18px/1 var(--font-noemia); text-transform: uppercase; color: var(--n-gold-light); letter-spacing: .04em; }
.hs.is-pinned .hs-viewport { overflow: visible; }

/* detalhe do produto */
.lb { border: 0; padding: 0; background: transparent; max-width: min(1080px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); color: var(--ink); }
.lb::backdrop { background: rgba(43,37,30,.82); backdrop-filter: blur(6px); }
.lb[open] { animation: lb-in .5s var(--ease); }
/* modo simples, para navegadores sem showModal() */
.lb.lb-fallback { position: fixed; inset: 0; z-index: 90; margin: auto; height: fit-content; box-shadow: 0 0 0 100vmax rgba(43,37,30,.82); }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.lb-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--n-cream); border-radius: 10px; overflow: hidden; max-height: calc(100dvh - 32px); }
.lb-media { background: var(--n-brown); min-height: 0; }
.lb-media img { width: 100%; height: 100%; max-height: calc(100dvh - 32px); object-fit: cover; }
.lb-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; justify-content: center; overflow-y: auto; }
.lb-body h2 { font-size: clamp(36px, 4vw, 56px); }
.lb-body p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.lb-body .btn { align-self: flex-start; }
.lb-nav { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lb-nav button, .lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-size: 16px; color: var(--ink); transition: background .3s, color .3s; }
.lb-nav button:hover, .lb-close:hover { background: var(--ink); color: var(--n-cream); }
.lb-close { position: absolute; top: 14px; right: 14px; background: var(--n-cream); border-color: transparent; }
@media (max-width: 760px) {
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media img { height: 46dvh; }
}

/* faixa Noemia na página inicial */
.n-band { background: var(--n-brown-dark); color: var(--n-cream); overflow: hidden; }
.n-band-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; padding: 112px 0; }
.n-band-copy { display: flex; flex-direction: column; gap: 22px; }
.n-band-copy img { width: min(240px, 60vw); }
.n-band-copy h2 { font-size: clamp(44px, 5.6vw, 80px); }
.n-band-copy p { color: rgba(243,239,230,.78); font-size: 17px; max-width: 32em; }
.n-band-copy .eyebrow { color: var(--n-gold-light); }
.n-band-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 600px; }
.n-band-photos a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.n-band-photos a:first-child { grid-row: span 2; }
.n-band-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.n-band-photos a:hover img { transform: scale(1.03); }
.n-band-photos span { position: absolute; left: 12px; bottom: 12px; background: rgba(43,37,30,.8); color: var(--n-gold-light); font: 400 15px/1 var(--font-noemia); text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 4px; }
@media (max-width: 900px) {
  .n-band-grid { grid-template-columns: 1fr; padding: 80px 0; }
  .n-band-photos { height: 460px; }
}

.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-block .media { height: 440px; }
.split-block > div:last-child { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .split-block { grid-template-columns: 1fr; } .split-block .media { height: 320px; } }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 72px 0 112px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; font-size: 15px; }
.info-list dt { font-weight: 600; }
.info-list dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 480px) { .info-list { grid-template-columns: 1fr; } }
.map { height: 300px; border: 0; width: 100%; filter: grayscale(.6) contrast(1.05); transition: filter .5s; }
.map:hover { filter: none; }
.form-card { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; display: flex; flex-direction: column; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid #8F887D; border-radius: 0; padding: 26px 0 10px;
  transition: border-color .3s; width: 100%; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1D1B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; cursor: pointer; }
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute; left: 0; top: 26px; font-size: 16px; color: var(--muted);
  pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field.static label { transform: translateY(-22px) scale(.8); color: var(--accent); font-weight: 600; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 15px; min-height: 1.4em; }
.form-msg.error { color: #A33A2B; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.success { display: flex; flex-direction: column; gap: 16px; padding: 32px 0; }
.success-check { width: 72px; height: 72px; }
.success-check circle, .success-check path { fill: none; stroke: var(--wa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw .8s var(--ease) forwards; }
.success-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.footer-top > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-top strong { color: var(--on-dark); font-weight: 600; }
.footer-top a { color: var(--on-dark-muted); text-decoration: none; }
.footer-top a:hover { color: var(--accent-light); }
.footer-big { font: 800 clamp(48px, 11vw, 160px)/.85 var(--font-display); color: #2A2926; letter-spacing: -0.04em; padding-bottom: 8px; user-select: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding: 22px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .4s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- transição entre páginas ---------- */
.veil {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); pointer-events: none;
  display: grid; place-items: center;
  transform: translateY(-100%); transition: transform .6s var(--ease);
}
.veil-logo { width: min(180px, 44vw); color: var(--on-dark); --logo-cut: var(--ink); }
.is-loading .veil { transform: translateY(0); transition: none; }
.is-leaving .veil { transform: translateY(0); }
.is-leaving .veil-logo .logo-lines path { animation: draw-in .7s .25s var(--ease) both; }
.is-leaving .veil-logo .logo-n, .is-leaving .veil-logo .logo-panel, .is-leaving .veil-logo .logo-s { animation: pop-in .6s .2s var(--ease) both; }
@keyframes draw-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- motion: estados iniciais ----------
   Só ficam escondidos quando o JS confirma que as animações
   vão rodar (classe .motion no <html>).                       */
.motion [data-reveal], .motion [data-stagger] > *,
.motion [data-hero], .motion [data-hero-media], .motion [data-split] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
