/* =====================================================================
   RENDRY.DEV — Design System
   ---------------------------------------------------------------------
   Estrutura:
   01. Tokens          06. Botões
   02. Reset           07. Cards e componentes
   03. Tipografia      08. Seções do site
   04. Layout          09. Orçador (painel claro)
   05. Header/Nav      10. Utilitários, animações, impressão
   ===================================================================== */

/* ------------------------------------------------------------------
   01. TOKENS
   ------------------------------------------------------------------ */
:root {
  /* — Cores base (escuro) — */
  --ink-900: #08080A;
  --ink-850: #0C0C0F;
  --ink-800: #111116;
  --ink-700: #17171D;
  --ink-600: #1F1F27;
  --ink-500: #2A2A34;
  --ink-400: #3A3A46;

  --paper-100: #FFFFFF;
  --paper-200: #F6F6F4;
  --paper-300: #EAEAE6;
  --paper-400: #D6D6D0;

  --text-hi: #F7F7F5;
  --text-mid: #A9A9B2;
  --text-low: #6E6E7A;

  /* — Acento: dourado —
     --gold        cor principal (texto sobre escuro, fundo de botão)
     --gold-dim    versão fechada, pra borda e gradiente
     --gold-soft   brilho claro, só no gradiente do título
     --gold-glow   halo translúcido, pra sombra e fundo de destaque   */
  --gold: #E5B94E;
  --gold-dim: #C79A2E;
  --gold-soft: #F7E2B0;
  --gold-glow: rgba(229, 185, 78, .15);
  --violet: #A99BFF;

  /* — Semânticas — */
  --ok: #3FD68C;
  --warn: #FFB84D;

  /* — Superfícies — */
  --surface: var(--ink-800);
  --surface-2: var(--ink-700);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* — Tipografia fluida — */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.6rem, 7vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 4.2vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lead: clamp(1.02rem, 1.6vw, 1.22rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .78rem;

  /* — Espaçamento — */
  --gap-xs: .5rem;
  --gap-sm: .875rem;
  --gap: 1.25rem;
  --gap-lg: 2rem;
  --gap-xl: 3.25rem;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* — Formas — */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --shadow-gold: 0 0 0 1px var(--gold-dim), 0 12px 32px var(--gold-glow);

  --maxw: 1200px;
  --maxw-narrow: 780px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------------
   02. RESET
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-hi);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: #000; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------
   03. TIPOGRAFIA
   ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }

p { text-wrap: pretty; }

.lead {
  font-size: var(--fs-lead);
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}

.gold { color: var(--gold); }
.muted { color: var(--text-mid); }
.tiny { font-size: var(--fs-xs); color: var(--text-low); line-height: 1.5; }

/* Números / preços em tabular pra não "dançar" ao atualizar */
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* ------------------------------------------------------------------
   04. LAYOUT
   ------------------------------------------------------------------ */
.wrap {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2.5rem, var(--maxw-narrow)); margin-inline: auto; }

section { position: relative; }
.section { padding-block: var(--section-y); }

.section-head { margin-bottom: var(--gap-xl); max-width: 46rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 1rem; }

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.stack { display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap-sm); align-items: center; }

.divider { height: 1px; background: var(--line); border: 0; }

/* Faixa de textura sutil no fundo das seções alternadas */
.section-alt { background: var(--ink-850); border-block: 1px solid var(--line); }

/* Ícones */
.ico { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.6; }
.ico-lg { width: 26px; height: 26px; }

/* ------------------------------------------------------------------
   05. HEADER / NAV
   ------------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(8, 8, 10, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.03em;
}
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: filter .3s var(--ease), transform .3s var(--ease-out);
}
.brand:hover .brand-logo {
  transform: translateY(-1px);
  /* tinge a marca de dourado no hover, sem precisar de um segundo arquivo */
  filter: brightness(.85) sepia(1) saturate(3.2) hue-rotate(1deg);
}
.brand span { color: var(--text-low); font-weight: 500; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem;
  font-size: var(--fs-sm);
  color: var(--text-mid);
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text-hi); background: rgba(255, 255, 255, .05); }

.nav-toggle { display: none; padding: .5rem; color: var(--text-hi); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(8, 8, 10, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .85rem .5rem; font-size: 1rem; border-radius: var(--r-sm); }
  /* especificidade acima de .btn, senão o botão continua aparecendo */
  .header .header-cta { display: none; }
}

/* ------------------------------------------------------------------
   06. BOTÕES
   ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #0A0A0A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease), background .2s, filter .2s;
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--gold-glow); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-hi);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }

.btn-wa { --btn-bg: #25D366; --btn-fg: #062B14; }
.btn-wa:hover { box-shadow: 0 10px 28px rgba(37, 211, 102, .22); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .58rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ------------------------------------------------------------------
   07. CARDS E COMPONENTES
   ------------------------------------------------------------------ */
.card {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s var(--ease), transform .25s var(--ease-out), background .25s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(229, 185, 78, .12);
  color: var(--gold);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-mid); font-size: var(--fs-sm); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .7rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  color: var(--text-mid);
  border: 1px solid var(--line);
}
.badge-gold { background: var(--gold); color: #0A0A0A; border-color: transparent; }
.badge-live {
  background: rgba(63, 214, 140, .12);
  color: var(--ok);
  border-color: rgba(63, 214, 140, .25);
}
.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ok);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

/* Lista com check */
.checklist { display: grid; gap: .6rem; }
.checklist li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-mid);
  line-height: 1.5;
}
.checklist .ico { color: var(--gold); margin-top: .18em; width: 1.05em; height: 1.05em; }

/* ------------------------------------------------------------------
   08. SEÇÕES DO SITE
   ------------------------------------------------------------------ */

/* --- HERO --- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  width: 120vw; height: 90vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(229, 185, 78, .10), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-dim), var(--gold-soft) 45%, var(--gold) 70%, var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-proof div { min-width: 90px; }
.hero-proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero-proof span { font-size: var(--fs-xs); color: var(--text-low); }

/* Mockup / preço em destaque no hero */
.price-hero {
  padding: 1.9rem;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.price-hero .from { font-size: var(--fs-xs); color: var(--text-low); text-transform: uppercase; letter-spacing: .12em; }
.price-hero .value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin: .35rem 0 .2rem;
}
.price-hero .value small { font-size: .38em; color: var(--text-mid); letter-spacing: 0; }
.price-hero ul { margin: 1.4rem 0; }
.price-hero .stamp {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem;
  margin-bottom: 1.3rem;
  background: var(--gold-glow);
  border: 1px solid rgba(229, 185, 78, .30);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--gold);
  font-weight: 500;
}

/* --- BARRA DE CONFIANÇA --- */
.trustbar {
  border-block: 1px solid var(--line);
  background: var(--ink-850);
  padding-block: 1.35rem;
}
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2.2rem;
}
.trustbar li {
  display: flex; align-items: center; gap: .55rem;
  font-size: var(--fs-sm);
  color: var(--text-mid);
}
.trustbar .ico { color: var(--gold); }

/* --- COMO FUNCIONA (passos) --- */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 2.6rem; }
.step-card::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 1.4rem; left: 1.6rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-400);
}
.step-card h3 { margin-top: .6rem; }

/* --- PACOTES --- */
.pack {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
}
.pack.featured {
  border-color: var(--gold-dim);
  background: linear-gradient(175deg, rgba(229, 185, 78, .07), var(--surface) 45%);
}
.pack-tag {
  position: absolute;
  top: -11px; left: 1.8rem;
}
.pack h3 { margin-bottom: .35rem; }
.pack .pack-sub { font-size: var(--fs-sm); color: var(--text-mid); min-height: 2.8em; }
.pack .pack-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 1rem 0 .1rem;
}
.pack .pack-price small { font-size: .42em; color: var(--text-low); letter-spacing: 0; }
.pack .pack-deadline { font-size: var(--fs-xs); color: var(--text-low); margin-bottom: 1.3rem; }
.pack .checklist { margin-bottom: 1.6rem; }
.pack .btn { margin-top: auto; }

/* --- PORTFÓLIO --- */
.work {
  display: block;
  padding: 0;
  overflow: hidden;
}
/* Capa do card: screenshot real do projeto */
.work-shot {
  position: relative;
  margin: 0;
  aspect-ratio: 720 / 450;
  overflow: hidden;
  background: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.work-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease-out), filter .4s var(--ease);
  filter: saturate(.92) brightness(.9);
}
.work:hover .work-shot img { transform: scale(1.045); filter: none; }
/* véu escuro embaixo pra o texto e os selos nunca sumirem no claro */
.work-shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, .55), transparent 45%);
  pointer-events: none;
}
.work-shot .badge {
  position: absolute;
  bottom: .7rem; left: .7rem;
  z-index: 2;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(6px);
}
.work-go {
  position: absolute;
  top: .7rem; right: .7rem;
  z-index: 2;
  width: 30px; height: 30px;
  padding: 6px;
  color: var(--text-hi);
  background: rgba(8, 8, 10, .6);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.work:hover .work-go { background: var(--gold); color: #14141A; transform: translateY(-2px); }

.work-body { padding: 1.25rem 1.5rem 1.5rem; }
.work h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.work .work-url {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: var(--fs-xs);
  color: var(--text-low);
  font-family: var(--font-display);
  margin-bottom: .8rem;
}
.work p { font-size: var(--fs-sm); color: var(--text-mid); margin-bottom: 1rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.work-tags span {
  font-size: var(--fs-xs);
  padding: .2rem .55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-low);
}
.work:hover .work-url { color: var(--gold); }

/* Projetos extras: escondidos até o clique em "ver todos".
   Não levam a classe .reveal de propósito — o IntersectionObserver nunca
   dispararia num elemento display:none e eles ficariam invisíveis pra sempre. */
.work-more { display: none; }
/* Sem fill-mode e sem delay de propósito: se a animação não rodar por qualquer
   motivo, o card aparece normalmente em vez de ficar invisível ocupando espaço.
   A animação é enfeite, nunca a responsável por tornar o conteúdo visível. */
.works.show-all .work-more {
  display: block;
  animation: workIn .4s var(--ease-out);
}
/* Anima só o deslocamento, nunca a opacidade: um card parado no primeiro quadro
   fica visível 14px abaixo, e não invisível. */
@keyframes workIn { from { transform: translateY(14px); } }

/* --- STACK --- */
.stack-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stack-cell { background: var(--ink-850); padding: 1.3rem; }
.stack-cell h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.stack-cell li { font-size: var(--fs-sm); color: var(--text-mid); padding: .18rem 0; }

/* --- QUEM FAZ: duas fotos sobrepostas --- */
.sobre-topo {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .sobre-topo { grid-template-columns: 1fr; }
  .sobre-fotos { max-width: 420px; margin-inline: auto; }
}

.sobre-fotos {
  position: relative;
  margin: 0;
  /* espaço reservado pra foto menor não vazar do bloco */
  padding: 0 2.5rem 3.5rem 0;
}
.foto-grande {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.foto-pequena {
  position: absolute;
  right: 0; bottom: 0;
  width: 48%;
  border-radius: var(--r);
  /* borda da cor do fundo separa as duas fotos; o fio dourado dá o acabamento */
  border: 5px solid var(--ink-900);
  outline: 1px solid var(--gold-dim);
  outline-offset: -5px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
  will-change: transform;
}

/* --- FAIXA COM FOTO DE FUNDO --- */
.band {
  position: relative;
  /* alto o bastante pra caber a pessoa inteira sem cortar a cabeça */
  min-height: clamp(420px, 44vw, 660px);
  display: grid;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-850);
}
.band-media { position: absolute; inset: -10% 0; z-index: 0; }
.band-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* a pessoa está na parte de cima da foto: ancorar o corte no topo,
     senão o navegador corta pelo centro e come a cabeça */
  object-position: 50% 8%;
}
/* véu escuro: sem isso o texto some em cima de foto clara */
.band::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 8, 10, .93) 0%, rgba(8, 8, 10, .78) 55%, rgba(8, 8, 10, .55) 100%);
}
.band-content { position: relative; z-index: 2; max-width: 46rem; }
.band-content h2 { margin-bottom: 1rem; }

/* No celular a foto fica em pé: o véu passa a ser de cima pra baixo,
   senão o texto cai em cima do rosto e nenhum dos dois se lê. */
@media (max-width: 820px) {
  .band { min-height: clamp(480px, 96vw, 620px); align-items: end; }
  .band-media img { object-position: 64% 6%; }
  .band::after {
    background: linear-gradient(to bottom, rgba(8, 8, 10, .35) 0%, rgba(8, 8, 10, .82) 55%, rgba(8, 8, 10, .96) 100%);
  }
}

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q .ico { transition: transform .3s var(--ease); color: var(--text-low); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); color: var(--gold); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.35rem; color: var(--text-mid); font-size: var(--fs-sm); max-width: 70ch; }

/* --- CTA FINAL --- */
.cta-final {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink-700), var(--ink-850));
  border: 1px solid var(--line-strong);
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: -50% -10% auto;
  height: 140%;
  background: radial-gradient(ellipse 40% 45% at 50% 30%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final .lead { margin: 0 auto 2rem; }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; background: var(--ink-850); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-low); margin-bottom: .9rem; }
.footer li { padding: .22rem 0; }
.footer a { font-size: var(--fs-sm); color: var(--text-mid); transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.wa-float {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .38);
  transition: transform .25s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
@media print { .wa-float, .header { display: none; } }

/* ==================================================================
   09. ORÇADOR — painel claro
   ================================================================== */
.orcador-section { background: var(--ink-850); border-block: 1px solid var(--line); }

.orcador {
  --line: rgba(0, 0, 0, .1);
  --line-strong: rgba(0, 0, 0, .22);
  color: #14141A;
  background: var(--paper-200);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
}
/* Pinta a faixa escura da coluna direita até o fim do painel — a sidebar é
   sticky e só ocupa a altura da tela, então sozinha ela deixaria um vão claro. */
@media (min-width: 981px) {
  .orcador {
    background:
      linear-gradient(to right, var(--paper-200) calc(100% - 340px), #14141A calc(100% - 340px));
  }
}
@media (max-width: 980px) { .orcador { grid-template-columns: 1fr; } }

/* --- Coluna principal --- */
.orc-main { padding: clamp(1.5rem, 3.5vw, 2.5rem); min-width: 0; }

/* --- Barra de progresso --- */
.orc-progress { margin-bottom: 2rem; }
.orc-progress-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: .7rem;
}
.orc-progress-top b {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6B6B78;
}
.orc-progress-top span { font-size: var(--fs-xs); color: #8A8A95; }
.orc-bar { height: 6px; background: rgba(0, 0, 0, .09); border-radius: var(--r-pill); overflow: hidden; }
.orc-bar i {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: var(--r-pill);
  transition: width .45s var(--ease-out);
}

/* --- Trilha de etapas (desktop) --- */
.orc-steps {
  display: flex;
  gap: .3rem;
  margin-bottom: 1.9rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: .2rem;
  /* deixa claro que a trilha rola pro lado quando não cabe */
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.orc-steps::-webkit-scrollbar { display: none; }
.orc-step-dot {
  flex: none;
  display: flex; align-items: center; gap: .45rem;
  padding: .38rem .75rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #85858F;
  background: rgba(0, 0, 0, .045);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.orc-step-dot b {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: 10px;
  background: rgba(0, 0, 0, .1);
  border-radius: 50%;
}
.orc-step-dot.done { color: #1F5E33; background: rgba(63, 190, 120, .13); }
.orc-step-dot.done b { background: var(--ok); color: #fff; }
.orc-step-dot.active {
  color: #101014;
  background: #14141A;
  color: #fff;
  border-color: #14141A;
}
.orc-step-dot.active b { background: var(--gold); color: #14141A; }
.orc-step-dot[disabled] { cursor: not-allowed; opacity: .55; }
.orc-step-dot:not([disabled]) { cursor: pointer; }

/* --- Cabeçalho da etapa --- */
.orc-head { margin-bottom: 1.5rem; }
.orc-head h3 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  color: #0E0E12;
  margin-bottom: .45rem;
}
.orc-head p { color: #64646F; font-size: var(--fs-sm); max-width: 60ch; }

/* --- Opções (cards clicáveis) --- */
.opts { display: grid; gap: .7rem; }
.opts-2 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.opts-3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.opt {
  position: relative;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  width: 100%;
  padding: 1rem 1.05rem;
  text-align: left;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, .1);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s, transform .18s var(--ease-out), box-shadow .2s;
}
.opt:hover { border-color: rgba(0, 0, 0, .3); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.opt.selected {
  border-color: #14141A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 20, 26, .1), 0 8px 22px rgba(0, 0, 0, .1);
}
.opt.selected::after {
  content: '';
  position: absolute;
  top: .75rem; right: .75rem;
  width: 20px; height: 20px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
}
.opt-ico {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  background: rgba(20, 20, 26, .06);
  border-radius: 10px;
  color: #14141A;
  transition: background .2s, color .2s;
}
.opt.selected .opt-ico { background: #14141A; color: var(--gold); }
.opt-txt { min-width: 0; padding-right: 1.2rem; }
.opt-txt strong { display: block; font-size: .94rem; font-weight: 600; line-height: 1.35; color: #14141A; letter-spacing: -.01em; }
.opt-txt span { display: block; font-size: var(--fs-xs); color: #6E6E7A; line-height: 1.45; margin-top: .18rem; }
.opt-price {
  display: inline-block;
  margin-top: .45rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .16rem .5rem;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 26, .07);
  color: #14141A;
}
.opt-price.free { background: rgba(63, 190, 120, .16); color: #1B7040; }
.opt-price.consult { background: rgba(139, 124, 255, .16); color: #4B3FA8; }

/* Sugerido pelo sistema */
.opt-hint {
  position: absolute;
  top: -9px; left: .9rem;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .16rem .5rem;
  background: var(--gold);
  color: #14141A;
  border-radius: var(--r-pill);
}

/* Cartão de pacote dentro do orçador */
.opt-pack { flex-direction: column; padding: 1.2rem; }
.opt-pack .opt-pack-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; width: 100%; }
.opt-pack .opt-pack-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #14141A;
  white-space: nowrap;
}
.opt-pack ul { margin-top: .7rem; display: grid; gap: .3rem; }
.opt-pack ul li {
  font-size: var(--fs-xs);
  color: #63636E;
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.opt-pack ul li::before {
  content: '';
  position: absolute; left: 0; top: .48em;
  width: 5px; height: 5px;
  background: var(--gold-dim);
  border-radius: 50%;
}
.opt-pack .opt-ideal {
  margin-top: .8rem; padding-top: .7rem;
  border-top: 1px dashed rgba(0, 0, 0, .12);
  font-size: var(--fs-xs);
  color: #6E6E7A;
}

/* Grupo de extras */
.extra-group { margin-bottom: 1.6rem; }
.extra-group > h4 {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7A7A85;
  margin-bottom: .75rem;
}
.extra-group > h4 .ico { color: #14141A; width: 16px; height: 16px; }

/* Campos de formulário */
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #2A2A33;
  margin-bottom: .35rem;
}
.field label .req { color: #C0392B; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .8rem .95rem;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: var(--r-sm);
  color: #14141A;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #A0A0AA; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: #14141A;
  box-shadow: 0 0 0 3px rgba(20, 20, 26, .09);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-error { border-color: #C0392B !important; }
.field .err { display: none; font-size: var(--fs-xs); color: #C0392B; margin-top: .3rem; }
.field.has-error .err { display: block; }

/* Navegação do orçador */
.orc-nav {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .09);
}
.orc-nav .btn-back {
  --btn-bg: transparent;
  --btn-fg: #4A4A55;
  border: 1.5px solid rgba(0, 0, 0, .14);
}
.orc-nav .btn-back:hover { background: rgba(0, 0, 0, .04); box-shadow: none; }
.orc-nav .btn-next { --btn-bg: #14141A; --btn-fg: #fff; margin-left: auto; }
.orc-nav .btn-next:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.orc-nav .btn-finish { --btn-bg: #25D366; --btn-fg: #05301A; margin-left: auto; }

/* --- Coluna do resumo (sidebar) --- */
.orc-side {
  background: #14141A;
  color: var(--text-hi);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.orc-side::-webkit-scrollbar { width: 6px; }
.orc-side::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 3px; }

.orc-side h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 1.1rem;
}
.orc-total-label { font-size: var(--fs-xs); color: var(--text-low); text-transform: uppercase; letter-spacing: .1em; }
.orc-total {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: .2rem 0 .1rem;
  color: var(--gold);
}
.orc-total-sub { font-size: var(--fs-xs); color: var(--text-mid); line-height: 1.5; }

.orc-lines { margin: 1.5rem 0; display: grid; gap: .55rem; }
.orc-line {
  display: flex; justify-content: space-between; gap: .75rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--text-mid);
  animation: lineIn .3s var(--ease-out);
}
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px) } }
.orc-line span:first-child { min-width: 0; }
.orc-line b { color: var(--text-hi); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.orc-line.is-base { color: var(--text-hi); font-weight: 500; padding-bottom: .55rem; border-bottom: 1px dashed var(--ink-500); }
.orc-line.is-free b { color: var(--ok); }
.orc-line.is-consult b { color: var(--violet); }
.orc-line.is-discount b { color: var(--ok); }
.orc-empty { font-size: var(--fs-xs); color: var(--text-low); line-height: 1.6; padding: 1.2rem 0; }

.orc-side-foot { margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--ink-500); }
.orc-pay { display: grid; gap: .4rem; font-size: var(--fs-xs); color: var(--text-mid); margin-bottom: 1rem; }
.orc-pay div { display: flex; justify-content: space-between; gap: .5rem; }
.orc-pay b { color: var(--text-hi); font-weight: 500; }

.orc-deadline {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem .8rem;
  background: var(--gold-glow);
  border: 1px solid rgba(229, 185, 78, .28);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Barra fixa de total no mobile */
.orc-mobile-total {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  background: #14141A;
  border-top: 1px solid var(--ink-500);
}
.orc-mobile-total .m-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.orc-mobile-total .m-lbl { font-size: 10px; color: var(--text-low); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 980px) {
  .orc-side { display: none; }
  .orc-side.mobile-open { display: flex; }
  .orc-mobile-total { display: flex; }
  .orcador { grid-template-columns: 1fr; }
}

/* --- Tela final / resumo --- */
.orc-final { display: grid; gap: 1.25rem; }
.orc-recap {
  padding: 1.3rem;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, .1);
  border-radius: var(--r);
}
.orc-recap h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7A7A85;
  margin-bottom: .9rem;
}
.orc-recap-line {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0;
  font-size: var(--fs-sm);
  color: #3A3A45;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.orc-recap-line:last-child { border-bottom: 0; }
.orc-recap-line b { color: #14141A; white-space: nowrap; font-variant-numeric: tabular-nums; }
.orc-recap-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: .9rem; padding-top: .9rem;
  border-top: 2px solid #14141A;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #14141A;
}

.orc-success {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
}
.orc-success .ok-mark {
  width: 68px; height: 68px;
  margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  background: var(--ok);
  color: #fff;
  border-radius: 50%;
  animation: popIn .5s var(--ease-out);
}
@keyframes popIn { from { transform: scale(.4); opacity: 0 } }
.orc-success h3 { color: #0E0E12; margin-bottom: .6rem; }
.orc-success p { color: #5A5A66; max-width: 46ch; margin: 0 auto 1.6rem; font-size: var(--fs-sm); }

/* ==================================================================
   10. EFEITOS — parallax, tilt 3D e vitrine de recursos
   ================================================================== */

/* Avisa o navegador que esses elementos vão se mover: ele prepara a GPU
   e a rolagem continua lisa mesmo com várias camadas ao mesmo tempo. */
[data-parallax] { will-change: transform; }
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-color .25s var(--ease);
  will-change: transform;
}
[data-tilt]:hover { transition-duration: .08s; }

/* ------------------------------------------------------------------
   PALCO DA DEMONSTRAÇÃO — cena em camadas do Chaos Society
   A arte é 4500x2252 (2:1). O palco mantém essa proporção pra mostrar
   o quadro inteiro; no celular ele fica mais alto e a cena cresce,
   senão o castelo viraria uma tirinha no rodapé.
   ------------------------------------------------------------------ */
.fx-stage {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 1;
  min-height: 300px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, var(--ink-700), var(--ink-900));
  overflow: hidden;
  isolation: isolate;
}

/* céu: fundo de tudo, com folga pro parallax não mostrar borda */
.fx-ceu {
  position: absolute;
  left: -4%; top: -4%;
  width: 108%; height: 108%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
  pointer-events: none;
}

/* canvas virtual da composição, ancorado no chão */
.fx-cena {
  position: absolute;
  left: 50%; margin-left: -52%;
  bottom: -2%;
  width: 104%;
  aspect-ratio: 4500 / 2252;
  z-index: 2;
}

.fx-camada {
  position: absolute;
  display: block;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Posição de cada camada dentro do canvas — os números são o recorte
   medido de cada plate, devolvido ao lugar de origem.
   Ordem do fundo pra frente: lua · castelo · dragões · névoa. */
.c-lua     { left: 50.1111%; top: 3.1528%;  width: 23.3333%; height: 46.6252%; z-index: 1; }
.c-castelo { left:  5.4667%; top: 2.3535%;  width: 89.4667%; height: 97.6465%; z-index: 2; }
.c-dragoes { left:  1.0833%; top: 29.9925%; width: 97.8333%; height: 88.0075%; z-index: 4; }
/* a névoa é mais larga que o canvas de propósito: sobra dos dois lados
   pra deriva nunca revelar onde o plate termina */
.c-neblina { left: -12%;     top: 0;        width: 124%;     height: 100%;     z-index: 5; }
.c-neblina img {
  display: block; width: 100%; height: 100%;
  animation: deriva 46s ease-in-out infinite alternate;
}
@keyframes deriva { from { transform: translateX(-1.6%); } to { transform: translateX(1.6%); } }

/* Celular: cena maior, palco mais alto */
@media (max-width: 820px) {
  .fx-stage { aspect-ratio: 4 / 3; }
  .fx-cena { width: 190%; margin-left: -95%; }
}

/* conteúdo em cima de tudo */
.fx-front {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: var(--gap-lg);
  pointer-events: none;
  /* scrim: sem isto o texto branco some no céu claro e no meio da névoa */
  background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .45) 55%, transparent 78%);
}
.fx-front h3 {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  margin-bottom: .6rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .9);
}
.fx-front p {
  color: var(--text-hi);
  font-size: var(--fs-sm);
  max-width: 46ch;
  margin-inline: auto;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .95);
}
.fx-credito {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem;
  padding: .4rem .85rem;
  font-size: var(--fs-xs);
  color: var(--gold);
  background: rgba(8, 8, 10, .6);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  transition: background .25s, color .25s;
}
.fx-credito:hover { background: var(--gold); color: #14141A; }
.fx-hint {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem;
  font-size: var(--fs-xs);
  color: var(--gold);
  background: rgba(8, 8, 10, .7);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* --- Cards de recursos ---
   Colunas mais largas que o padrão: com 4 colunas os títulos quebravam
   em três linhas e o selo espremia o texto. */
.fx-grid { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.fx-card { position: relative; overflow: hidden; }
.fx-card .fx-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: var(--r-pill);
  background: rgba(229, 185, 78, .14);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}
.fx-card h3 { padding-right: 4.5rem; }
.fx-plain {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-xs);
  color: var(--text-low);
  line-height: 1.55;
}
.fx-plain b { color: var(--gold); font-weight: 600; }

/* Quem pediu menos movimento vê tudo parado e legível */
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  [data-tilt] { transform: none !important; }
}

/* ------------------------------------------------------------------
   11. UTILITÁRIOS / ANIMAÇÕES / IMPRESSÃO
   ------------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
.center { text-align: center; }
.mt-lg { margin-top: var(--gap-lg); }

/* Reveal on scroll — melhoria progressiva.
   Por padrão o conteúdo é VISÍVEL. Ele só começa escondido quando o <html>
   ganha a classe .js (colocada por um script no <head>). Assim, se o
   JavaScript falhar, for bloqueado ou der erro, a página continua legível
   em vez de ficar em branco. */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Skip link */
.skip {
  position: absolute; top: -60px; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--gold); color: #000;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

/* Impressão do orçamento */
@media print {
  body { background: #fff; color: #000; }
  .header, .hero, .trustbar, .section:not(#orcamento), .footer,
  .orc-steps, .orc-progress, .orc-nav, .orc-side, .orc-mobile-total { display: none !important; }
  .orcador { grid-template-columns: 1fr; box-shadow: none; background: #fff; }
  .orc-recap { border: 1px solid #ccc; break-inside: avoid; }
  a[href]::after { content: ''; }
}
