/* ══════════════════════════════════════════════════════════
   Spider Podas — Sistema de estilos
   Tipografia: Bebas Neue (títulos) + Inter (texto)
   Paleta: preto / branco / cinza. Sem verde, sem marrom.
   ══════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111111;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }

/* ── Tokens ── */
:root {
  --ink:        #111111;
  --canvas:     #ffffff;
  --cloud:      #f5f5f5;
  --mute:       #707072;
  --hairline:   #cacacb;
  --hairline-s: #e5e5e5;
  --shell:      1200px;
  --pad:        40px;
}

/* ── Utilitários ── */
.shell { max-width: var(--shell); margin: 0 auto; }
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.kicker-light { color: rgba(255,255,255,0.45); }
.display {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.lead {
  font-size: 17px;
  line-height: 1.62;
  color: var(--mute);
  max-width: 62ch;
}
.lead-light { color: rgba(255,255,255,0.62); }
.body-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mute);
  max-width: 66ch;
}
.body-text + .body-text { margin-top: 18px; }
.body-text strong { color: var(--ink); font-weight: 500; }
.on-dark .body-text { color: rgba(255,255,255,0.6); }
.on-dark .body-text strong { color: #ffffff; }

/* ── Botões ── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  line-height: 1;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.78; }
.btn:active { transform: scale(0.98); }
.btn-dark  { background: var(--ink);    color: var(--canvas); }
.btn-white { background: var(--canvas); color: var(--ink);    }
.btn-ghost {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Navegação ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.35s ease, border-color 0.35s ease;
}
#nav.over-video   { background: transparent; border-bottom: 1px solid transparent; }
#nav.over-content { background: var(--canvas); border-bottom: 1px solid var(--hairline-s); }

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.35s ease;
  flex-shrink: 0;
}
#nav.over-video   .nav-logo { color: #ffffff; }
#nav.over-content .nav-logo { color: var(--ink); }

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: opacity 0.2s ease, color 0.35s ease;
  position: relative;
  padding: 4px 0;
}
.nav-menu a:hover { opacity: 0.65; }
#nav.over-video   .nav-menu a { color: rgba(255,255,255,0.85); }
#nav.over-content .nav-menu a { color: var(--ink); }
.nav-menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
}

#nav.over-video   .nav-cta { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.45); color: #ffffff; }
#nav.over-content .nav-cta { background: var(--ink); color: var(--canvas); border: none; }

/* Botão hambúrguer */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  transition: background 0.35s ease, transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle span + span { margin-top: 6px; }
#nav.over-video   .nav-toggle span { background: #ffffff; }
#nav.over-content .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Painel mobile */
.nav-panel {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 190;
  padding: 100px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.menu-open .nav-panel { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.nav-panel a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.nav-panel .panel-foot {
  margin-top: auto;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: none;
  color: rgba(255,255,255,0.45);
  padding-top: 28px;
}

/* ── Hero da home ── */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad) 88px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, transparent 35%),
    linear-gradient(to top, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.38) 50%, rgba(17,17,17,0.18) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8.2vw, 104px);
  line-height: 0.9;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 52ch;
}

/* ── Hero das páginas internas ── */
.hero-page {
  position: relative;
  background: var(--ink);
  padding: 168px var(--pad) 88px;
  overflow: hidden;
}
.hero-page-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(3px) grayscale(0.4);
  z-index: 0;
}
.hero-page-inner { position: relative; z-index: 2; max-width: var(--shell); margin: 0 auto; }
.hero-page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.92;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
  max-width: 18ch;
}
.hero-page-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 58ch;
  margin-bottom: 36px;
}
.crumb {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 26px;
}
.crumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.crumb a:hover { color: #ffffff; }
.crumb span { margin: 0 8px; opacity: 0.5; }

/* ── Seções ── */
.section { padding: 104px var(--pad); }
.section-sm { padding: 76px var(--pad); }
.bg-canvas { background: var(--canvas); }
.bg-cloud  { background: var(--cloud); }
.bg-ink    { background: var(--ink); }
.bg-ink .display, .bg-ink h2, .bg-ink h3 { color: #ffffff; }

.section-head { margin-bottom: 52px; max-width: 74ch; }
.section-head .display { margin-bottom: 20px; }

/* ── Grade de diferenciais ── */
.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--shell);
  margin: 0 auto;
}
.dif-item { padding-right: 48px; }
.dif-item + .dif-item {
  padding-left: 48px;
  padding-right: 48px;
  border-left: 1px solid var(--hairline-s);
}
.dif-item:last-child { padding-right: 0; }
.dif-icon {
  width: 22px; height: 22px;
  margin-bottom: 20px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dif-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.dif-body { font-size: 13px; color: var(--mute); line-height: 1.65; }

/* ── Cartões de serviço (home) ── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 34px 30px 30px;
  text-decoration: none;
  min-height: 340px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); }
.svc-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 26px;
}
.svc-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  line-height: 0.96;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}
.svc-card-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.svc-card-for {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.svc-card-go {
  position: absolute;
  top: 30px; right: 30px;
  font-size: 18px;
  color: rgba(255,255,255,0.28);
  transition: transform 0.3s ease, color 0.3s ease;
}
.svc-card:hover .svc-card-go { transform: translate(3px, -3px); color: #ffffff; }

/* ── Bloco comparativo (poda × supressão × corte raso) ── */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--shell);
  margin: 0 auto;
  border-top: 1px solid var(--hairline-s);
}
.compare-col { padding: 34px 40px 34px 0; }
.compare-col + .compare-col { padding-left: 40px; border-left: 1px solid var(--hairline-s); }
.compare-col:last-child { padding-right: 0; }
.compare-term {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.compare-def { font-size: 14px; line-height: 1.65; color: var(--mute); margin-bottom: 18px; }
.compare-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 5px 12px;
}

/* ── Etapas numeradas ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.step {
  background: var(--canvas);
  border: 1px solid var(--hairline-s);
  padding: 30px 26px 32px;
}
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 1;
  color: var(--hairline);
  margin-bottom: 20px;
}
.step-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.step-body  { font-size: 13px; line-height: 1.65; color: var(--mute); }

/* ── Números / estatísticas ── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--shell);
  margin: 48px auto 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat { padding: 34px 36px 0 0; }
.stat + .stat { padding-left: 36px; border-left: 1px solid rgba(255,255,255,0.12); }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 0.9;
  color: #ffffff;
  margin-bottom: 12px;
}
.stat-label { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.55); }

/* Variação clara */
.stats-light { border-top-color: var(--hairline-s); }
.stats-light .stat + .stat { border-left-color: var(--hairline-s); }
.stats-light .stat-num { color: var(--ink); }
.stats-light .stat-label { color: var(--mute); }

/* ── Grade de aplicações ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.app-item {
  background: var(--cloud);
  padding: 32px 28px 34px;
  border-top: 2px solid var(--ink);
}
.app-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.app-body { font-size: 13.5px; line-height: 1.65; color: var(--mute); }

/* ── Bloco de duas colunas (texto + destaque) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--shell);
  margin: 0 auto;
}
.split-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--cloud); }
.split-media video, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

/* ── Lista com marcadores discretos ── */
.tick-list { list-style: none; margin-top: 26px; }
.tick-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mute);
}
.tick-list li + li { margin-top: 14px; }
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 1.5px;
  background: var(--ink);
}
.on-dark .tick-list li { color: rgba(255,255,255,0.62); }
.on-dark .tick-list li::before { background: rgba(255,255,255,0.65); }
.tick-list strong { color: var(--ink); font-weight: 500; }
.on-dark .tick-list strong { color: #ffffff; }

/* ── Citação ── */
.pull {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--ink);
}
.pull-attr { font-size: 13px; color: var(--mute); margin-top: 22px; max-width: 52ch; }
/* Citação ao lado de uma foto, em vez de centralizada na página */
.pull-left { text-align: left; margin: 0; align-self: center; }
.pull-left .pull-attr { margin-left: 0; }
.bg-ink .pull-quote { color: #ffffff; }
.bg-ink .pull-attr  { color: rgba(255,255,255,0.45); }

/* ── Avaliações ── */
.av-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.av-score { text-align: right; flex-shrink: 0; margin-left: 24px; }
.av-score-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
  display: block;
}
.av-score-stars { font-size: 13px; color: var(--ink); display: block; margin-top: 2px; }
.av-score-count { font-size: 11px; color: var(--mute); display: block; margin-top: 2px; }
.av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: var(--shell);
  margin: 0 auto;
}
.av-card { background: var(--canvas); padding: 28px; }
.av-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.av-stars svg { width: 13px; height: 13px; }
.av-quote  { font-size: 14px; line-height: 1.65; color: var(--ink); margin-bottom: 20px; }
.av-author { font-size: 13px; font-weight: 500; color: var(--ink); }
.av-source { font-size: 11px; color: var(--mute); margin-top: 2px; }

/* ── Navegação entre serviços (rodapé das páginas internas) ── */
.next-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.next-card {
  border: 1px solid var(--hairline-s);
  padding: 34px 32px;
  text-decoration: none;
  display: block;
  transition: background 0.25s ease;
}
.next-card:hover { background: var(--cloud); }
.next-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}
.next-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── CTA final ── */
.s-cta { background: var(--ink); padding: 120px var(--pad); text-align: center; }
.cta-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 0.9;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.s-cta .btn-row { justify-content: center; }

/* ── Rodapé ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 56px var(--pad) 36px;
}
.footer-top {
  max-width: var(--shell);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-tag { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); max-width: 34ch; }
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  line-height: 1.9;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.25); }

/* ── Cartões com foto ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.photo-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-s);
  display: flex;
  flex-direction: column;
}
.photo-card figure {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cloud);
}
.photo-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-card:hover figure img { transform: scale(1.04); }
.photo-card .pc-body { padding: 26px 24px 28px; }
.photo-card .app-title { margin-bottom: 10px; }

/* Variação escura */
.bg-ink .photo-card {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.09);
}
.bg-ink .photo-card .app-title { color: #ffffff; }
.bg-ink .photo-card .app-body  { color: rgba(255,255,255,0.55); }

/* ── Foto nos cartões de serviço ── */
.svc-card { padding: 0; }
.svc-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.svc-card:hover .svc-card-media img { transform: scale(1.05); filter: grayscale(0); }
.svc-card-inner {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-card-go { top: auto; bottom: 30px; right: 30px; }

/* ── Faixa de imagem ── */
.band {
  position: relative;
  height: clamp(300px, 48vh, 560px);
  overflow: hidden;
}
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.78) 0%, rgba(17,17,17,0.15) 55%, transparent 100%);
}
.band-caption {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 36px;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
}
.band-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}
.band-text { font-size: 14px; color: rgba(255,255,255,0.72); max-width: 56ch; line-height: 1.6; }

/* ── Hero com imagem de fundo ── */
.hero-page-media[data-photo] { opacity: 0.42; filter: blur(0) grayscale(0.3); }

/* ── Legenda de foto ── */
.figcap {
  font-size: 11.5px;
  color: var(--mute);
  margin-top: 10px;
  line-height: 1.5;
}
.on-dark .figcap, .bg-ink .figcap { color: rgba(255,255,255,0.4); }

/* ── Foto de apoio da seção ── */
.sec-photo {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto 48px;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--cloud);
}
.sec-photo img { width: 100%; height: 100%; object-fit: cover; }
.sec-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(17,17,17,0.7) 0%, transparent 100%);
  pointer-events: none;
}
.sec-photo figcaption {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
}

/* ── Etapa com foto ── */
.step.has-media { padding: 0; display: flex; flex-direction: column; }
.step-media { aspect-ratio: 4/3; overflow: hidden; background: var(--hairline-s); }
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.step.has-media:hover .step-media img { transform: scale(1.05); filter: grayscale(0); }
.step-text { padding: 26px 24px 30px; }

/* ── Cartão de aplicação com foto ── */
.app-item.has-media { padding: 0; display: flex; flex-direction: column; }
.app-media { aspect-ratio: 16/10; overflow: hidden; background: var(--hairline-s); }
.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.app-item.has-media:hover .app-media img { transform: scale(1.05); filter: grayscale(0); }
.app-text { padding: 26px 28px 30px; }

/* ── Coluna comparativa com foto ── */
/* Altura fixa, e não aspect-ratio: as colunas têm larguras internas
   diferentes por causa do padding, e a proporção desalinharia os títulos. */
.compare-media {
  height: 240px;
  overflow: hidden;
  background: var(--cloud);
  margin-bottom: 22px;
}
.compare-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.compare-col:hover .compare-media img { transform: scale(1.05); filter: grayscale(0); }

/* ── Galeria de operações (home) ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 172px;
  gap: 2px;
  max-width: var(--shell);
  margin: 0 auto;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: var(--cloud);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.22);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}
.gallery figure:hover img { transform: scale(1.05); filter: grayscale(0); }
.gallery figure::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(17,17,17,0.72) 0%, transparent 100%);
  pointer-events: none;
}
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-big  { grid-column: span 2; grid-row: span 2; }
.gallery figcaption {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
}

@media (max-width: 1080px) {
  .gallery { grid-auto-rows: 140px; }
  .sec-photo { aspect-ratio: 16/9; margin-bottom: 40px; }
}
@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery .g-big { grid-column: span 2; grid-row: span 2; }
  .gallery .g-wide { grid-column: span 2; grid-row: span 1; }
  .sec-photo { aspect-ratio: 3/2; margin-bottom: 32px; }
  .compare-media { height: 200px; }
}

/* ── Revelação no scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   Responsivo
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .svc-cards   { grid-template-columns: 1fr; }
  .svc-card    { min-height: 0; }
  .steps       { grid-template-columns: repeat(2, 1fr); }
  .apps-grid   { grid-template-columns: 1fr; }
  .photo-grid  { grid-template-columns: repeat(2, 1fr); }
  .split       { grid-template-columns: 1fr; gap: 44px; }
  .split-media { aspect-ratio: 16/10; }
}

@media (max-width: 900px) {
  .nav-menu   { display: none; }
  .nav-toggle { display: block; }
  .nav-cta    { display: none; }

  .compare-grid { grid-template-columns: 1fr; border-top: none; }
  .compare-col  { padding: 30px 0; border-top: 1px solid var(--hairline-s); }
  .compare-col + .compare-col { padding-left: 0; border-left: none; }

  .stats { grid-template-columns: 1fr; }
  .stat  { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .stat + .stat { padding-left: 0; border-left: none; }
  .stats-light .stat { border-top-color: var(--hairline-s); }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .next-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }

  #nav { height: 60px; }

  .hero      { padding: 0 var(--pad) 60px; }
  .hero-page { padding: 128px var(--pad) 64px; }

  .section    { padding: 68px var(--pad); }
  .section-sm { padding: 52px var(--pad); }

  .dif-grid { grid-template-columns: 1fr; }
  .dif-item { padding-right: 0; }
  .dif-item + .dif-item {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--hairline-s);
    padding-top: 34px;
    margin-top: 34px;
  }

  .steps { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .band { height: clamp(240px, 42vh, 380px); }
  .band-caption { bottom: 24px; }

  .av-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .av-score  { text-align: left; margin-left: 0; }
  .av-grid   { grid-template-columns: 1fr; gap: 8px; }

  .s-cta { padding: 80px var(--pad); }

  .nav-panel a { font-size: 28px; }
}

/* ── Movimento reduzido ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .gallery img, .app-media img, .compare-media img { transition: none; }
}
