/* ==========================================================================
   ARS Digital — folha de estilo principal
   Tokens + componentes. Extraído dos estilos inline do export Claude Design.
   ========================================================================== */

:root {
  /* Tipografia */
  --font-display: Sora, sans-serif;
  --font-body: Inter, sans-serif;

  /* Texto sobre fundo claro */
  --ink: oklch(0.2 0.02 258);
  --ink-2: oklch(0.3 0.015 258);
  --ink-3: oklch(0.38 0.015 258);
  --ink-4: oklch(0.42 0.015 258);
  --ink-5: oklch(0.44 0.015 258);
  --muted: oklch(0.5 0.015 258);
  --muted-2: oklch(0.55 0.015 258);

  /* Marca */
  --brand: oklch(0.52 0.17 258);
  --brand-deep: oklch(0.4 0.15 258);
  --brand-ink: oklch(0.45 0.15 258);
  --accent: oklch(0.68 0.15 175);
  --accent-bright: oklch(0.75 0.14 175);
  --accent-dim: oklch(0.72 0.13 175);

  /* Fundos */
  --bg: oklch(0.98 0.006 258);
  --bg-alt: oklch(0.94 0.02 258);
  --bg-soft: oklch(0.97 0.012 258);
  --surface: #fff;

  /* Escuros */
  --dark: oklch(0.16 0.025 260);
  --dark-card: oklch(0.22 0.03 258);
  --dark-grad-a: oklch(0.22 0.09 260);
  --dark-grad-b: oklch(0.16 0.07 262);
  --nav-bg: oklch(0.2 0.08 260 / 0.92);
  --nav-border: oklch(0.32 0.09 260);
  --on-dark: oklch(0.75 0.015 258);
  --on-dark-2: oklch(0.78 0.015 258);
  --on-dark-3: oklch(0.85 0.02 258);
  --on-dark-dim: oklch(0.68 0.02 258);
  --field-border: oklch(0.4 0.06 260);

  /* Linhas */
  --step-num: oklch(0.6 0.03 258);
  --service-num: oklch(0.55 0.06 258);
  --line: oklch(0.91 0.01 258);
  --border: oklch(0.85 0.03 258);

  /* Layout */
  --wrap: 1220px;
  --radius-card: 20px;
  --radius-pill: 100px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- Tipografia */

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow--accent { color: var(--accent-dim); }

.section-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head p:not(.eyebrow) {
  font-size: 16px;
  color: var(--ink-4);
  margin: 16px 0 0;
  line-height: 1.6;
}

.link-arrow {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow--deep { color: var(--brand-deep); }

/* ------------------------------------------------------------------ Botões */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
  font-size: 16px;
  padding: 16px 28px;
  box-shadow: 0 12px 24px -8px oklch(0.55 0.15 258 / 0.6);
}

.btn--ghost {
  color: #fff;
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--field-border);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
  font-size: 15.5px;
  padding: 15px 26px;
}

.btn--nav {
  background: var(--accent);
  color: var(--dark);
  font-size: 14px;
  padding: 11px 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nav-border);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__inner > a:first-child { display: block; flex-shrink: 0; }

.site-header__logo {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
.site-nav a {
  color: var(--on-dark-3);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; }

@media (max-width: 949px) {
  .site-nav { display: none; }
}

/* Em telas estreitas o logo e o CTA somavam mais que a largura da tela e o
   botão era cortado pelo overflow-x do body. */
@media (max-width: 600px) {
  .site-header__inner { padding: 14px 18px; gap: 12px; }
  .site-header__logo { height: 30px; }
  .btn--nav { font-size: 13px; padding: 10px 15px; }
}

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  overflow: hidden;
}

/* Imagem de fundo como <img> real: entra no HTML como LCP descobrível,
   com AVIF/WebP responsivo em vez de um PNG de 605KB. */
.hero__bg {
  position: absolute;
  /* folga vertical para o parallax não descobrir as bordas */
  inset: -8% 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Em tela estreita o recorte central pegaria só o bokeh e o código sumiria.
   Ancorar à direita mantém a leitura de código-fonte no celular. */
@media (max-width: 860px) {
  .hero__bg img { object-position: 78% center; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 96px) 20px clamp(64px, 10vw, 110px);
}

.hero__card {
  max-width: 620px;
  background: oklch(0.12 0.05 262 / 0.94);
  border-radius: 20px;
  padding: clamp(28px, 6vw, 40px) clamp(22px, 6vw, 44px);
  box-shadow: 0 30px 60px -20px oklch(0.08 0.04 262 / 0.6);
}

.hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.hero__badges li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.badge--a { color: oklch(0.85 0.05 258); background: oklch(0.32 0.08 260); }
.badge--b { color: oklch(0.85 0.08 175); background: oklch(0.3 0.08 195); }
.badge--c { color: var(--on-dark-3); background: oklch(0.3 0.05 260); }

.hero__title {
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-2);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0;
}
.hero__stats dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}
.hero__stats dd {
  font-size: 13.5px;
  color: var(--on-dark-dim);
  margin: 0;
}
.hero__stats > div { min-width: 0; }

/* -------------------------------------------------------------------- Dores */

.pains {
  background: var(--bg-alt);
  padding: 90px 28px;
}
.pains__inner { max-width: 1000px; margin: 0 auto; }

.pains__title {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  margin: 0 0 48px;
  text-align: center;
  line-height: 1.25;
}

.pains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}

.pain {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 2px oklch(0.2 0.02 258 / 0.06);
}
.pain::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 8px;
  flex-shrink: 0;
}
.pain p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.pains__kicker {
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 28px;
  color: var(--ink);
}

/* ------------------------------------------------------------------- Sobre */

.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: center;
}
.about h2 { margin: 0 0 22px; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.2; }
.about p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.about p:not(.eyebrow):last-of-type { margin-bottom: 28px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 0;
}
.stat {
  background: linear-gradient(160deg, var(--dark-grad-a), var(--dark-grad-b));
  border-radius: var(--radius-card);
  padding: 28px 22px;
}
.stat dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: var(--accent-bright);
}
.stat dd {
  font-size: 13.5px;
  line-height: 1.5;
  color: oklch(0.75 0.02 258);
  margin: 8px 0 0;
}

/* ---------------------------------------------------------------- Serviços */

.services {
  background: var(--bg-alt);
  padding: 100px 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.service {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 4px 16px oklch(0.3 0.1 258 / 0.06);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--brand);
}
.service__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--service-num);
  margin: 0 0 18px;
}
.service h3 { font-size: 19px; font-weight: 700; margin: 0 0 12px; }
.service p:not(.service__num) {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-4);
  margin: 0 0 20px;
  flex-grow: 1;
}
.service a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.service a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- Para quem */

.audience {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 100px 28px;
}
.audience .section-head { margin-bottom: 56px; }

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.audience-card {
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 26px;
}
.audience-card::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--brand);
  margin-bottom: 16px;
}
.audience-card--accent::before { background: oklch(0.65 0.15 175); }
.audience-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.audience-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-5);
  margin: 0;
}

/* ------------------------------------------------------------- Depoimentos */

.testimonials {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 100px 28px;
}
.testimonial {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.testimonial blockquote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 24px;
  flex-grow: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial__name { display: block; font-weight: 700; font-size: 14.5px; }
.testimonial__role { display: block; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ Diferenciais */

.pillars {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 100px 28px;
}
.pillars > .wrap { position: relative; z-index: 1; }
.pillars__head {
  max-width: 680px;
  margin: 0 0 56px;
}
.pillars__head h2 { margin: 0 0 18px; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.25; }
.pillars__head p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark-2);
  margin: 0;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.pillar {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 24px;
}
.pillar h3 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--accent-dim);
}
.pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark);
  margin: 0;
}

.traits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.trait { padding: 22px 4px; }
.trait h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.trait p {
  font-size: 13.5px;
  line-height: 1.6;
  color: oklch(0.7 0.015 258);
  margin: 0;
}

/* ---------------------------------------------------------------- Processo */

.process {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 28px;
}
.process .section-head { margin-bottom: 60px; }

.process__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--step-num);
  width: 44px;
  flex-shrink: 0;
  margin: 0;
}
.step h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.step p:not(.step__num) {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-4);
  margin: 0;
}

.process__cta {
  text-align: center;
  margin-top: 44px;
}
.process__cta p {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 20px;
}

/* --------------------------------------------------------------------- FAQ */

.faq {
  background: var(--bg-alt);
  padding: 100px 28px;
}
.faq__inner { max-width: 780px; margin: 0 auto; }
.faq .section-head { margin-bottom: 48px; max-width: none; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
}

.faq-item__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  border-radius: 16px;
}
.faq-item__trigger h3 {
  font: inherit;
  margin: 0;
}

.faq-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid oklch(0.7 0.02 258);
  flex-shrink: 0;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: oklch(0.4 0.02 258);
}
.faq-item__icon::before {
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 1.5px;
  transform: translateX(-50%);
}
.faq-item__trigger[aria-expanded='true'] .faq-item__icon::after { display: none; }

.faq-item__trigger[aria-expanded='true'] { padding-bottom: 16px; }
.faq-item__panel { padding: 0 26px 22px; overflow: hidden; }
.faq-item__panel[hidden] { display: none; }
.faq-item__panel p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-4);
  margin: 0;
}

/* ----------------------------------------------------------------- Contato */

.contact {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: start;
}
.contact h2 { margin: 0 0 20px; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.22; }
.contact__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-4);
  margin: 0 0 28px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.contact__channel:hover { text-decoration: underline; }
.contact__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon--mail { background: oklch(0.94 0.03 258); }
.contact__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact__note {
  font-size: 13.5px;
  color: var(--muted-2);
  margin: 0;
}

.contact-form {
  background: linear-gradient(160deg, var(--dark-grad-a), var(--dark-grad-b));
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: oklch(0.75 0.02 258);
  display: block;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--field-border);
  font-size: 15px;
  font-family: var(--font-body);
  background: oklch(0.98 0.006 258 / 0.06);
  color: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: oklch(0.62 0.02 258); }

.contact-form button {
  background: var(--accent);
  color: var(--dark);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  font-family: var(--font-body);
}
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }

.form-msg {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 0;
}
.form-msg--ok { color: var(--accent-bright); }
.form-msg--err { color: oklch(0.75 0.12 30); }
.form-msg[hidden] { display: none; }

.contact-form__wa {
  text-align: center;
  color: var(--on-dark-2);
  text-decoration: underline;
  font-weight: 500;
  font-size: 13.5px;
  margin-top: 4px;
}

/* ------------------------------------------------------- WhatsApp flutuante */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 12px 28px -6px oklch(0.4 0.15 150 / 0.55);
  text-decoration: none;
  overflow: hidden;
}
.wa-float img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------------------------------ Footer */

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: 70px 28px 34px;
}
.site-footer__grid {
  max-width: var(--wrap);
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.site-footer__logo {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}
.site-footer h2 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 14px;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__legal {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid oklch(0.3 0.02 258);
  font-size: 13px;
}

/* ==========================================================================
   Camada de movimento
   Estados iniciais só existem quando o JS assume (.js-motion no <html>),
   para que a página sem JS continue completa e visível.
   ========================================================================== */

html { scroll-behavior: smooth; }

/* Compensa o header sticky ao pular por âncora */
[id] { scroll-margin-top: 92px; }

.js-motion .hero__badges,
.js-motion .hero__title,
.js-motion .hero__lead,
.js-motion .hero__actions,
.js-motion .hero__stats {
  opacity: 0;
}

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

/* Fundo animado do hero: entra por cima da imagem e faz crossfade quando o
   primeiro quadro já foi desenhado. Sem ele, a imagem é o hero. */
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero--3d .hero__scene { opacity: 1; }

/* Fundo por baixo da cena, para a imagem poder sumir sem descobrir a página */
.hero--3d {
  background: linear-gradient(165deg, oklch(0.17 0.05 262), oklch(0.13 0.045 262) 55%, oklch(0.15 0.055 258));
}

@media (prefers-reduced-motion: reduce) {
  .hero__scene, .hero__bg { transition: none; }
}

/* Aurora de fundo dos Diferenciais, fraca: amarra a identidade com o hero
   sem competir com o texto que fica por cima. */
.pillars__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.pillars--3d .pillars__scene { opacity: 0.85; }

/* Com a cena atrás, os cards deixam a montagem aparecer */
.pillars--3d .pillar {
  background: oklch(0.22 0.03 258 / 0.68);
  backdrop-filter: blur(7px);
  border: 1px solid oklch(0.4 0.03 258 / 0.5);
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}
.pillars--3d .pillar:hover {
  background: oklch(0.24 0.04 220 / 0.78);
  border-color: oklch(0.5 0.06 200 / 0.7);
}

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

/* Linha da timeline do processo, desenhada conforme o scroll */
.process__list { position: relative; }
.js-motion .process__list::before {
  content: '';
  position: absolute;
  left: 55px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(var(--line-scale, 0));
  transform-origin: 50% 0;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .read-progress { display: none; }
}
