/* ============================================================
   White Tree Sec — Landing · estilos
   Temas claro/escuro via [data-theme] no <html>.
============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* ---- núcleo da marca (identidade oficial WTS) ---- */
  --brand:      #0A1622;   /* tinta-noite */
  --brand-2:    #1E2A37;   /* grafite */
  --accent:     #2F7A7F;   /* teal-petróleo — acento único */
  --accent-2:   #6EA6A8;   /* teal-soft */
  --accent-bright: #8FC6C4;/* teal claro p/ fundos escuros */
  --on-accent:  #06231F;   /* tinta sobre teal */
  --cyan:       #4A5A6B;   /* aço — ícones secundários */

  /* light theme (default) */
  --bg:         #FFFFFF;
  --bg-2:       #F1F4F4;
  --surface:    #FFFFFF;
  --surface-2:  #F1F4F4;
  --text:       #0A1622;
  --text-2:     #46545F;
  --muted:      #6A7883;
  --line:       rgba(10,22,34,0.14);
  --line-2:     rgba(10,22,34,0.07);
  --logo:       #0A1622;
  --btn:        #0A1622;
  --btn-ink:    #FFFFFF;
  --btn-hover:  #17293A;
  --link:       #2F7A7F;
  --shadow:     0 18px 44px rgba(10,22,34,0.10);
  --shadow-sm:  0 6px 18px rgba(10,22,34,0.08);
  --ring:       rgba(47,122,127,0.40);

  /* painéis escuros (hero, feature, bands, cta) */
  --hero-1:     #0A1622;
  --hero-2:     #123A3E;
  --hero-ink:   #F4F1EA;
  --hero-ink-2: #A9B6B4;
  --panel-1:    #0B1A26;
  --panel-2:    #123A3E;
}

html[data-theme="dark"] {
  --bg:         #070E14;
  --bg-2:       #0D161E;
  --surface:    #0E1922;
  --surface-2:  #121F2A;
  --text:       #EDF1F0;
  --text-2:     #A9B7BC;
  --muted:      #7E8D93;
  --line:       rgba(237,241,240,0.13);
  --line-2:     rgba(237,241,240,0.06);
  --logo:       #F4F1EA;
  --btn:        #2F7A7F;
  --btn-ink:    #06231F;
  --btn-hover:  #3B9195;
  --link:       #6EA6A8;
  --shadow:     0 20px 50px rgba(0,0,0,0.5);
  --shadow-sm:  0 8px 20px rgba(0,0,0,0.38);
  --ring:       rgba(110,166,168,0.5);
  --accent:     #3E9195;
  --accent-2:   #8FC6C4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--link); text-decoration: none; }
img, svg { display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }

/* ---------- reusable bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content:""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block; }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); line-height: 1.65; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head .h2 { margin: 16px 0 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 12px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--btn); color: var(--btn-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-on-dark { background: var(--accent); color: var(--on-accent); }
.btn-on-dark:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--hero-ink); border-color: rgba(234,243,238,0.28); }
.btn-ghost-dark:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--ring); outline-offset: 2px;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: background .3s ease, border-color .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 34px; height: 34px; color: var(--logo); }
.brand .bname { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.brand .bname span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > .btn { display: none; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .18s ease; position: relative; }
.nav a:hover { color: var(--text); }
.nav a::after { content:""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width .22s ease; }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line);
  background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.hamburger svg { width: 22px; height: 22px; margin: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 78% 12%, var(--hero-2), var(--hero-1) 60%);
  color: var(--hero-ink); padding: 150px 0 110px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, var(--hero-1) 6%, transparent 58%);
  opacity: 0.72;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--accent-2); }
.hero .eyebrow::before { background: var(--accent-2); }
.hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; letter-spacing: -0.03em; margin: 20px 0 24px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--hero-ink-2); max-width: 560px; line-height: 1.6; }
.hero .cta-row { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--hero-ink-2); font-size: 13.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-2); }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-art .halo { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-art .halo svg { width: 100%; height: 100%; max-width: 520px; opacity: 0.9; }
.hero-art .tree { position: relative; width: 300px; height: 300px; z-index: 2; }

/* ---------- POSICIONAMENTO ---------- */
.stripe { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pos-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.pos-quote { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.pos-quote em { font-style: normal; color: var(--accent); }

/* ---------- CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card .ic { width: 52px; height: 52px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card .desc { color: var(--text-2); font-size: 15.5px; margin-bottom: 20px; }
.card ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.card ul li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.card .card-cta { margin-top: auto; }
.card .card-cta a { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--brand); }
html[data-theme="dark"] .card .card-cta a { color: var(--accent-2); }
.card .card-cta a svg { width: 17px; height: 17px; transition: transform .18s ease; }
.card .card-cta a:hover svg { transform: translateX(4px); }
.card.feature { background: linear-gradient(160deg, var(--brand), var(--panel-2)); color: var(--hero-ink); border-color: transparent; }
.card.feature h3, .card.feature .desc, .card.feature ul li { color: var(--hero-ink); }
.card.feature .desc, .card.feature ul li { color: var(--hero-ink-2); }
.card.feature .ic { background: rgba(234,243,238,0.14); color: var(--accent-bright); }
.card.feature ul li svg { color: var(--accent-bright); }
.card.feature .card-cta a { color: var(--accent-bright); }

/* ---------- DIFERENCIAIS ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diff {
  display: flex; gap: 15px; align-items: flex-start; padding: 24px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.diff:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); }
.diff .dot { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); display: grid; place-items: center; }
.diff .dot svg { width: 20px; height: 20px; }
.diff p { font-size: 15px; font-weight: 500; color: var(--text); }

/* ---------- FEATURE BANDS (Nexus / BitVote) ---------- */
.band { border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.band.nexus { background: linear-gradient(155deg, var(--panel-1), var(--panel-2)); color: var(--hero-ink); }
.band.bitvote { background: var(--surface); border: 1px solid var(--line); }
.band .eyebrow { margin-bottom: 14px; }
.band .b-title { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; max-width: 720px; }
.band.nexus .b-title { color: #fff; }
.band .b-text { max-width: 700px; margin-bottom: 40px; }
.band.nexus .b-text { color: var(--hero-ink-2); }
.band.bitvote .b-text { color: var(--text-2); }

/* stepper */
.stepper { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; margin-top: 8px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.step .node {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  background: rgba(234,243,238,0.08); border: 1.5px solid rgba(110,166,168,0.5); color: var(--accent-bright); z-index: 2;
}
.step .lbl { margin-top: 14px; font-size: 12.5px; color: var(--hero-ink-2); line-height: 1.3; font-weight: 500; }
.step:not(:last-child)::after {
  content:""; position: absolute; top: 23px; left: 50%; width: 100%; height: 1.5px;
  background: linear-gradient(90deg, rgba(110,166,168,0.5), rgba(110,166,168,0.25)); z-index: 1;
}
.step:hover .node { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 40px; background: var(--bg-2);
  font-size: 14.5px; font-weight: 500; color: var(--text); transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip .cd { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- PARA QUEM ---------- */
.who-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.who {
  padding: 28px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.who:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.who .ic { width: 44px; height: 44px; border-radius: 11px; background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan); display: grid; place-items: center; margin-bottom: 18px; }
.who .ic svg { width: 22px; height: 22px; }
.who p { font-size: 14.5px; color: var(--text-2); line-height: 1.45; font-weight: 500; }

/* ---------- CONFIANÇA ---------- */
.trust-band { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pull {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 500;
  line-height: 1.2; letter-spacing: -0.02em; padding-left: 28px; border-left: 3px solid var(--accent);
}
.pull em { font-style: normal; color: var(--accent); }

/* ---------- CONTATO ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.contact-info .h2 { margin: 16px 0 18px; }
.contact-info ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-info ul li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.contact-info ul li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 15px; border-radius: 11px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); outline: none; }
.field.valid input, .field.valid select, .field.valid textarea { border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d0554e; }
.field .err { font-size: 12.5px; color: #d0554e; margin-top: 7px; display: none; }
.field.invalid .err { display: block; }
.form .btn-primary { width: 100%; margin-top: 6px; }
.form .btn-primary .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
html[data-theme="dark"] .form .btn-primary .spinner { border-color: rgba(5,32,24,0.4); border-top-color: var(--on-accent); }
.form.loading .btn-primary .spinner { display: block; }
.form.loading .btn-primary .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ok-ic { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .ok-ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--text-2); }
.form.sent .form-fields { display: none; }

/* ---------- CTA FINAL ---------- */
.cta-final { background: radial-gradient(120% 140% at 20% 10%, var(--panel-2), var(--panel-1) 65%); color: var(--hero-ink); border-radius: 26px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; max-width: 760px; margin-inline: auto; }
.cta-final p { color: var(--hero-ink-2); max-width: 620px; margin: 0 auto 36px; }
.cta-final .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-final .art { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: 0.12; color: var(--accent-bright); }

/* ---------- FOOTER ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: 18px; }
.footer .f-about { color: var(--text-2); font-size: 14.5px; max-width: 320px; }
.footer .f-social { display: flex; gap: 12px; margin-top: 22px; }
.footer .f-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: color .2s, border-color .2s; }
.footer .f-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer .f-social svg { width: 18px; height: 18px; }
.footer .f-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer .f-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer .f-col ul li a { color: var(--text-2); font-size: 14.5px; }
.footer .f-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav, .header-actions .btn { display: none; }
  .hamburger { display: grid; place-items: center; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 16px 4vw 24px;
  }
  .nav.open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav.open a::after { display: none; }
  .nav.open .btn { display: inline-flex; margin-top: 12px; width: 100%; }
  .nav.open > .btn { display: inline-flex; }
  .hero-grid, .pos-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 320px; order: -1; }
  .cards { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: repeat(4, 1fr); gap: 26px 0; }
  .step:nth-child(4)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .band { padding: 40px 28px; }
  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .diff-grid, .who-grid, .form-row { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .step:nth-child(2)::after, .step:nth-child(4)::after, .step:nth-child(6)::after { display: none; }
  .cta-final, .form { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 84px; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.js-reveal [data-rev] {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1),
              transform 0.8s cubic-bezier(.22,.61,.36,1),
              filter 0.8s ease;
  will-change: opacity, transform, filter;
}
.js-reveal [data-rev="up"]    { transform: translateY(42px); }
.js-reveal [data-rev="left"]  { transform: translateX(-54px); }
.js-reveal [data-rev="right"] { transform: translateX(54px); }
.js-reveal [data-rev="scale"] { transform: translateY(32px) scale(0.93); }
.js-reveal [data-rev].is-vis  { opacity: 1; transform: none; filter: none; }
@media print { .js-reveal [data-rev] { opacity: 1 !important; filter: none !important; transform: none !important; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}

/* Estado de erro do formulário de contato (fallback quando o envio falha) */
.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(200, 66, 66, 0.10);
  border: 1px solid rgba(200, 66, 66, 0.35);
  color: #c84242;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Enriquecimento de scroll ---------- */
/* trava scroll horizontal que os reveals laterais poderiam causar (não quebra sticky) */
body { overflow-x: clip; }

/* Stepper: as linhas entre etapas "preenchem" ao entrar na viewport */
.js-reveal .stepper .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left center; }
.stepper.is-in .step:not(:last-child)::after {
  transform: scaleX(1);
  transition: transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.stepper.is-in .step:nth-child(1)::after { transition-delay: 0.05s; }
.stepper.is-in .step:nth-child(2)::after { transition-delay: 0.12s; }
.stepper.is-in .step:nth-child(3)::after { transition-delay: 0.19s; }
.stepper.is-in .step:nth-child(4)::after { transition-delay: 0.26s; }
.stepper.is-in .step:nth-child(5)::after { transition-delay: 0.33s; }
.stepper.is-in .step:nth-child(6)::after { transition-delay: 0.40s; }
.stepper.is-in .step:nth-child(7)::after { transition-delay: 0.47s; }

/* Barra de progresso de leitura (topo) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 9999; pointer-events: none;
}

/* Micro-interações nos cards de soluções (o tilt 3D é aplicado via JS) */
.cards > .card { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.cards > .card .ic { transition: transform 0.35s cubic-bezier(.34,1.56,.64,1); }
.cards > .card:hover {
  border-color: rgba(110,166,168,0.55);
  box-shadow: 0 18px 42px rgba(0,0,0,0.16), 0 0 0 1px rgba(110,166,168,0.22);
}
.cards > .card:hover .ic { transform: scale(1.08) rotate(-4deg); }

/* Linha de CTAs dentro das bands (ex.: seção BitVote) */
.band .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
