
/* ── Tokens: ajuste pela identidade visual do cliente ───────────────────── */
:root {
  --fundo: #ece9e3;          /* off-white do portfólio */
  --fundo-2: #e3dfd7;
  --texto: #2a2925;
  --texto-suave: #5e5a52;
  --acento: #9ed954;         /* verde-limão da marca */
  --acento-escuro: #4d7a1f;  /* acento legível em texto pequeno */
  --acento-texto: #1f2a12;
  --linha: rgb(42 41 37 / 0.12);
  --painel: rgb(240 237 231 / 0.74);
  --mistura: multiply;

  --fonte-titulo: "Instrument Serif", Georgia, serif;
  --fonte-texto: "Manrope", system-ui, sans-serif;

  --raio: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
/* Tema claro (marcas de luz, saúde, casamento etc.): troque os tokens assim
:root {
  --fundo: #f4efe7; --fundo-2: #ebe4d8; --texto: #1d1a16; --texto-suave: #5d564c;
  --linha: rgb(29 26 22 / .12); --painel: rgb(244 239 231 / .7); --mistura: multiply;
}
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grão de filme: tira o aspecto "liso de IA" */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1s steps(4) infinite;
}
@keyframes grao { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 300; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 64px); }
h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 500; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }

/* ── Topo ──────────────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.topo.rolou { background: rgb(236 233 227 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.marca { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.marca .marca-nome { font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) { .marca .marca-nome { font-size: 11px; letter-spacing: .2em; } }
.marca-logo { height: 46px; width: auto; display: block; }
.marca-texto { font-family: var(--fonte-titulo); font-size: 22px; letter-spacing: .02em; }
.menu { display: flex; gap: 28px; align-items: center; font-size: 14px; letter-spacing: .04em; }
.menu a { text-decoration: none; opacity: .8; transition: opacity .3s; }
.menu a:hover { opacity: 1; }
.menu-cta { border: 1px solid var(--linha); padding: 9px 16px; border-radius: 999px; opacity: 1 !important; }
@media (max-width: 760px) { .menu a:not(.menu-cta) { display: none; } }

/* ── Abertura cinematográfica ──────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 60%, rgb(42 41 37 / .25) 100%),
    linear-gradient(to bottom, transparent 70%, var(--fundo) 100%);
}
.momento {
  position: absolute; inset: auto var(--gutter) 12vh; max-width: 640px;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(640px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
.titulo-abertura { margin-bottom: .3em; }
.apoio { font-size: clamp(16px, 1.3vw, 20px); margin: 0; }
.destaque { font-family: var(--fonte-titulo); font-size: clamp(24px, 2.8vw, 42px); line-height: 1.2; color: var(--texto); margin: 0 0 .6em; }
.destaque:last-child { margin: 0; }
.cine-dica {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
  transition: opacity .5s;
}
.cine-dica span { width: 1px; height: 38px; background: linear-gradient(var(--texto), transparent); animation: dica 2s var(--ease) infinite; }
@keyframes dica { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-dica { opacity: 0; }

/* ── Painéis (todo texto mora num painel) ──────────────────────────────── */
.painel {
  position: relative;
  background: var(--painel);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: clamp(24px, 3.2vw, 48px);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.painel--vidro { background: rgb(240 237 231 / .72); }
.painel > :last-child { margin-bottom: 0; }
.rotulo { display: block; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--acento-escuro); margin-bottom: 18px; }

/* ── Seções ────────────────────────────────────────────────────────────── */
.secao {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 18vh var(--gutter);
  display: grid; align-content: center;
}
.secao-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px) 1fr; }
.secao-grade--direita { grid-template-columns: 1fr minmax(0, 560px); }
.secao-grade--direita > .painel { grid-column: 2; }
.secao--larga { gap: 28px; justify-items: center; }
.painel--cabecalho { width: 100%; max-width: var(--largura); }
.cartoes { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cartao h3 { margin-bottom: .4em; }
.cartao { transition: transform .5s var(--ease), border-color .5s; }
.cartao:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acento) 50%, transparent); }
.passos { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: p; display: grid; gap: 22px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; }
.passos li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-family: var(--fonte-titulo); color: var(--acento-escuro); font-size: 22px; }
.passos strong { font-weight: 600; }
.passos span { color: var(--texto-suave); }

/* ── Arte: imagens fundidas ao fundo (nunca retângulo com borda) ───────── */
.arte {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover; mix-blend-mode: var(--mistura);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.arte--direita, .arte--esquerda { top: 0; bottom: 0; width: 64vw; height: 100%; }
.arte--direita {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--esquerda {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--fundo {
  inset: 0; width: 100%; height: 100%; opacity: .5;
  /* closest-side: a elipse zera exatamente na borda, então nunca sobra linha reta */
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.arte--suave { opacity: .32; }
/* Parallax leve aplicado pelo app.js */
.arte[data-parallax] { will-change: transform; }

/* ── Contato ───────────────────────────────────────────────────────────── */
.secao--contato { justify-items: center; }
.painel--form { width: 100%; max-width: 760px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font-size: 13px; letter-spacing: .04em; color: var(--texto-suave); }
.campo input, .campo textarea {
  width: 100%; font: inherit; color: var(--texto);
  background: rgb(255 255 255 / .55); border: 1px solid var(--linha); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, background .3s; resize: vertical;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--acento); background: #fff; }
.campo.erro input { border-color: #d9776b; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--acento-escuro); }
.form-status.falha { color: #a8443a; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ── Botões ────────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--fonte-texto); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 0; border-radius: 999px;
  padding: 17px 30px; transition: transform .4s var(--ease), filter .3s;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.08); }
.botao[disabled] { opacity: .6; cursor: progress; }

/* ── WhatsApp flutuante ────────────────────────────────────────────────── */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.rodape { padding: 0 var(--gutter) 40px; }
.rodape-painel { max-width: var(--largura); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--texto-suave); padding: 24px 32px; }

/* ── Revelar ao rolar ──────────────────────────────────────────────────── */
.revelar { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* ── Celular ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .secao { padding: 14vh var(--gutter); min-height: auto; }
  .secao-grade, .secao-grade--direita { grid-template-columns: 1fr; }
  .secao-grade--direita > .painel { grid-column: 1; }
  .arte--direita, .arte--esquerda { left: 0; right: 0; width: 100%; height: 70%; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent); }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 10vh; }
  /* o card do centro ocupa a mesma largura dos outros, sem o deslocamento de -50% */
  .momento--centro { width: auto; transform: translateY(24px); }
  .momento--centro.ativo { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; filter: none; }
  .momento { filter: none; transform: none; }
  .momento--centro, .momento--centro.ativo { transform: translateX(-50%); }
}

/* ── Studio Mariana Barilli ────────────────────────────────────────────── */
h1, h2 { font-weight: 400; letter-spacing: -.005em; }
h3 { font-family: var(--fonte-texto); font-weight: 500; letter-spacing: -.01em; }
.titulo-abertura { font-size: clamp(36px, 5.2vw, 80px); }
.destaque { font-size: clamp(24px, 2.6vw, 40px); }
.assinatura { font: 300 15px/1.1 var(--fonte-texto); letter-spacing: .28em; text-transform: uppercase; color: var(--texto); }
.assinatura b { font-weight: 600; }
.assinatura small { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .26em; color: var(--texto-suave); }
.menu a { font-weight: 500; }
.menu-cta { background: var(--acento); color: var(--acento-texto); border-color: transparent; }
.rotulo::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); margin-right: 10px; vertical-align: 1px; }

/* Sobre: retrato à direita, bordas dissolvidas */
.arte--retrato {
  right: max(var(--gutter), calc((100vw - var(--largura)) / 2)); top: 50%; translate: 0 -50%;
  width: min(40vw, 520px); height: min(82vh, 760px); object-position: 30% center; mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
}
.linha-tempo, .camadas { list-style: none; padding: 20px 0 0; margin: 28px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--linha); font-size: 15px; color: var(--texto-suave); }
.linha-tempo li, .camadas li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.linha-tempo b, .camadas b { font-weight: 600; color: var(--texto); }

/* Serviços: 5 cartões */
.cartoes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cartao p { font-size: 15px; }

/* Luz: comparador de cenas */
.luz-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.comparar { position: relative; margin: 0; aspect-ratio: 1536 / 940; overflow: hidden; border-radius: 4px; touch-action: pan-y; }
.comparar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparar-topo { clip-path: inset(0 calc(100% - var(--corte)) 0 0); }
.comparar::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--corte); width: 2px; translate: -1px 0; background: var(--acento); pointer-events: none; }
.comparar-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparar-tag { position: absolute; top: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; background: rgb(240 237 231 / .85); padding: 7px 12px; border-radius: 999px; pointer-events: none; }
.comparar-tag--esq { left: 14px; } .comparar-tag--dir { right: 14px; }

/* Projetos e obras: faixas horizontais de imagens */
.secao--projetos { gap: 56px; }
.projeto { width: 100%; max-width: var(--largura); display: grid; gap: 18px; min-width: 0; }
.projeto-cab { max-width: 760px; }
.projeto-cab h3 { font-family: var(--fonte-titulo); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); margin: 6px 0 10px; }
.projeto-cab p { margin: 0; }
.projeto-tipo { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--acento-escuro); }
.aviso { margin-top: 10px !important; font-size: 13px; padding-left: 12px; border-left: 2px solid var(--acento); }
.faixa {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; min-width: 0;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent);
  scrollbar-width: thin; scrollbar-color: var(--acento) transparent;
}
.faixa:focus-visible { outline: 2px solid var(--acento-escuro); outline-offset: 4px; }
.faixa figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.faixa img { height: clamp(220px, 34vh, 380px); width: auto; max-width: none; }
.faixa figcaption { font-size: 13px; color: var(--texto-suave); margin-top: 8px; }

/* Contato */
.contatos { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.contatos a { text-decoration: none; border-bottom: 1px solid var(--acento); overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .arte--retrato { position: relative; translate: none; right: auto; top: auto; width: 100%; height: 60vh; margin-bottom: -8vh; z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .luz-grade { grid-template-columns: 1fr; }
  .linha-tempo li, .camadas li { grid-template-columns: 74px 1fr; }
}

/* Coluna da seção nunca maior que a tela (evita cartões estourando no celular) */
.secao { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .arte--retrato { height: 50vh; } }

/* ── Revisão nov/2026: briefing novo ───────────────────────────────────── */
.titulo-abertura br { display: block; }
.valores { list-style: none; padding: 20px 0 0; margin: 28px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--linha); font-size: 15px; color: var(--texto-suave); }
.valores b { display: block; color: var(--texto); font-weight: 600; }

/* Serviços: carrossel lateral */
.cabecalho-carrossel { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.cabecalho-carrossel h2 { margin-bottom: 0; }
.setas { display: flex; gap: 10px; flex: none; }
.seta {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--linha); background: rgb(255 255 255 / .5);
  font: 400 20px/1 var(--fonte-texto); color: var(--texto); cursor: pointer; transition: background .3s, border-color .3s;
}
.seta:hover { background: var(--acento); border-color: transparent; }
.seta:disabled { opacity: .35; cursor: default; background: transparent; }
.carrossel {
  width: 100%; max-width: var(--largura); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 14px; scrollbar-width: none;
}
.carrossel::-webkit-scrollbar { display: none; }
.carrossel:focus-visible { outline: 2px solid var(--acento-escuro); outline-offset: 4px; }
.servico {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr;
  background: var(--painel); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden;
}
.servico img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.servico-texto { padding: 26px 28px 30px; display: grid; align-content: start; }
.servico-num { font-family: var(--fonte-titulo); font-size: 22px; color: var(--acento-escuro); margin-bottom: 6px; }
.servico p { font-size: 15px; }
.servico-para { margin: 6px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--linha); }
.servico-para b { color: var(--texto); font-weight: 600; }

/* Como eu trabalho */
.etapas { list-style: none; margin: 0; padding: 0; width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.etapas .painel { padding: clamp(22px, 2.4vw, 34px); }
.etapa-num { display: block; font-family: var(--fonte-titulo); font-size: 40px; line-height: 1; color: var(--acento-escuro); margin-bottom: 14px; }
.etapas h3 { margin-bottom: .35em; }
.etapas p { font-size: 15px; margin: 0; }

/* Perguntas frequentes */
.perguntas { width: 100%; max-width: 860px; display: grid; gap: 12px; }
.perguntas details { padding: 0; }
.perguntas summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 28px; position: relative;
  font-weight: 500; font-size: clamp(16px, 1.15vw, 19px); color: var(--texto);
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; position: absolute; right: 28px; top: 50%; translate: 0 -50%; font-size: 24px; color: var(--acento-escuro); transition: rotate .3s var(--ease); }
.perguntas details[open] summary::after { rotate: 45deg; }
.perguntas details p { padding: 0 28px 24px; margin: 0; }

/* Contato: atendimento */
.atendimento { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 15px; }
.atendimento dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--acento-escuro); }
.atendimento dd { margin: 2px 0 0; color: var(--texto); }

@media (max-width: 640px) {
  .cabecalho-carrossel { flex-direction: column; align-items: start; }
}

/* Como eu trabalho: 8 etapas em 4 colunas */
.etapas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .etapas { grid-template-columns: 1fr; } }

/* Comparador de luz: novas imagens 1536x1024 */
.comparar { aspect-ratio: 1536 / 1024; }

/* Luz: nomes das luzes cabem numa linha */
.camadas li { grid-template-columns: 124px 1fr; }
@media (max-width: 860px) { .camadas li { grid-template-columns: 112px 1fr; } }

.frase-luz { font-family: var(--fonte-titulo); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; color: var(--texto); }

.pedido { color: var(--texto); font-weight: 600; }

.camadas li { grid-template-columns: 140px 1fr; }
@media (max-width: 860px) { .camadas li { grid-template-columns: 120px 1fr; } }

/* Topo: no início só o logo, centralizado; ao rolar aparece a barra bege com logo, nome e menu */
.topo {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 16px var(--gutter); background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .45s var(--ease), padding .45s var(--ease);
}
.topo.rolou { background: #aea393; padding-top: 10px; padding-bottom: 10px; }
.topo .marca { flex-direction: column; gap: 6px; justify-self: center; }
.topo .marca-logo { height: 72px; transition: height .45s var(--ease); }
.topo.rolou .marca-logo { height: 52px; }
.topo .menu-esq { justify-self: end; }
.topo .menu-dir { justify-self: start; }
.topo .marca .marca-nome { font-size: 11px; letter-spacing: .3em; }
.topo .marca-nome, .topo .marca-nome b, .topo .menu a { color: #edeae3; font-weight: 700; }
.topo .menu a { opacity: 1; }
.topo .menu a:hover { opacity: .75; }
/* antes de rolar: nome e menu escondidos */
.topo .marca-nome, .topo .menu { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.topo.rolou .marca-nome, .topo.rolou .menu { opacity: 1; visibility: visible; }
.topo:not(.rolou) .marca-logo { filter: drop-shadow(0 2px 10px rgb(0 0 0 / .25)); }
@media (max-width: 900px) { .topo .menu { display: none; } .topo { grid-template-columns: 1fr; } }

/* Celular: barra estilo app, logo à esquerda e menu de três riscos à direita */
.menu-botao, .menu-celular { display: none; }
@media (max-width: 900px) {
  .topo { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
  .topo.rolou, .topo.aberto { background: #aea393; }
  .topo .marca { flex-direction: row; justify-self: auto; }
  .topo .marca-logo, .topo.rolou .marca-logo { height: 44px; }
  .topo .marca-nome { display: none; }
  .menu-botao {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-botao span { display: block; height: 2px; background: #edeae3; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
  .topo:not(.rolou):not(.aberto) .menu-botao { filter: drop-shadow(0 1px 4px rgb(0 0 0 / .35)); }
  .topo.aberto .menu-botao span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .topo.aberto .menu-botao span:nth-child(2) { opacity: 0; }
  .topo.aberto .menu-botao span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-celular {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: #aea393; padding: 8px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .topo.aberto .menu-celular { opacity: 1; visibility: visible; transform: none; }
  .menu-celular a {
    color: #edeae3; font-weight: 700; text-decoration: none; font-size: 15px;
    letter-spacing: .14em; text-transform: uppercase;
    padding: 14px 0; border-top: 1px solid rgb(237 234 227 / .25);
  }
}

/* Menos espaço entre Luz indireta (04) e Projetos (05) */
#luz { min-height: auto; padding-bottom: 6vh; }
#projetos { padding-top: 6vh; }

/* Topo no computador: só o logo, em destaque, também ao rolar */
@media (min-width: 901px) { .topo.rolou .marca-logo { height: 72px; } }

/* Número dos serviços: discreto, acima do título, com um traço verde da marca */
.servico .servico-num {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-family: var(--fonte-texto); font-size: 12px; font-weight: 600; letter-spacing: .3em;
  color: var(--acento-escuro);
}
.servico .servico-num::before { content: ""; width: 28px; height: 2px; background: var(--acento); border-radius: 2px; }

/* Menos espaço entre as seções */
.secao { min-height: auto; padding-top: clamp(28px, 4vh, 48px); padding-bottom: clamp(28px, 4vh, 48px); }
#luz { padding-bottom: clamp(16px, 2vh, 28px); }
#projetos { padding-top: clamp(16px, 2vh, 28px); }

/* Celular com "reduzir movimento": card do centro sem o deslocamento de -50% (precisa vir depois da regra geral) */
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .momento--centro, .momento--centro.ativo { transform: none; }
}

/* Luz: as legendas andam junto com a linha que troca as imagens */
.comparar-tag { white-space: nowrap; }
.comparar-tag--esq { left: auto; right: calc(100% - var(--corte) + 12px); }
.comparar-tag--dir { right: auto; left: calc(var(--corte) + 12px); }

/* Instagram no rodapé */
.rodape-insta { display: inline-flex; align-items: center; gap: 8px; color: var(--texto); text-decoration: none; font-weight: 500; }
.rodape-insta svg { width: 20px; height: 20px; color: var(--acento-escuro); }
.rodape-insta:hover { color: var(--acento-escuro); }

/* Depoimentos (mensagens de WhatsApp) */
.depoimentos { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .depoimentos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .depoimentos { grid-template-columns: 1fr; } }
.depoimento { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.4vw, 34px); }
.depoimento::before { content: "“"; font-family: var(--fonte-titulo); font-size: 64px; line-height: .6; color: var(--acento); height: 28px; }
.depoimento blockquote { margin: 0; font-family: var(--fonte-titulo); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; color: var(--texto); flex: 1; }
.depoimento figcaption { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); padding-top: 14px; border-top: 1px solid var(--linha); }
.depoimento figcaption b { display: block; font-size: 13px; letter-spacing: .12em; color: var(--acento-escuro); font-weight: 600; margin-bottom: 4px; }

/* Link de privacidade (rodapé e formulário) */
.rodape-link { color: var(--texto-suave); text-decoration: underline; text-underline-offset: 3px; }
.rodape-link:hover { color: var(--acento-escuro); }
.form-aviso { margin: 0; font-size: 13px; color: var(--texto-suave); }
.form-aviso a { color: var(--acento-escuro); }

/* Página de texto (privacidade) */
.texto-legal { padding: 140px var(--gutter) 40px; }
.texto-legal .painel { max-width: 820px; margin: 0 auto; padding: clamp(28px, 4vw, 56px); }
.texto-legal h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: .2em; }
.texto-legal h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 1.6em 0 .4em; }
.texto-legal ul { padding-left: 1.2em; }
.texto-legal li { margin-bottom: .4em; }
.texto-legal a:not(.botao) { color: var(--acento-escuro); }
.texto-legal .atualizado { font-size: 14px; color: var(--texto-suave); }
.texto-legal .voltar { margin-top: 2em; }
@media (max-width: 900px) { .texto-legal { padding-top: 110px; } }

/* Crédito N17 Creative Lab */
.credito { max-width: var(--largura); margin: 18px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; font-size: 12px; letter-spacing: .08em; color: var(--texto-suave); }
.credito a { color: inherit; text-decoration: none; }
.credito-marca { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; }
.credito-marca img { height: 30px; width: auto; opacity: .85; transition: opacity .2s; }
.credito-marca:hover img { opacity: 1; }
.credito-links { display: inline-flex; align-items: center; gap: 16px; }
.credito-links a { display: inline-flex; align-items: center; gap: 6px; }
.credito-links a:hover { color: var(--texto); }
.credito-links svg { width: 15px; height: 15px; }
