/* ==========================================================================
   PeruzzoDev — estilos da landing page

   Efeitos de rolagem: o JS escreve --p (0 → 1) em cada elemento [data-scene]
   e o CSS usa esse valor. A classe .scenes (no <html>) só é aplicada quando
   o visitante não pediu "reduzir movimento"; sem ela tudo fica estático.
   ========================================================================== */

/* Tokens & base
   ========================================================================== */
:root {
  --ink: #111;
  --paper: #f5f5f2;
  --sans: 'Inter Tight', Arial, Helvetica, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(22px, 5vw, 80px);
  --header-h: 70px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: #aaa; color: #fff; }

/* Utilitários
   ========================================================================== */
.skip {
  position: absolute;
  z-index: 120;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 12px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 1480px);
  margin: auto;
  min-width: 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 700;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.row > span:last-child,
.story-top > span:last-child { white-space: nowrap; }

.sec-title {
  font-size: clamp(52px, 8vw, 120px);
  letter-spacing: -.055em;
  font-weight: 500;
  line-height: 1;
  margin: 55px 0 70px;
}

/* Botões e links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 57px;
  padding: 0 23px;
  border: 1px solid #fff;
  border-radius: 99px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, opacity .3s;
}
.btn:hover { transform: translateY(-4px); background: transparent; color: #fff; }
.btn span:last-child { font-weight: 400; font-size: 20px; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

.simple {
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-size: 12px;
  white-space: nowrap;
}

/* Barra de progresso, header e navegação
   ========================================================================== */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 2px;
  background: #fff;
  mix-blend-mode: difference;
  z-index: 102;
  pointer-events: none;
}

.header {
  height: var(--header-h);
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter);
  background: transparent;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
/* Transparente sobre o hero; ganha fundo ao rolar para fora dele (ou com o menu aberto) */
.header.is-solid,
.header.menu-open {
  background: #111d;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: #ffffff30;
}

.brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.brand span { color: #bbb; font-weight: 400; }

.header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 38px);
}
.header nav a {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header nav a:last-child {
  padding: 13px 18px;
  border: 1px solid #fffa;
  border-radius: 99px;
}
.header nav a:hover { opacity: .6; }

.toggle {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.dots {
  position: fixed;
  top: 50%;
  right: 19px;
  z-index: 90;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
  color: #fff;
  mix-blend-mode: difference;
}
.dots a { width: 22px; height: 22px; display: grid; place-items: center; }
.dots i {
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: .3s;
}
.dots a.active i { width: 10px; height: 10px; background: currentColor; }

/* Hero
   ========================================================================== */
.hero-scene { position: relative; }

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 125px 0 86px;
  background: #101010;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: #161616 url('https://images.pexels.com/photos/30096225/pexels-photo-30096225/free-photo-of-modern-architectural-abstract-with-geometric-patterns.jpeg?auto=compress&cs=tinysrgb&w=1800') 70% center / cover no-repeat;
  filter: grayscale(1) contrast(1.13);
  transform: scale(1.06);
  will-change: transform;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #080808e8 0%, #080808b0 40%, #08080840 100%),
    linear-gradient(0deg, #080808bf, transparent 50%);
}

.hero .wrap { position: relative; }
.hero-content { transform-origin: 15% 55%; }
.hero-kicker { color: #ddd; display: flex; align-items: center; gap: 13px; }

.signal {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fff3;
  animation: pulse 2.2s infinite;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(60px, 10vw, 158px);
  letter-spacing: -.06em;
  line-height: .91;
  max-width: 100%;
  margin: clamp(60px, 9vh, 100px) 0 70px;
  text-shadow: 0 15px 50px #0007;
}
.hero h1 .line2 { display: block; padding-left: clamp(0px, 7vw, 105px); }

.hero-foot {
  border-top: 1px solid #ffffff80;
  padding-top: 27px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.hero-foot p {
  max-width: 440px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: #e2e2e2;
  margin: 0;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
}

.scroll-mark {
  position: absolute;
  bottom: 26px;
  right: var(--gutter);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #ddd;
}

/* Ao rolar para fora do hero: conteúdo sobe mais devagar e some, foto aproxima */
.scenes .hero-content {
  transform: translate3d(0, calc(var(--p, 0) * 22vh), 0);
  opacity: clamp(0, calc(1 - var(--p, 0) * 1.7), 1);
}
.scenes .hero-image { transform: scale(calc(1.06 + var(--p, 0) * .14)); }
.scenes .scroll-mark { opacity: calc(1 - var(--p, 0) * 4); }

/* Visão (intro) — palavras acendem com a rolagem
   ========================================================================== */
.intro { background: #ecece8; padding: clamp(100px, 13vw, 190px) 0; }
.intro h2 {
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 102px);
  letter-spacing: -.05em;
  line-height: 1.07;
  margin: 75px 0 38px;
}
.intro .dim { color: #999993; }
.intro .w { opacity: .12; }
.intro-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}
.intro-foot p {
  max-width: 480px;
  color: #555;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

/* Serviços — painéis com rolagem horizontal
   ========================================================================== */
.services { background: #fff; }
.services-stage { padding: 125px 0 140px; }
.services-top { margin-bottom: 55px; }

.services-track {
  display: grid;
  gap: 16px;
  width: min(calc(100% - 2 * var(--gutter)), 1480px);
  margin: auto;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-intro .sec-title { margin: 0 0 30px; }
.panel-intro p { max-width: 380px; color: #666; font-size: 16px; line-height: 1.6; margin: 0; }
.panel-hint {
  display: none;
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #999;
}

.service {
  background: #f5f5f3;
  border: 1px solid #e4e4e0;
  padding: clamp(26px, 3vw, 46px);
  transition: background .3s, border-color .3s;
}
.service:hover { background: #efefec; border-color: #d4d4cf; }

.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.panel-head small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #777; }
.panel-icon { font-size: clamp(44px, 5vw, 80px); line-height: .8; opacity: .35; }

.service h3 {
  font-size: clamp(34px, min(4.4vw, 8vh), 72px);
  letter-spacing: -.05em;
  font-weight: 500;
  line-height: 1;
  margin: clamp(16px, 4vh, 44px) 0 14px;
}
.service p { font-size: 15px; color: #666; line-height: 1.55; max-width: 460px; margin: 0 0 clamp(16px, 3vh, 30px); }
.service ul { list-style: none; margin: 0 0 clamp(20px, 3vh, 34px); padding: 0; border-top: 1px solid #d9d9d4; }
.service li {
  font-size: 14px;
  padding: clamp(9px, 1.4vh, 13px) 0;
  border-bottom: 1px solid #d9d9d4;
  display: flex;
  gap: 12px;
}
.service li::before { content: '—'; color: #aaa; }
.service .simple { align-self: start; margin-top: auto; }

.services-bar { display: none; }

@media (min-width: 761px) and (min-height: 501px) {
  .services-track { grid-template-columns: repeat(2, 1fr); }

  .scenes .services { height: 320svh; } /* ajustado pelo JS conforme a largura */
  .scenes .services-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 38px) 0 34px;
  }
  .scenes .services-top { margin-bottom: clamp(20px, 4vh, 40px); }
  .scenes .services-track {
    display: flex;
    gap: 20px;
    width: max-content;
    margin: 0;
    padding: 0 var(--gutter);
    flex: 1;
    min-height: 0;
    align-items: center;
    transform: translate3d(calc(var(--p, 0) * var(--travel, 0px) * -1), 0, 0);
    will-change: transform;
  }
  .scenes .panel { width: min(60vw, 700px); flex: none; }
  .scenes .service { height: min(100%, 680px); }
  .scenes .panel-intro { align-self: stretch; }
  .scenes .panel-intro { width: min(44vw, 600px); padding-right: 40px; }
  .scenes .panel-hint { display: block; }

  .scenes .services-bar {
    display: block;
    width: min(calc(100% - 2 * var(--gutter)), 1480px);
    margin: 24px auto 0;
    height: 1px;
    background: #e0e0dc;
  }
  .scenes .services-bar i {
    display: block;
    height: 100%;
    width: calc(var(--p, 0) * 100%);
    background: #111;
  }
}

/* Experiência (seção sticky com rolagem)
   ========================================================================== */
.story { height: 365svh; background: #111; color: #fff; position: relative; }

.story-stage {
  height: 100svh;
  min-height: 560px;
  position: sticky;
  top: 0;
  overflow: hidden;
  isolation: isolate;
  background: #171717;
  display: grid;
  place-items: center;
}

.story-bg {
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: url('https://images.pexels.com/photos/4164418/pexels-photo-4164418.jpeg?auto=compress&cs=tinysrgb&w=1400') center / cover no-repeat;
  filter: grayscale(1);
  opacity: .19;
  transform: scale(calc(1.08 + var(--scene-progress, 0) * .17));
}

.story-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at center, #16161688, #090909ed 82%);
}

.story-top {
  position: absolute;
  top: clamp(105px, 12vh, 140px);
  left: var(--gutter);
  right: var(--gutter);
  color: #bbb;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.story-bar {
  position: absolute;
  top: var(--header-h);
  left: 0;
  height: 2px;
  width: calc(var(--scene-progress, 0) * 100%);
  background: #fff;
}

.story-inner {
  width: min(calc(100% - 2 * var(--gutter)), 1480px);
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.beats { width: 49%; height: 370px; position: relative; }

.beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  filter: blur(9px);
  transform: translateY(28px);
  pointer-events: none;
}
.beat:first-child { opacity: 1; filter: none; transform: none; }
.beat small { color: #aaa; letter-spacing: .17em; font-size: 11px; text-transform: uppercase; }
.beat h2 {
  font-weight: 500;
  font-size: clamp(50px, 6.5vw, 100px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 22px 0;
}
.beat p {
  max-width: 435px;
  color: #ccc;
  line-height: 1.55;
  font-size: clamp(15px, 1.3vw, 18px);
  margin: 0;
}

.stage-art { width: 43%; height: min(44vw, 510px); min-height: 325px; perspective: 1000px; }

.device {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 8px solid #303030;
  border-radius: 15px;
  box-shadow: 0 30px 90px #000b;
  background: #f5f5f2;
  color: #111;
  transform: perspective(1100px) rotateY(-11deg) rotateX(4deg) scale(calc(.88 + var(--scene-progress, 0) * .12));
  will-change: transform;
}
.device::before {
  content: '';
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: #161616;
}

.screen {
  position: absolute;
  inset: 22px 0 0;
  opacity: 0;
  filter: blur(9px);
  transform: scale(1.04);
  overflow: hidden;
}
.screen:first-child { opacity: 1; filter: none; transform: none; }

/* Tela A — landing page */
.screen-a {
  background: #f7f7f4;
  padding: 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.screen-a small,
.screen-c small { font-size: 9px; letter-spacing: .15em; }
.screen-a strong {
  font-size: clamp(30px, 4vw, 68px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .94;
  position: relative;
  z-index: 2;
}
.screen-a em { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }

.sphere {
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  right: 5%;
  bottom: -15%;
  background: radial-gradient(circle at 30% 24%, #fff, #b3b3b3 27%, #222 63%, #090909 78%);
  border-radius: 50%;
}

/* Tela B — sistema / ERP */
.screen-b { background: #1d1d1d; color: #fff; padding: 9%; }
.screen-b small { font-size: 9px; letter-spacing: .15em; color: #aaa; }
.screen-b h3 {
  font-size: clamp(20px, 2.7vw, 40px);
  font-weight: 400;
  letter-spacing: -.04em;
  margin: 22px 0;
}

.metrics { display: flex; gap: 10px; }
.metrics div { border: 1px solid #555; padding: 12px; flex: 1; font-size: 22px; }
.metrics span { display: block; font-size: 9px; color: #aaa; margin-bottom: 8px; }

.bars {
  display: flex;
  align-items: end;
  gap: 3%;
  height: 30%;
  border-bottom: 1px solid #777;
  margin-top: 28px;
}
.bars i { flex: 1; height: var(--h); background: #ddd; }
.bars i:nth-child(even) { opacity: .4; }

/* Tela C — e-commerce */
.screen-c { display: grid; grid-template-columns: 1fr 1fr; background: #eaeae8; }

.product {
  position: relative;
  background: radial-gradient(ellipse at 45% 30%, #fff, #aaa 46%, #222 80%);
}
.product::after {
  content: '';
  position: absolute;
  width: 48%;
  height: 58%;
  top: 23%;
  left: 27%;
  border-radius: 43% 43% 7% 7%;
  background: linear-gradient(110deg, #111, #888 42%, #111 76%);
  box-shadow: 10px 15px 25px #0007;
}

.screen-c .copy {
  padding: 13%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.screen-c strong {
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.screen-c .copy span { font-size: 9px; padding: 12px; background: #111; color: #fff; }

.story-foot {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Sobre
   ========================================================================== */
.about { background: #eeeeeb; padding: 130px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.portrait {
  height: min(70vw, 750px);
  min-height: 540px;
  position: relative;
  background: #aaa;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.scenes .portrait img {
  transform: translate3d(0, calc((var(--p, .5) - .5) * -10%), 0) scale(1.12);
  will-change: transform;
}

.portrait-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 13px 15px;
  background: #111a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about h2 {
  font-size: clamp(53px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 500;
  margin: 55px 0 30px;
}
.about p { max-width: 530px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: #555; }

.about-foot {
  border-top: 1px solid #bbb;
  margin-top: 55px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Processo — linha do tempo
   ========================================================================== */
.process { background: #fff; padding: 125px 0 150px; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: start; }
.process-aside { position: sticky; top: calc(var(--header-h) + 60px); }
.process-lead {
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.18;
  margin: 0;
  max-width: 550px;
}

.timeline {
  --p: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 1px;
}
.timeline::before { bottom: 8px; background: #d6d6d2; }
.timeline::after { height: calc(var(--p) * (100% - 16px)); background: #111; }

.step {
  position: relative;
  padding: 0 0 clamp(48px, 10vh, 96px) 48px;
  transition: opacity .5s var(--ease);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #111;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.step span { font-size: 11px; color: #777; }
.step h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.045em; font-weight: 500; margin: 10px 0 10px; }
.step p { font-size: 15px; color: #666; line-height: 1.55; margin: 0; max-width: 420px; }

.scenes .step { opacity: .28; }
.scenes .step::before { background: #fff; border-color: #bbb; }
.scenes .step.is-active { opacity: 1; }
.scenes .step.is-active::before { background: #111; border-color: #111; box-shadow: 0 0 0 6px #1111110f; }

/* Depoimentos
   ========================================================================== */
.testimonials { background: #111; color: #fff; padding: 125px 0 140px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  margin: 0;
  background: #1d1d1d;
  border: 1px solid #2c2c2c;
  padding: clamp(26px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 320px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
}
.quote figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.quote figcaption span { color: #999; }

/* Perguntas frequentes
   ========================================================================== */
.faq { background: #ecece8; padding: 125px 0 140px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 9vw, 140px); align-items: start; }
.faq .sec-title { margin-bottom: 30px; }
.faq-note { color: #555; font-size: 15px; }
.faq-note a { color: #111; border-bottom: 1px solid #111; }

.faq-list { border-top: 1px solid #c9c9c4; margin-top: 10px; }
.faq-list details { border-bottom: 1px solid #c9c9c4; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 26px 50px 26px 0;
  font-size: clamp(19px, 1.8vw, 26px);
  letter-spacing: -.03em;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 28px;
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { opacity: .65; }
.faq-list details p { margin: -6px 0 28px; max-width: 580px; color: #555; font-size: 16px; line-height: 1.65; }

/* Contato e formulário
   ========================================================================== */
.contact { background: #111; color: #fff; padding: 125px 0 95px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 140px);
  margin-top: 65px;
}

.contact h2 {
  font-size: clamp(58px, 8vw, 120px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .97;
  margin: 0;
}
.contact h2 em { display: block; }
.contact-intro p { font-size: 17px; color: #aaa; line-height: 1.6; max-width: 400px; margin-top: 35px; }

.contact-links { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-links li[hidden] { display: none; }
.contact-links small {
  display: block;
  font-size: 10px;
  color: #888;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-links a { font-size: 18px; border-bottom: 1px solid #666; padding-bottom: 4px; }
.contact-links a:hover { border-color: #fff; }

.form { position: relative; border-top: 1px solid #555; }

.field { display: block; border-bottom: 1px solid #555; padding: 18px 0; }
.field span {
  display: block;
  font-size: 10px;
  color: #aaa;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 37px;
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 5px 0;
  color: #fff;
  background: transparent;
  font-size: 17px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #777; }
.field:focus-within { border-color: #fff; }
.field.invalid { border-color: #ff8a80; }
.field.invalid span { color: #ff8a80; }

.field select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='white'/%3E%3C/svg%3E") no-repeat right center;
}
.field option { background: #fff; color: #111; }

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 27px;
}
.form-bottom p { max-width: 240px; color: #aaa; font-size: 11px; line-height: 1.5; }
.form-bottom p a { color: #fff; border-bottom: 1px solid #888; }

.form-status {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid #555;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}
.form-status.is-success { border-color: #9be7a6; }
.form-status.is-error { border-color: #ff8a80; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Rodapé e botões flutuantes
   ========================================================================== */
.footer { background: #111; color: #fff; border-top: 1px solid #333; padding: 28px 0 40px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer small { color: #aaa; font-size: 11px; }
.footer small a { border-bottom: 1px solid #555; }
.footer .wrap > a:last-child { font-size: 11px; border-bottom: 1px solid #888; padding-bottom: 4px; }

.mobile-cta { display: none; }

.wa-float {
  position: fixed;
  z-index: 99;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border: 1px solid #111;
  border-radius: 99px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 30px #0005;
  transition: transform .35s var(--ease);
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: translateY(-3px); }

/* Animações de entrada
   ========================================================================== */
.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.motion .reveal.in { opacity: 1; transform: none; }

@keyframes pulse {
  50% { box-shadow: 0 0 0 10px #fff0; }
}

/* Páginas internas (política de privacidade, 404)
   ========================================================================== */
.page {
  min-height: 100svh;
  background: #111;
  color: #fff;
  padding: calc(var(--header-h) + 90px) 0 110px;
}
.page .eyebrow { color: #aaa; }
.page h1 {
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 40px 0 50px;
}
.page .prose { max-width: 720px; }
.page .prose h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 45px 0 12px; }
.page .prose p,
.page .prose li { color: #bbb; font-size: 16px; line-height: 1.7; }
.page .prose a { color: #fff; border-bottom: 1px solid #888; }
.page .actions { margin-top: 50px; display: flex; gap: 23px; align-items: center; flex-wrap: wrap; }

/* Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .dots { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq .sec-title { margin-bottom: 20px; }
  .form-bottom { flex-wrap: wrap; }
  .hero h1 { font-size: clamp(64px, 10vw, 115px); }
}

@media (max-width: 900px) and (min-width: 761px) and (min-height: 501px) {
  .header nav a:nth-child(5) { display: none; } /* esconde "Dúvidas" em telas médias */
}

@media (max-width: 760px), (max-height: 500px) {
  :root { --header-h: 65px; }

  .toggle { display: block; }
  .header nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #111;
    padding: 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #555;
  }
  .header nav.open { display: flex; }
  .header nav a { padding: 17px 0; }
  .header nav a:last-child { text-align: center; margin-top: 10px; }

  .hero { padding: 110px 0 100px; }
  .scroll-mark { display: none; }
  .hero h1 { font-size: clamp(55px, 12vw, 90px); margin: 72px 0 60px; }
  .hero h1 .line2 { padding-left: 0; }
  .hero-foot,
  .intro-foot { align-items: start; flex-direction: column; }
  .hero-actions { justify-content: start; }

  .intro { padding: 95px 0; }
  .intro h2 { margin: 55px 0 30px; }

  .services-stage,
  .process,
  .testimonials,
  .faq,
  .contact { padding: 90px 0 100px; }
  .sec-title { margin: 50px 0; }
  .services-top { margin-bottom: 0; }
  .panel-intro .sec-title { margin: 50px 0 20px; }
  .panel-intro { margin-bottom: 24px; }

  /* Sem animação (reduzir movimento): a experiência vira uma lista de cartões */
  html:not(.scenes) .story { height: auto; }
  html:not(.scenes) .story-stage {
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    display: block;
    padding: 95px 0 60px;
  }
  html:not(.scenes) .story-top { position: static; width: calc(100% - 44px); margin: auto auto 36px; }
  html:not(.scenes) .story-bar { display: none; }
  html:not(.scenes) .story-inner { height: auto; display: block; }
  html:not(.scenes) .beats { height: auto; width: 100%; display: grid; gap: 24px; }
  html:not(.scenes) .beat,
  html:not(.scenes) .beat:first-child {
    position: relative;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    pointer-events: auto;
    background: #252525;
    border: 1px solid #444;
    padding: 28px 24px;
  }
  html:not(.scenes) .stage-art,
  html:not(.scenes) .story-foot { display: none; }
  .beat h2 { font-size: clamp(40px, 11vw, 64px); margin: 16px 0; }
  .beat p { font-size: 15px; }

  /* Com animação: tela presa, ilustração em cima e textos trocando embaixo */
  .scenes .story { height: 340svh; }
  .scenes .story-stage { min-height: 0; display: block; }
  .scenes .story-top { top: calc(var(--header-h) + 18px); left: 22px; right: 22px; }
  .scenes .story-inner {
    width: calc(100% - 44px);
    margin: auto;
    flex-direction: column-reverse;
    justify-content: safe center;
    gap: 26px;
    padding: calc(var(--header-h) + 50px) 0 56px;
  }
  .scenes .stage-art { width: min(100%, 420px); height: 32svh; min-height: 0; flex: none; }
  .scenes .device { border-width: 6px; transform: perspective(900px) rotateX(6deg) scale(calc(.9 + var(--scene-progress, 0) * .1)); }
  .scenes .beats { width: 100%; height: 36svh; min-height: 250px; flex: none; }
  .scenes .beat { justify-content: flex-start; }
  .scenes .story-foot { left: 22px; right: 22px; bottom: 22px; }
  .story-foot .hide-sm { display: none; }
  .story-top > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Serviços: cartões em tela cheia que se empilham ao rolar
     (bloco comum, não grid: no grid o sticky fica preso à própria célula) */
  .scenes .services-track { display: block; }
  .scenes .service {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    min-height: min(76svh, 640px);
    margin-bottom: 18px;
    transform-origin: 50% 0;
    transform: scale(var(--stack-scale, 1));
    filter: brightness(var(--stack-light, 1));
    box-shadow: 0 -10px 40px #0000000d;
  }

  .about { padding: 90px 0 100px; }
  .portrait { height: 115vw; min-height: 0; max-height: 680px; }
  .about h2 { margin: 32px 0; }
  .about-foot { flex-direction: column; gap: 8px; }
  .about-grid,
  .process-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .process-aside { position: static; }
  .process-grid { gap: 50px; }
  .quotes { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
  .contact-grid { margin-top: 55px; }

  .footer { padding-bottom: 96px; }
  .footer .wrap { flex-wrap: wrap; }

  .mobile-cta {
    display: inline-flex;
    position: fixed;
    z-index: 99;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 22px;
    border: 1px solid #111;
    border-radius: 99px;
    background: #fff;
    color: #111;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 30px #0006;
  }
  .mobile-cta { bottom: calc(16px + env(safe-area-inset-bottom)); transition: opacity .3s, visibility .3s; }
  .mobile-cta.hidden { opacity: 0; visibility: hidden; }
  .has-wa .mobile-cta { left: 16px; transform: none; }

  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }

  .page { padding: calc(var(--header-h) + 60px) 0 90px; }
  .page-header nav {
    display: flex;
    position: static;
    padding: 0;
    background: none;
    border: 0;
  }
  .page-header nav a:last-child { margin-top: 0; padding: 11px 16px; }
}

/* Celulares baixos (ex.: iPhone SE): ilustração e textos menores na experiência */
@media (max-width: 760px) and (max-height: 700px) {
  .scenes .story-inner { gap: 18px; padding-top: calc(var(--header-h) + 44px); padding-bottom: 48px; }
  .scenes .stage-art { height: 25svh; }
  .scenes .beats { min-height: 215px; }
  .scenes .beat h2 { font-size: clamp(34px, 10vw, 48px); margin: 12px 0; }
  .scenes .beat p { font-size: 14px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 13vw; }
  .hero-kicker { letter-spacing: .12em; }
  .form-bottom { flex-direction: column-reverse; align-items: stretch; }
  .form-bottom .btn { justify-content: space-between; }
  .form-bottom p { max-width: none; }
  .contact h2 { font-size: 15vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .motion .reveal { opacity: 1; transform: none; }
  .hero-image,
  .story-bg,
  .device { transform: none !important; }
}
