/*
   EKLO DIGITAL • sites.css
   Página de criação de sites e sistemas (/sites). CSS próprio, sem Tailwind,
   para carregar rápido no celular de quem chega pelos anúncios.
*/

:root {
  --bg: #0A0820;
  --bg-alt: #0E0B28;
  --surface: #13103A;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.8);
  --soft: rgba(255, 255, 255, 0.56);
  --royal: #18239B;
  --mid: #5A57E6;
  --light: #ABC7FF;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --radius: 14px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 820px;
}

.grad {
  background: linear-gradient(135deg, var(--mid), var(--light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  opacity: 0.8;
  margin-bottom: 16px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  background: var(--royal);
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s, border-color 0.3s, color 0.3s;
}

/* Mesmo hover dos botões do site principal: sobe um pouco e ganha brilho */
.btn:hover {
  background: var(--mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(90, 87, 230, 0.35);
}

.btn:focus-visible,
.link-arrow:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
}

.btn svg {
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--light);
}

.btn--ghost:hover {
  background: rgba(90, 87, 230, 0.08);
  border-color: rgba(90, 87, 230, 0.5);
  color: var(--text);
  transform: none;
  box-shadow: none;
}

/* Botão do topo: degradê como o "Fale com a Eklo" do site principal */
.btn--small {
  padding: 10px 22px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--royal), var(--mid));
  /* O degradê cobre também a borda transparente; sem isso ele se repete e deixa um fio claro na esquerda */
  background-origin: border-box;
}

.btn--small:hover {
  background: linear-gradient(135deg, var(--mid), var(--light));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(90, 87, 230, 0.3);
}

/* Botão principal do topo "respira" bem devagar, para chamar atenção sem incomodar */
.hero__ctas .btn:not(.btn--ghost) {
  animation: ctaPulse 4.5s ease-in-out 2s infinite; /* lenta e sutil: um ciclo a cada 4,5 s, cresce só 2% */
}

@keyframes ctaPulse {
  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: 1.02;
  }
}

.btn--large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* TOPO */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.topbar.is-scrolled {
  background: rgba(10, 8, 32, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__logo {
  flex-shrink: 0;
}

.topbar__logo img {
  height: 52px;
  width: auto;
}

.topbar__nav {
  display: none;
  gap: 32px;
}

/* Mesma linha em degradê que aparece embaixo dos links do site principal */
.topbar__nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.topbar__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--mid), var(--light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__nav a:hover {
  color: var(--text);
}

.topbar__nav a:hover::after {
  transform: scaleX(1);
}

/* Link de volta para o site principal (redes sociais e tráfego) */
.topbar__nav .topbar__back {
  color: var(--light);
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}

.topbar__nav .topbar__back::after {
  left: 28px;
  width: calc(100% - 28px);
}

/* Celular e tablet: botão de WhatsApp compacto + menu, igual ao site principal */
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .btn--small {
  min-height: 44px;
  padding: 0 16px;
  gap: 7px;
  font-size: 0.875rem;
}

.topbar .btn--small svg {
  flex-shrink: 0;
}

.topbar__cta-long {
  display: none;
}

/* Telas bem estreitas: fica só o ícone, igual ao site principal */
@media (max-width: 359px) {
  .topbar .btn--small {
    padding: 0 13px;
  }

  .topbar__cta-short {
    display: none;
  }
}

/* Botão de abrir e fechar o menu (as três linhas viram um X) */
.menu-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Menu em tela cheia, com fundo sólido para a chuva de código não aparecer atrás */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* Área de toque de pelo menos 44 px em cada link */
.mobile-nav a:not(.btn) {
  padding: 6px 16px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav a:not(.btn):hover {
  color: var(--text);
}

.mobile-nav__divider {
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.mobile-nav a.mobile-nav__back {
  font-size: 1.15rem;
  color: var(--light);
}

.mobile-nav .btn {
  margin-top: 8px;
}

/* HERO */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}

/* Chuva de código fixa atrás da página inteira (sites.js).
   Cada seção decide quanto dela aparece pelo próprio fundo:
   topo sem fundo (chuva forte), seções comuns com fundo meio transparente (chuva fraca),
   seções --alt, CTA e rodapé com fundo sólido (sem chuva). */
.code-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

/* No topo, escurece atrás do texto para ele continuar fácil de ler */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 32, 0.45);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(10, 8, 32, 0.62));
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  position: relative;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 15ch;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

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

/* SEÇÕES */
.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
  background: rgba(10, 8, 32, 0.62);
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  margin-bottom: 56px;
  max-width: 680px;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
}

.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* O QUE FAZEMOS: lista com linhas, sem cards */
.offers {
  border-bottom: 1px solid var(--line);
}

.offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.offer__num {
  color: var(--soft);
  font-size: 0.85rem;
}

.offer h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
}

.offer p {
  color: var(--muted);
  max-width: 560px;
}

/* PROJETOS */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.browser {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 24px 48px rgba(3, 2, 14, 0.45);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
}

.project:hover .browser {
  transform: translateY(-4px);
  border-color: rgba(90, 87, 230, 0.5);
}

.browser__bar,
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.browser__dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.browser__url {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.project__body {
  padding-top: 22px;
}

.project__tags {
  font-size: 0.78rem;
  color: var(--light);
  opacity: 0.8;
  margin-bottom: 8px;
}

.project h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project__body p:not(.project__tags) {
  color: var(--muted);
  margin-bottom: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--light);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(171, 199, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  position: relative;
}

/* Área de toque maior que o texto (44 px de altura), sem mudar o visual */
.link-arrow::before {
  content: '';
  position: absolute;
  inset: -12px -10px;
}

.link-arrow::after {
  content: '↗';
  font-size: 0.9em;
}

.link-arrow:hover {
  border-color: var(--light);
}

.projects__note {
  margin-top: 56px;
  color: var(--soft);
  font-size: 0.95rem;
}

/* COMO FUNCIONA */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  position: relative;
  padding: 0 0 36px 32px;
  border-left: 1px solid var(--line-strong);
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mid);
  box-shadow: 0 0 0 4px var(--bg);
}

.step__num {
  display: block;
  color: var(--soft);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
}

/* O QUE VEM JUNTO: terminal */
.included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.terminal {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #07061A;
  box-shadow: 0 24px 48px rgba(3, 2, 14, 0.45);
}

.terminal__title {
  font-size: 0.75rem;
  color: var(--soft);
}

.terminal__body {
  list-style: none;
  margin: 0;
  padding: 22px 20px 26px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.terminal__body li {
  display: flex;
  gap: 12px;
}

.terminal__body span {
  color: var(--light);
  flex-shrink: 0;
}

.terminal__cmd {
  color: var(--soft);
  margin-bottom: 4px;
}

.terminal__cmd span {
  color: var(--mid);
}

.terminal__done {
  margin-top: 4px;
  color: var(--light);
}

.terminal__done span {
  color: var(--mid);
}

/* As linhas do terminal aparecem uma a uma quando ele entra na tela */
.js .terminal__body li {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s;
}

.js .terminal.is-visible .terminal__body li {
  opacity: 1;
  transform: none;
}

.js .terminal.is-visible .terminal__body li:nth-child(2) { transition-delay: 0.35s; }
.js .terminal.is-visible .terminal__body li:nth-child(3) { transition-delay: 0.6s; }
.js .terminal.is-visible .terminal__body li:nth-child(4) { transition-delay: 0.85s; }
.js .terminal.is-visible .terminal__body li:nth-child(5) { transition-delay: 1.1s; }
.js .terminal.is-visible .terminal__body li:nth-child(6) { transition-delay: 1.35s; }
.js .terminal.is-visible .terminal__body li:nth-child(7) { transition-delay: 1.6s; }
.js .terminal.is-visible .terminal__body li:nth-child(8) { transition-delay: 2s; }

/* DÚVIDAS */
.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--light);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 680px;
}

/* CONTATO */
.cta {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(24, 35, 155, 0.35), transparent 70%),
    var(--bg);
}

.cta h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta__inner > p:not(.cta__contacts) {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta__contacts {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  color: var(--soft);
  font-size: 0.9rem;
}

.cta__contacts a,
.cta__contacts span {
  padding: 11px 2px; /* área de toque de 44 px */
}

.cta__contacts a {
  text-decoration: none;
  transition: color 0.2s;
}

.cta__contacts a:hover {
  color: var(--light);
}

/* RODAPÉ */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__logo img {
  height: 48px;
  width: auto;
  opacity: 0.8;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
}

.footer__nav a {
  padding: 12px 2px; /* área de toque de 44 px */
}

.footer__nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--light);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.8rem;
}

/* ENTRADA DOS BLOCOS
   Mesmo movimento do site principal: sobem 40 px e aparecem em 0,8 s quando entram na tela.
   Blocos que entram juntos aparecem um depois do outro (o atraso vem do sites.js). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* TOPO: entra em sequência ao abrir a página (etiqueta, título, texto e botões),
   como o topo do site principal */
.js .hero__content > * {
  opacity: 0;
  animation: heroIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.js .hero__content > :nth-child(1) { animation-delay: 0.3s; }
.js .hero__content > :nth-child(2) { animation-delay: 0.45s; }
.js .hero__content > :nth-child(3) { animation-delay: 0.75s; }
.js .hero__content > :nth-child(4) { animation-delay: 1s; }

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* TABLET */
@media (min-width: 768px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 32px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .step {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .step::before {
    left: 0;
    top: -5px;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* COMPUTADOR */
@media (min-width: 1024px) {
  /* Textos corridos um pouco maiores no computador (17 px); etiquetas ficam a partir de 12 px */
  body {
    font-size: 1.0625rem;
  }

  .section__lead {
    font-size: 1.18rem;
  }

  .faq summary {
    font-size: 1.22rem;
  }

  .eyebrow,
  .project__tags,
  .browser__url,
  .terminal__title {
    font-size: 0.82rem;
  }

  .offer__num,
  .step__num {
    font-size: 0.9rem;
  }

  .topbar__nav a {
    font-size: 0.98rem;
    white-space: nowrap;
  }

  /* Espaço entre os links diminui em notebooks menores para tudo caber numa linha */
  .topbar__nav {
    display: flex;
    gap: clamp(20px, 2.4vw, 32px);
  }

  .topbar__nav .topbar__back {
    padding-left: clamp(18px, 2.1vw, 28px);
  }

  .topbar__nav .topbar__back::after {
    left: clamp(18px, 2.1vw, 28px);
    width: calc(100% - clamp(18px, 2.1vw, 28px));
  }

  .topbar .btn--small {
    white-space: nowrap;
  }

  .topbar__nav {
  }

  /* No computador os links ficam no topo: sem menu e com o botão de texto completo */
  .menu-toggle,
  .mobile-nav,
  .topbar .btn--small svg,
  .topbar__cta-short {
    display: none;
  }

  .topbar__cta-long {
    display: inline;
  }

  .topbar .btn--small {
    min-height: 0;
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .topbar__logo img {
    height: 60px;
  }

  .code-rain {
    opacity: 0.7;
  }

  /* No computador o texto fica à esquerda: escurece mais desse lado e deixa a chuva forte à direita */
  .hero::before {
    background: linear-gradient(90deg, rgba(10, 8, 32, 0.85) 0%, rgba(10, 8, 32, 0.55) 40%, rgba(10, 8, 32, 0) 72%);
  }

  .offer {
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: baseline;
    gap: 32px;
    padding: 36px 0;
  }

  .projects {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .included {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
  }

  .terminal__body {
    font-size: 0.95rem;
    padding: 26px 28px 30px;
  }
}

/* PÁGINAS DE TEXTO LONGO (política de privacidade) */
.legal {
  padding: calc(var(--header-h) + 56px) 0 96px;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal__date {
  color: var(--soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 44px 0 14px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p {
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal a {
  color: var(--light);
}

.legal code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--light);
}

/* LUZ QUE SEGUE O MOUSE NOS CARDS (spotlight.js, mesmo efeito do site principal) */
.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::before,
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

/* brilho suave no fundo do card */
.spotlight::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(90, 87, 230, 0.16), transparent 65%);
}

/* borda acesa perto do mouse */
.spotlight::after {
  z-index: 2;
  padding: 1.5px;
  background: radial-gradient(300px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(171, 199, 255, 0.9), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.spotlight.is-lit::before,
.spotlight.is-lit::after {
  opacity: 1;
}

/* Quem desativou animações no aparelho vê tudo parado */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js .terminal__body li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .hero__content > * {
    opacity: 1;
    animation: none;
  }

  .browser,
  .btn,
  .btn svg {
    transition: none;
  }

  .hero__ctas .btn:not(.btn--ghost) {
    animation: none;
  }
}
