/* Layout: uma coluna de 1120px. Página contínua sobre o fundo da marca, com halos verdes dando profundidade
   (estilo inspirado no template Recode, recriado no nosso código). Tema escuro sempre por padrão;
   o tema claro só entra pelo botão do topo. */
:root {
  --grafite: #0F1512;
  --floresta: #0A3D2C;
  --vibrante: #00B37E;
  --off: #F5F8F6;
  --nevoa: #9FB4A9;
  --musgo: #5C6B63;
  --lima: #C6F135;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1120px;
  /* Curva usada em todas as entradas e reações: sai rápido e assenta devagar. */
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* Tema escuro (padrão) */
  --bg: var(--grafite);
  --fg: var(--off);
  --muted: var(--nevoa);
  --line: var(--musgo);
  --line-soft: rgba(92, 107, 99, 0.5);
  --accent-text: var(--vibrante);
  --header-bg: rgba(15, 21, 18, 0.85);
  --grid-dot: var(--nevoa);
  --sym: var(--vibrante);
  --surface: #141C18;                       /* fundo dos cards, um tom acima do grafite */
  --halo: rgba(0, 179, 126, 0.13);          /* brilho verde atrás das seções */
  --values-deco: none;
  --only-dark: block;
  --only-light: none;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: var(--off);
  --fg: var(--floresta);
  --muted: var(--musgo);
  --line: var(--nevoa);
  --line-soft: rgba(159, 180, 169, 0.6);
  --accent-text: var(--floresta);
  --header-bg: rgba(245, 248, 246, 0.85);
  --grid-dot: var(--musgo);
  --sym: var(--floresta);
  --surface: #FFFFFF;
  --halo: rgba(0, 179, 126, 0.10);
  --values-deco: underline;
  --only-dark: none;
  --only-light: block;
  color-scheme: light;
}
.only-dark { display: var(--only-dark) !important; }
.only-light { display: var(--only-light) !important; }

@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--vibrante); outline-offset: 3px; border-radius: 4px; }

/* Transição de tema: círculo que se expande a partir do botão (navegadores com View Transitions) ou troca suave de cores (demais) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease, stroke .35s ease !important;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
h2 { font-weight: 700; font-size: clamp(32px, 4.8vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-weight: 600; font-size: 22px; line-height: 1.3; }
p { margin: 0; }

/* Seções com halo: um brilho verde grande e difuso atrás do conteúdo, posicionado por seção. */
.has-halo { position: relative; isolation: isolate; overflow-x: clip; }
.has-halo::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; max-width: 120vw;
  left: var(--halo-x, -200px); top: var(--halo-y, -120px);
  background: radial-gradient(closest-side, var(--halo), transparent);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 20px;
  text-decoration: none;
  transition: transform .25s var(--ease-out), background-color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--vibrante); color: var(--grafite); }
.btn-primary:hover { background: #00c78c; transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0, 179, 126, 0.8); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--vibrante); }
/* Botão com a seta num quadradinho à direita (o "pixel" da marca); a seta anda ao passar o mouse. */
.btn-arrow { padding: 8px 8px 8px 22px; gap: 16px; }
.btn-arrow .arrow {
  width: 36px; height: 36px; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vibrante); color: var(--grafite);
  transition: transform .3s var(--ease-out);
}
.btn-arrow:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn-arrow .arrow { transition: none; } .btn:hover, .btn-arrow:hover .arrow { transform: none; } }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
/* No cabeçalho vai só o nome "verde." (o ponto é o pixel verde): o símbolo já aparece grande no topo e no rodapé. */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 116px; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--fg); opacity: .85; white-space: nowrap; transition: color .2s ease, opacity .2s ease; }
.nav a:not(.btn):hover { opacity: 1; color: var(--accent-text); }
.nav .btn { padding: 12px 18px; white-space: nowrap; }
/* Troca de idioma: discreta, ao lado do tema, porque só interessa a quem está fora do Brasil. */
.nav .lang-switch { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; padding: 10px 4px; }
.theme-toggle {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; padding: 0;
  transition: border-color .2s ease;
}
.theme-toggle:hover { border-color: var(--vibrante); }
.theme-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .nav { gap: 20px; } }
@media (max-width: 900px) { .nav { gap: 10px; } .nav a:not(.btn) { display: none; } }
@media (max-width: 760px) { .logo img { width: 104px; } }
@media (max-width: 400px) { .nav .btn { padding: 12px 14px; font-size: 14px; } .theme-toggle { width: 40px; height: 40px; } .site-header .wrap { gap: 8px; } .logo img { width: 96px; } }

/* Hero */
.hero { padding-block: 72px 96px; --halo-x: auto; --halo-y: -260px; }
.hero::before { left: auto; right: -220px; width: 900px; height: 900px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.0; letter-spacing: -0.035em; }
.hero-lead { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 32em; }
/* Mesma oferta do anúncio, logo no topo: quem chega pela campanha vê o preço sem rolar. */
.hero-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 36em; font-size: 15px; line-height: 22px; color: var(--muted); }
.hero-offer strong { color: var(--fg); }
.hero-offer a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.ico { color: var(--accent-text); flex-shrink: 0; }
.ico-wa { flex-shrink: 0; }
.contact-line { display: flex; align-items: center; gap: 8px; }
.hero-art { width: 100%; max-width: 620px; justify-self: end; margin-right: -48px; }
.hero-glow { stop-color: var(--vibrante); }
.hero-art svg { width: 100%; height: auto; display: block; }
/* Legenda da animação: o conceito por trás do pixel que encontra o quadrado. O quadradinho repete o pixel da marca. */
.hero-art { margin-block: 0; margin-left: 0; }
.hero-caption {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: -36px; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 22px; text-align: center;
}
.hero-caption::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--vibrante); }
@media (max-width: 860px) { .hero-caption { margin-top: -14px; font-size: 15px; } }
.grid-dot { fill: var(--grid-dot); }
.sym { fill: var(--sym); }
.hero-pixel { transition: transform .12s linear; }
.hero-lima { transition: transform .18s ease, opacity .18s ease; }
.hero-lima.is-eaten { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-pixel, .hero-lima { transition: none; } }
@media (max-width: 860px) {
  .hero { padding-block: 40px 72px; }
  .hero::before { right: -360px; top: -320px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 280px; justify-self: center; margin: 0; }
}

/* Cabeçalho de seção */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; margin-bottom: 48px; }
.section-head p { font-size: 18px; line-height: 28px; color: var(--muted); }

/* Superfícies discretas: o conteúdo e as imagens assumem a hierarquia. */
.card { min-width: 0; border-radius: var(--radius); background: var(--surface); }

/* Serviços */
.services { padding-block: 96px; --halo-x: -320px; --halo-y: 120px; }
.group-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; color: var(--muted); margin: 0 0 16px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; min-width: 0; }
.service h3 { margin: 0; font-size: 26px; line-height: 1.2; }
.service p { color: var(--muted); font-size: 16px; line-height: 25px; }
.service > p:not(.service-meta) { margin-bottom: 8px; }
.service .service-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 18px; color: var(--fg); }
.service .service-price {font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--fg); }
.service .service-price-note { font-size: 13px; line-height: 20px; }
.care-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .care-list { grid-template-columns: minmax(0, 1fr); } }
.care-note { max-width: 880px; margin: 20px auto 0; color: var(--muted); font-size: 14px; line-height: 22px; }
.care { display: flex; align-items: flex-start; min-width: 0; padding: 28px; }
.care h3 { font-size: 20px; line-height: 26px; margin-top: 2px; }
.care p { color: var(--muted); font-size: 16px; line-height: 25px; margin-top: 6px; }
.care .service-price { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--fg); margin-top: 14px; }
/* Lista do que vem em cada serviço: o visitante compara as opções sem ler parágrafos. */
.includes { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--fg); }
.includes svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.includes li.no { color: var(--muted); }
.includes li.no svg { color: var(--muted); }
.includes strong { font-weight: 700; }
/* Texto só para leitor de tela: diz "incluso" ou "não incluso", que o ícone mostra só visualmente. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.care > div { display: flex; flex-direction: column; width: 100%; }
.care .includes { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.soon { margin-top: 48px; justify-content: center; text-align: center; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 16px; line-height: 25px; }
.soon strong { color: var(--fg); }
.badge {
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--lima); color: var(--grafite);
  padding: 4px 10px; border-radius: var(--radius);
  white-space: nowrap; flex-shrink: 0;
}

/* Categorias de preço. Sem JavaScript, cada painel aparece com o próprio título, um embaixo do outro.
   Com JavaScript (.price-tabs-ready na seção), viram abas: só o painel escolhido aparece e os títulos somem,
   porque a aba já diz onde a pessoa está. */
.price-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; width: fit-content; max-width: 100%;
  margin-bottom: 32px; padding: 6px;
  border: 1px solid var(--line-soft); border-radius: calc(var(--radius) + 6px); background: var(--surface);
}
.price-tabs[hidden] { display: none; }
.price-tabs [role="tab"] {
  min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 20px;
  transition: background-color .2s ease, color .2s ease;
}
.price-tabs [role="tab"]:hover { color: var(--fg); }
.price-tabs [role="tab"][aria-selected="true"] { background: var(--vibrante); color: var(--grafite); }
@media (max-width: 560px) {
  .price-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .price-tabs[hidden] { display: none; }
  .price-tabs [role="tab"] { padding-inline: 8px; font-size: 14px; }
}
.price-panel + .price-panel { margin-top: 56px; }
.price-tabs-ready .price-panel + .price-panel { margin-top: 0; }
.price-tabs-ready .panel-title { display: none; }
.price-panel[hidden] { display: none; }
.price-panel:focus-visible { outline-offset: 8px; }
.panel-intro { max-width: 62ch; margin: -4px auto 28px; color: var(--muted); text-align: center; }
.price-tabs-ready .panel-intro { margin-top: 0; }
.panel-note { max-width: 880px; margin: 20px auto 0; color: var(--muted); font-size: 14px; line-height: 22px; }
/* A área de preços é centralizada como um bloco: seletor, textos e cards no mesmo eixo.
   Grades de 2 colunas têm 880px; um card sozinho (evento, sistemas) fica no meio, com a largura de um card. */
.services .section-head { margin-inline: auto; align-items: center; text-align: center; }
.price-tabs { margin-inline: auto; }
.service-grid--two, .care-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.service-grid--one { grid-template-columns: minmax(0, 1fr); max-width: 430px; margin-inline: auto; }
.services .group-title { text-align: center; }

/* Subseção dentro de um painel (o cuidado mensal da criação): separada por uma linha tracejada, a rota da marca. */
.panel-sub { max-width: 880px; margin: 64px auto 0; padding-top: 48px; border-top: 1.5px dashed var(--line); }
.panel-sub-title { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 32px; }
.panel-sub-intro { max-width: 56ch; margin: 10px auto 28px; text-align: center; color: var(--muted); }

/* "Antes de começar": texto ao lado de uma proposta desenhada como documento. A linha tracejada termina
   no pixel da marca, como na animação do topo: a proposta aprovada é o ponto de partida. */
.agreement {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: center;
  max-width: 880px; margin: 96px auto 0; padding-top: 72px; border-top: 1px solid var(--line-soft);
}
.agreement-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.015em; }
.agreement-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 27px; }
.proposal {
  position: relative; margin: 0; padding: 28px 28px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: 12px 12px 0 -1px var(--bg), 12px 12px 0 0 var(--line-soft);
}
.proposal-label { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.proposal-items { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.proposal-items li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 22px; }
.proposal-items li::after { content: ""; flex: 1; height: 6px; margin-left: 6px; border-radius: 3px; background: var(--line-soft); opacity: .6; }
.proposal-items svg { flex: none; width: 18px; height: 18px; color: var(--accent-text); }
.proposal-sign { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 18px; }
.proposal-line { position: relative; display: block; height: 10px; border-bottom: 1.5px dashed var(--vibrante); margin-right: 18px; }
.proposal-line::after { content: ""; position: absolute; right: -18px; bottom: -6px; width: 12px; height: 12px; background: var(--vibrante); }
@media (max-width: 860px) {
  .agreement { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 72px; padding-top: 56px; }
  .proposal { margin-right: 12px; }
}
@media (max-width: 860px) { .service-grid--two, .care-list--two { grid-template-columns: minmax(0, 1fr); } }

/* Linha do tempo do preço na assinatura: deixa à vista o que se paga na contratação, nos meses 2 a 12
   e a queda a partir do 13º mês. Repete a linha tracejada e o pixel da marca, como em "Como trabalhamos";
   o último ponto vem cheio porque é o objetivo: a mensalidade menor. */
.price-timeline ol { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 14px; }
.price-timeline li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
  padding-left: 26px;
}
.price-timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  border: 1.5px solid var(--vibrante); background: var(--surface);
}
.price-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 5px; top: 20px; bottom: -14px; border-left: 1.5px dashed var(--vibrante); opacity: .6;
}
.price-timeline .is-drop::before { background: var(--vibrante); }
.pt-when { font-size: 15px; line-height: 22px; color: var(--muted); }
.pt-value { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 22px; color: var(--fg); white-space: nowrap; }
.pt-detail { grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--muted); }
.price-timeline .is-drop .pt-detail { color: var(--muted); font-weight: 400; }
.price-timeline .is-drop .pt-when { color: var(--fg); font-weight: 700; }
.price-timeline .badge { grid-column: 1 / -1; justify-self: start; margin-top: 6px; letter-spacing: 1px; }

/* Pagamento anual: só os descontos. O valor final vem na proposta, junto com o escopo combinado. */
.annual { margin-top: 4px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.annual-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 22px; color: var(--fg); }
.annual ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.annual li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.annual-off { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 34px; color: var(--accent-text); }
.annual-how { font-size: 14px; line-height: 20px; color: var(--fg); }
.annual-save { margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--fg); }
.annual-note { margin-top: 12px; font-size: 13px; line-height: 19px; color: var(--muted); }
@media (max-width: 380px) { .annual ul { grid-template-columns: minmax(0, 1fr); } }

/* Etiqueta de preço por dia, no topo do card de assinatura: tem o formato de etiqueta de loja,
   com o furo quadrado (o pixel da marca). O texto ao lado diz para que serve o valor. */
/* Botão no fim de cada plano: o visitante decide ali mesmo, com o plano já escrito na mensagem. */
.plan-cta { margin-top: 16px; width: 100%; justify-content: center; }
.day-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; line-height: 20px; color: var(--muted); }
.price-tag {
  position: relative; display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px 4px 24px;
  background: var(--vibrante); color: var(--grafite);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 20px; white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
.price-tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--surface); }

/* Como a gente trabalha: título fixo à esquerda e etapas verticais à direita.
   Cada etapa acende (ícone verde) quando entra na tela, e a linha pontilhada até a próxima se desenha. */
.process { padding-block: 96px; --halo-x: auto; --halo-y: 80px; }
.process::before { left: auto; right: -320px; }
.process .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.process-intro { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.process-intro .section-head { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; }
.step-icon {
  position: relative; width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--vibrante); color: var(--vibrante); background: var(--bg);
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
.step.is-lit .step-icon { background: var(--vibrante); color: var(--grafite); border-style: solid; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: -28px;
  border-left: 1.5px dashed var(--vibrante); opacity: .6;
  transform-origin: top; transition: transform .7s var(--ease-out) .15s;
}
.motion .step:not(.is-lit):not(:last-child)::after { transform: scaleY(0); }
.step-body { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; min-width: 0; }
.step-num { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 2px; color: var(--muted); }
.step p { color: var(--muted); font-size: 16px; line-height: 25px; }
.values { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; text-wrap: balance; }
.values span { color: var(--accent-text); text-decoration: var(--values-deco); text-decoration-color: var(--vibrante); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 860px) {
  .process .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .process-intro { position: static; }
}
/* Sem animação, todas as etapas já aparecem acesas. */
:root:not(.motion) .step-icon { background: var(--vibrante); color: var(--grafite); border-style: solid; }
@media (prefers-reduced-motion: reduce) { .step-icon, .step:not(:last-child)::after { transition: none; } }

/* Dúvidas */
.faq { padding-block: 32px 96px; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq .section-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq .section-head a { color: var(--accent-text); text-underline-offset: 3px; }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .faq .section-head { position: static; } }
.faq-list { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.faq-item { padding-inline: 24px; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 19px; line-height: 26px; transition: color .2s ease; }
.faq-item summary:hover h3 { color: var(--accent-text); }
.faq-item summary:focus-visible { outline-color: var(--accent-text); }
.faq-icon {
  position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--radius-sm);
  border: 1px solid var(--line); transition: background-color .3s ease, border-color .3s ease;
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 9px; top: 14.5px; width: 12px; height: 1.5px; background: var(--accent-text); transition: transform .3s var(--ease-out), background-color .3s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--vibrante); border-color: var(--vibrante); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--grafite); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { color: var(--muted); font-size: 17px; line-height: 27px; padding: 0 40px 24px 0; max-width: 62ch; }
.faq-item.card:hover { transform: none; }
/* Abertura suave das respostas nos navegadores que já animam altura automática; nos outros, abre na hora. */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-icon, .faq-icon::before, .faq-icon::after { transition: none; }
  .faq-item::details-content { transition: none; }
}

/* Chamada final: floresta nos dois temas, com o contato sempre legível. */
.cta { padding-block: 24px 96px; }
.cta-panel {
  --surface: var(--floresta);
  color: var(--off);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(32px, 6vw, 64px);
}
.cta-panel:hover { transform: none; box-shadow: none; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 560px; min-width: 0; }
.cta-copy p { font-size: 18px; line-height: 28px; color: var(--off); }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.cta-direct { font-size: 15px; line-height: 24px; color: var(--off); }
.cta-direct a { color: var(--off); font-variant-numeric: tabular-nums; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta-direct .phone { white-space: nowrap; }

/* Rodapé */
.site-footer { padding-block: 48px 40px; border-top: 1px solid var(--line-soft); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.site-footer .foot-logo { width: 200px; height: auto; margin-left: -14px; }
.foot-tagline { color: var(--muted); font-size: 15px; margin-top: 8px; }
.foot-place { color: var(--muted); font-size: 14px; margin-top: 4px; }
.foot-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.foot-contact a { color: var(--fg); text-decoration: none; }
.foot-contact a:hover { color: var(--accent-text); text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* O fundo sólido preserva a leitura sem suporte a blur; o vidro mantém contraste nos dois temas.
   Aceite e recusa têm a mesma área e continuam disponíveis em um clique. */
.analytics-preferences { background: none; border: 0; padding: 4px 0; color: var(--fg); font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-banner { position: fixed; z-index: 20; inset: auto 16px max(16px, env(safe-area-inset-bottom)); max-width: 640px; margin-inline: auto; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .14), inset 0 1px rgba(245, 248, 246, .08); }
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .analytics-banner { background: linear-gradient(125deg, rgba(0, 179, 126, .08), transparent 65%), rgba(20, 28, 24, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  :root[data-theme="light"] .analytics-banner { background: linear-gradient(125deg, rgba(0, 179, 126, .05), transparent 65%), rgba(255, 255, 255, .94); }
}
.analytics-banner[hidden] { display: none; }
.analytics-banner h2::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 14px; background: var(--accent-text); }
.analytics-banner h2 { font-size: 22px; line-height: 1.3; }
.analytics-banner p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.analytics-banner .analytics-note { font-size: 13px; line-height: 1.55; }
.analytics-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.analytics-actions .btn { justify-content: center; min-height: 52px; padding: 14px 16px; border: 1px solid; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.analytics-actions .btn-ghost { background: transparent; color: var(--fg); border-color: var(--muted); }
.analytics-actions .btn-primary { background: var(--vibrante); color: var(--grafite); border-color: var(--vibrante); }
.analytics-actions .btn:hover { transform: none; box-shadow: none; }
.analytics-actions .btn-ghost:hover { background: var(--bg); border-color: var(--fg); }
.analytics-actions .btn-primary:hover { background: #00c78c; border-color: #00c78c; }
.analytics-actions .btn:focus-visible, .analytics-preferences:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 480px) { .analytics-actions { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .analytics-actions .btn { transition: none; } }

/* Movimento de entrada.
   A classe .motion só é posta no <html> quando o navegador consegue animar e a pessoa não pediu para reduzir
   animações; sem ela, tudo aparece parado e completo. Os blocos com data-reveal entram de baixo, da esquerda
   ou da direita quando chegam na tela; --d atrasa irmãos em sequência. */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 16px), 0);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.motion [data-reveal="left"] { --rx: -16px; --ry: 0; }
.motion [data-reveal="right"] { --rx: 16px; --ry: 0; }
.motion [data-reveal="fade"] { --ry: 0; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Vitrine escalável: um projeto ocupa o centro enquanto as bordas sugerem que há mais para explorar. */
.projects { padding-block: 56px 112px; overflow: hidden; }
.projects .section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.projects .section-head h2 { max-width: 12ch; }
.projects .section-head p { max-width: 43ch; }
.project-carousel { position: relative; }
.project-viewport { overflow: hidden; touch-action: pan-y; }
.project-track { display: flex; gap: clamp(18px, 3vw, 40px); width: max-content; padding-inline: max(20px, calc((100vw - min(1040px, 82vw)) / 2)); transition: transform 560ms var(--ease-out); will-change: transform; }
/* Volta sem animação da cópia para o original idêntico, e durante o arraste no toque. */
.project-track.is-instant, .project-track.is-instant .project-card { transition: none; }
.project-card { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 4vw, 56px); align-items: center; width: min(1040px, 82vw); min-width: 0; padding: clamp(18px, 2.5vw, 32px); border-radius: var(--radius); background: var(--surface); opacity: .46; transform: scale(.94); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.project-card.is-current { opacity: 1; transform: scale(1); }
.project-media { position: relative; aspect-ratio: 1265 / 712; min-width: 0; overflow: hidden; border-radius: calc(var(--radius) - 2px); background: var(--bg); }
.project-media img { width: 100%; height: auto; aspect-ratio: 1265 / 712; object-fit: cover; transition: transform 260ms var(--ease-out); }
/* Prévia navegável: o site real, desenhado em 1280px e reduzido pelo script; aparece por cima da captura quando carrega. */
.project-frame { position: absolute; top: 0; left: 0; border: 0; background: #fff; transform-origin: 0 0; opacity: 0; transition: opacity 240ms var(--ease-out); }
.project-media.is-live .project-frame { opacity: 1; }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.project-copy h3 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1; letter-spacing: -.035em; }
.project-copy p { color: var(--muted); max-width: 30ch; }
.project-copy .project-kind { color: var(--fg); font-size: 15px; }
.project-copy a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; color: var(--accent-text); font-weight: 700; text-underline-offset: 6px; }
.project-copy a svg { width: 22px; height: 22px; transition: transform 160ms var(--ease-out); }
.project-copy a:focus-visible { outline-color: var(--accent-text); }
.project-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.project-status { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.project-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.project-button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--fg); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.project-button svg { width: 20px; vertical-align: middle; }
.project-button:active { transform: scale(.96); }
@media (max-width: 860px) {
  .projects { padding-block: 40px 72px; }
  .projects .section-head { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 32px; }
  .project-track { padding-inline: 20px; }
  .project-card { grid-template-columns: minmax(0, 1fr); gap: 22px; width: calc(100vw - 40px); }
  .project-media { grid-row: 1; }
  .project-copy { gap: 12px; }
  .project-copy p { max-width: 45ch; }
  .project-controls { align-items: flex-start; }
}
@media (hover: hover) and (pointer: fine) {
  .project-copy a:hover svg { transform: translate(2px, -2px); }
  .project-button:hover { background: var(--fg); color: var(--bg); }
}
@media (max-width: 480px) {
  .project-controls { flex-direction: column; gap: 14px; }
  .project-buttons { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .project-track { transition: none; }
  .project-frame { transition: none; }
  .project-card, .project-media img, .project-copy a svg { transition: none; transform: none !important; }
}

/* As âncoras respeitam o cabeçalho; teclado e toque têm retorno próprio. */
html { scroll-padding-top: 112px; }
::selection { background: var(--vibrante); color: var(--grafite); }
:focus-visible { outline-color: var(--accent-text); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 30; padding: 12px 20px; border-radius: var(--radius); background: var(--fg); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.mobile-menu { display: none; }
.btn:active { transform: scale(.97); }
@media (hover: none) { .btn-primary:hover { transform: none; box-shadow: none; } }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 4px 8px; }
  .site-header .logo { margin-right: auto; }
  .nav .btn { display: none; }
  .mobile-menu { display: block; order: 2; }
  .site-header .wrap { position: relative; flex-wrap: nowrap; }
  .nav { order: 3; }
  .mobile-menu summary { display: flex; align-items: center; min-height: 44px; padding: 10px; cursor: pointer; font-size: 15px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
.motion-controls { display: flex !important; justify-content: flex-end; margin-top: 12px; }
.motion-controls button { min-height: 44px; padding: 8px 0; color: var(--muted); background: none; border: 0; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.motion-controls button[hidden] { display: none; }
.price-prefix { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.price-amount { white-space: nowrap; }

/* Botão flutuante do WhatsApp: entra depois do topo (que já tem o próprio botão) e fica abaixo do aviso de medição.
   Verde oficial do WhatsApp, porque é o ícone que as pessoas reconhecem. */
.whatsapp-float {
  position: fixed; z-index: 15; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.whatsapp-float.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
:root:not(.js) .whatsapp-float { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } .whatsapp-float:hover { transform: none; } }

/* O tipo do projeto descreve seu objetivo, não o número de páginas. */
.projects .section-head { row-gap: 20px; }
.projects .section-head .project-explainer { grid-column: 1 / -1; max-width: 76ch; margin-top: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.project-explainer strong { color: var(--fg); font-weight: 700; }
