/* ============================================
   STUDIO EKLEKTOS — Sistema de design
   Preto/branco puro, fotos coloridas.
   Tipografia: Archivo (display, peso 900) + Inter (corpo)
   ============================================ */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --border-on-white: #e2e2e2;
  --border-on-black: #2a2a2a;
  --border-strong-on-white: #b5b5b5;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --section-pad: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); text-transform: none; font-weight: 700; }

p { margin: 0 0 1em; max-width: 62ch; }
p.lede { font-size: 20px; line-height: 1.55; max-width: 46ch; }

.section-black p, .section-black .lede { color: var(--white); }

/* ---------- Two-tone stacked heading (identity device from the printed proposals) ---------- */

.split-heading {
  display: inline-block;
}
.split-heading span {
  display: block;
  padding: 0.08em 0.14em;
}
.split-heading .top {
  background: var(--white);
  color: var(--black);
}
.split-heading .bottom {
  background: var(--black);
  color: var(--white);
}
.section-black .split-heading .top {
  background: var(--black);
  color: var(--white);
}
.section-black .split-heading .bottom {
  background: var(--white);
  color: var(--black);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #262626; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.section-black .btn-outline { border-color: var(--white); color: var(--white); }
.section-black .btn-outline:hover { background: var(--white); color: var(--black); }
.section-black .btn-primary { background: var(--white); color: var(--black); }
.section-black .btn-primary:hover { background: #e6e6e6; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: var(--section-pad) 0; }
.section-black { background: var(--black); color: var(--white); }
.section-white { background: var(--white); color: var(--black); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 14px;
}
.section-black .eyebrow { color: var(--white); }

.section-head { margin-bottom: 48px; max-width: 62ch; }

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-on-white);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  color: var(--black);
  letter-spacing: -0.02em;
}
.logo span { display: block; font-size: 11px; font-weight: 400; font-family: var(--font-body); letter-spacing: 0.08em; color: var(--black); text-transform: none; }
nav.primary-nav { display: flex; gap: 28px; }
nav.primary-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover, nav.primary-nav a.active { border-bottom-color: var(--black); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero (carrossel) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.2s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 32px 72px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-content h1 { color: var(--white); max-width: 16ch; }
.hero-content p.lede { color: #f0f0f0; margin-top: 20px; }
.hero-content .btn-row { margin-top: 32px; }

/* ---------- Cards ---------- */

.card {
  border: 1px solid var(--border-on-white);
  padding: 24px;
  background: var(--white);
}

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Service card with hover reveal */
.service-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0%);
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.85) 100%);
}
.service-card .content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  z-index: 2;
}
.service-card .label { font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: uppercase; margin-bottom: 6px; }
.service-card .quote {
  font-size: 13px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
.service-card:hover .quote, .service-card:focus-within .quote { max-height: 100px; opacity: 1; margin-top: 8px; }

/* Portfolio grid */
.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
  text-decoration: none;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item .tag {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(10,10,10,0.85), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}
.portfolio-item.upcoming {
  background: var(--black);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  border: 1px dashed var(--border-on-black);
}
.portfolio-item.upcoming .date { font-family: var(--font-display); font-size: 28px; font-weight: 900; }

/* Blog cards */
.blog-card { text-decoration: none; color: var(--black); display: block; }
.blog-card .cover { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 14px; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .cat { font-size: 12px; font-weight: 700; color: var(--black); margin-bottom: 6px; display: block; }
.blog-card h3 { margin-bottom: 4px; }
.blog-card .meta { font-size: 13px; color: var(--black); opacity: 0.6; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-col {
  border: 1.5px solid var(--border-on-white);
  padding: 32px;
}
.section-black .contact-col { border-color: var(--border-on-black); }

label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong-on-white);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--black);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
textarea { resize: vertical; min-height: 90px; }

/* FAQ */
.faq-item { border-top: 1px solid var(--border-on-white); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border-on-white); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 700; font-size: 16px;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-top: 12px; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-icon { font-size: 20px; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Footer */
footer {
  background: var(--black); color: var(--white);
  padding: 56px 0 28px;
}
footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
footer a { color: var(--white); text-decoration: none; }
footer .foot-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
footer .foot-col a { display: block; font-size: 14px; opacity: 0.85; margin-bottom: 8px; }
footer .foot-bottom { border-top: 1px solid var(--border-on-black); padding-top: 20px; font-size: 13px; opacity: 0.6; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--black); color: var(--white);
  border-radius: 999px; padding: 14px 20px;
  text-decoration: none; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Scroll-reveal (subtle, used once per section — not per card) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity 0.4s ease; transform: none; }
  .service-card img, .portfolio-item img { transition: none; }
}

/* Tabs (Sobre/Método) */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
  padding: 8px 18px; border: 1.5px solid var(--black); background: var(--white); color: var(--black);
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.tab-btn.active { background: var(--black); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--border-on-white);
}
.timeline-step:last-child { border-bottom: 1px solid var(--border-on-white); }
.timeline-step .n { font-family: var(--font-display); font-weight: 900; font-size: 22px; }
.timeline-step .days { font-size: 13px; opacity: 0.65; }

/* Logo image (replaces text wordmark) */
.logo-img { height: 34px; width: auto; display: block; }

/* ============================================
   Acrescentado pelo sistema (páginas geradas)
   ============================================ */

/* menu no celular */
@media (max-width: 860px) {
  nav.primary-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--border-on-white);
    padding: 12px 20px 20px;
  }
  .nav-inner { position: relative; padding: 14px 20px; }
  .nav-cta .btn { display: none; }
}

/* serviços */
.service-block { padding: 56px 0; border-top: 1px solid var(--border-on-white); }
.service-block:first-of-type { border-top: none; }
.service-block-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .service-block-inner { grid-template-columns: 1fr; } }
.service-num { font-family: var(--font-display); font-size: 15px; font-weight: 900; opacity: 0.4; margin-bottom: 8px; }
.service-meta dt { font-weight: 700; font-size: 13px; margin-top: 18px; }
.service-meta dt:first-child { margin-top: 0; }
.service-meta dd { margin: 4px 0 0; }
.service-proof { font-size: 13px; opacity: 0.6; margin-top: 18px; }

/* filtros (portfólio e blog) */
.filter-btn, .cat-filter { padding: 8px 18px; border: 1.5px solid var(--black); background: var(--white); color: var(--black); font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--font-body); }
.filter-btn.active, .cat-filter.active { background: var(--black); color: var(--white); }
.portfolio-item.oculto, .blog-card.oculto { display: none; }

/* artigo */
.post-body { max-width: 68ch; margin: 0 auto; }
.post-body h2 { text-transform: none; font-size: 26px; margin-top: 40px; margin-bottom: 12px; line-height: 1.2; }
.post-body h3 { margin-top: 28px; margin-bottom: 8px; }
.post-body p, .post-body li { max-width: none; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 1em; }
.post-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--black); font-weight: 500; }
.post-body img { margin: 24px 0; }
.post-body a:not(.btn) { color: var(--black); font-weight: 700; }
.post-body a.btn-primary { color: var(--white); }
.author-box { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--border-on-white); border-bottom: 1px solid var(--border-on-white); padding: 20px 0; margin: 40px 0; }
.author-box img { width: 52px; height: 52px; object-fit: cover; }

/* trilha de navegação */
.breadcrumb { font-size: 13px; display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.4; }
.breadcrumb a { color: var(--black); text-decoration: none; font-weight: 700; }
.section-black .breadcrumb a, .section-black .breadcrumb { color: var(--white); }

/* galeria da ficha */
.galeria-item { margin: 0; }
/* todas as fotos da galeria com o mesmo tamanho: proporção fixa, recorte sem distorcer */
.galeria-item img, .galeria-item video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.galeria-item figcaption { font-size: 13px; padding-top: 6px; opacity: 0.7; }
.galeria-grid { align-items: start; }

/* depoimentos */
.depo { border: 1px solid var(--border-on-white); padding: 24px; }
.depo .estrelas { letter-spacing: 2px; }
.depo .autor { display: block; font-size: 13px; font-weight: 700; margin-top: 10px; }

/* formulário: mensagens */
.form-msg { font-weight: 700; margin-top: 14px; }
.form-msg.erro { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 12px; opacity: 0.7; margin-top: 10px; }

/* aviso no topo */
.aviso-topo { background: var(--black); color: var(--white); text-align: center; font-size: 13px; font-weight: 700; padding: 10px 16px; }
.aviso-topo a { color: var(--white); }

/* banner de cookies (só aparece se houver Google Analytics/Ads configurado) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; background: var(--white); color: var(--black); border: 1.5px solid var(--black); padding: 18px; font-size: 14px; display: none; }
.cookie-banner.on { display: block; }
.cookie-banner .btn-row { margin-top: 12px; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }

/* manifesto e valores (página Sobre) */
.manifesto p { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--white); max-width: none; }
.manifesto p:first-child { font-weight: 700; }
.valores .valor { border-top: 2px solid var(--black); padding-top: 14px; }
.valores .valor .n { display: block; font-family: var(--font-display); font-weight: 900; font-size: 15px; opacity: .4; margin-bottom: 6px; }
.valores .valor strong { display: block; font-size: 17px; margin-bottom: 6px; }
.valores .valor p { font-size: 15px; margin: 0; }

/* etapas de cada serviço (página Serviços) */
.servico-processo { margin-top: 28px; border-top: 1px solid var(--border-on-white); }
.servico-processo summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; font-weight: 700; }
.servico-processo summary::-webkit-details-marker { display: none; }
.servico-processo summary::after { content: "+"; font-size: 20px; line-height: 1; }
.servico-processo[open] summary::after { content: "–"; }
.servico-processo summary span { font-weight: 500; font-size: 14px; opacity: .65; flex: 1; text-align: right; }

/* calungas: ilustrações de pessoas em traço, que se desenham ao aparecer e balançam de leve */
.ilustra { color: var(--black); }
.section-black .ilustra { color: var(--white); }
.ilustra svg.calunga { display: block; width: 100%; height: auto; max-height: 150px; overflow: visible; }
.ilustra-larga svg.calunga { max-height: 220px; }
.ilustra-larga { display: flex; justify-content: center; }
.ilustra-larga svg.calunga { margin: 0 auto; width: 100%; max-width: 900px; }
.mvv-bloco .ilustra svg.calunga, .valor .ilustra svg.calunga { max-width: 260px; height: 160px; max-height: none; margin-bottom: 16px; }
.valor .ilustra svg.calunga { height: 140px; }
.calunga .t { stroke-dasharray: 1; stroke-dashoffset: 1; }
.calunga.in .t { animation: ek-desenha 2.2s ease forwards; }
.calunga.in .fig { animation: ek-balanco 5s ease-in-out 2.2s infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.calunga.in .fig:nth-of-type(2n) { animation-delay: 2.8s; animation-duration: 6s; }
.calunga.in .fig.anda { animation: ek-anda 7s ease-in-out 2.2s infinite; }
@keyframes ek-desenha { to { stroke-dashoffset: 0; } }
@keyframes ek-balanco { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg); } }
@keyframes ek-anda { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) {
  .calunga .t { stroke-dasharray: none; stroke-dashoffset: 0; }
  .calunga.in .t, .calunga.in .fig { animation: none; }
}

/* botões arredondados, como na landing */
.btn { transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.filter-btn, .cat-filter, .tab-btn { border-radius: 999px; }
.wa-float { border-radius: 999px; }

/* Sobre: foto grande em retrato ao lado da trajetória */
.sobre-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.sobre-foto { margin: 0; }
.sobre-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.sobre-foto figcaption { font-size: 13px; font-weight: 700; margin-top: 10px; }
@media (max-width: 860px) { .sobre-grid { grid-template-columns: 1fr; gap: 32px; } .sobre-foto img { aspect-ratio: 4 / 4.4; } }

/* Home: foto do Thiago em destaque no bloco "Como a gente pensa" */
.home-thiago { margin: 0; max-width: 440px; justify-self: end; }
.home-thiago img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.home-thiago figcaption { color: #f0f0f0; font-size: 15px; line-height: 1.6; margin-top: 16px; }
@media (max-width: 860px) { .home-thiago { justify-self: stretch; max-width: none; } }

/* trilha das etapas (página Serviços): estrada sinuosa, paradas numeradas e uma calunga caminhando */
.trilha { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-on-white); }
.trilha-topo { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.trilha-topo span { font-size: 14px; opacity: .65; }
.trilha-faixa { position: relative; height: 80px; margin: 64px 0 14px; }
.trilha-estrada { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trilha-estrada path { fill: none; stroke: var(--black); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trilha.in .trilha-estrada path { animation: ek-desenha 1.6s ease forwards; }
.trilha-marco { position: absolute; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); border: 2px solid var(--black); display: grid; place-items: center; font-size: 13px; font-weight: 700; transition: background .35s ease, color .35s ease, transform .35s ease; z-index: 1; }
.trilha-marco.feito { background: var(--black); color: var(--white); transform: translate(-50%, -50%) scale(1.12); }
.trilha-andarilho { position: absolute; left: 0; bottom: 50%; width: 26px; transform: translateX(-50%); transition: left 1.1s ease-in-out; z-index: 2; pointer-events: none; }
.trilha-andarilho svg { display: block; width: 26px; height: auto; transform-origin: 50% 100%; }
.trilha.andando .trilha-andarilho svg { animation: ek-passo .32s ease-in-out infinite alternate; }
.trilha.chegou .trilha-andarilho svg { animation: ek-aceno 2.4s ease-in-out infinite; }
@keyframes ek-passo { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-3px) rotate(4deg); } }
@keyframes ek-aceno { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(3deg) translateY(-1px); } }
.trilha-etapas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px; }
.etapa { opacity: .3; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.etapa.feita { opacity: 1; transform: none; }
.etapa-ilu svg.calunga { display: block; width: 100%; height: 112px; max-height: none; }
.etapa-n { display: block; font-size: 12px; font-weight: 700; opacity: .55; margin: 12px 0 4px; }
.etapa strong { display: block; font-size: 16px; line-height: 1.3; }
.etapa p { font-size: 14px; margin: 6px 0 0; max-width: none; }
@media (max-width: 760px) {
  .trilha-faixa { display: none; }
  .trilha-etapas { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--black); margin-left: 10px; }
  .etapa { position: relative; padding: 0 0 28px 26px; }
  .etapa::before { content: ''; position: absolute; left: -9px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--black); transition: background .35s; }
  .etapa.feita::before { background: var(--black); }
  .etapa-ilu svg.calunga { width: auto; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .etapa { opacity: 1; transform: none; }
  .trilha-estrada path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .trilha-andarilho { display: none; }
}

/* fotos de antes na ficha do projeto */
.antes-item { position: relative; }
.antes-item .selo-antes { position: absolute; top: 10px; left: 10px; z-index: 1; background: #101010; color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
