/* =========================================================
   MAX VISTORIAS — Sua Vistoria sem Segredos
   CSS puro, sem frameworks
   ========================================================= */

:root {
  /* Cores da marca (extraídas do logo) */
  --brand: #4D3EFC;
  --brand-600: #3F31E0;
  --brand-700: #3226B8;
  --brand-2: #8C83ED;
  --brand-3: #A19DFD;
  --brand-soft: #CCCDFE;
  --brand-50: #EEEDFF;
  --bg: #F6FCFF;

  /* Neutros */
  --ink: #15123A;
  --ink-2: #4A4870;
  --ink-3: #7D7BA0;
  --line: #E3E4F5;
  --white: #FFFFFF;

  /* Escuros (seções tech) */
  --night: #0C0A26;
  --night-2: #141039;
  --night-3: #1D1850;

  /* Apoio */
  --ok: #19C39B;
  --warn: #F5A524;
  --whats: #25D366;

  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-text: linear-gradient(90deg, #6D60FF 0%, #A19DFD 55%, #7E74F5 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(21, 18, 58, .06);
  --shadow: 0 12px 40px rgba(45, 34, 160, .12);
  --shadow-lg: 0 30px 80px rgba(20, 14, 90, .28);

  --font-display: "Raleway", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s;
  white-space: nowrap;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(77, 62, 252, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { box-shadow: 0 14px 40px rgba(77, 62, 252, .5), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--brand-3); background: rgba(161,157,253,.12); }
.btn--outline { color: var(--brand); border: 1.5px solid var(--brand-soft); background: #fff; }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-50); }
.btn--light { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn--light:hover { background: var(--brand-50); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.35); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header.is-scrolled {
  background: rgba(12, 10, 38, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.2);
  --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand__icon { width: 40px; height: 40px; color: var(--brand-3); transition: transform .4s ease; }
.brand:hover .brand__icon { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: .06em; }
.brand__tag { font-size: .72rem; color: var(--brand-soft); opacity: .85; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .5rem .75rem; font-size: .92rem; font-weight: 600;
  color: rgba(255,255,255,.78); transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: .6rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: rgba(255,255,255,.08); }
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 110px;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(77,62,252,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(140,131,237,.22), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: 8%; top: 18%; z-index: -1;
  background: radial-gradient(circle, rgba(109,96,255,.45), transparent 65%); filter: blur(40px);
  animation: pulse 8s ease-in-out infinite;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(161,157,253,.12); border: 1px solid rgba(161,157,253,.3);
  font-size: .85rem; font-weight: 600; color: var(--brand-soft);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(25,195,155,.6); animation: ping 2s infinite; }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em;
  margin: 1.3rem 0 1.2rem;
}
.hero__typed { display: block; min-height: 2.2em; }
.caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--brand-3); animation: blink 1s steps(1) infinite; }
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 36rem; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust .ico { color: var(--ok); }

/* Mockup */
.hero__visual { position: relative; perspective: 1400px; }
.device {
  position: relative;
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.12), 0 0 80px rgba(109,96,255,.35);
  transform: rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s ease;
}
.device__bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #F1F1FA; border-bottom: 1px solid var(--line); }
.device__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #D8D7EE; }
.device__bar .dot:nth-child(1) { background: #FF7A7A; }
.device__bar .dot:nth-child(2) { background: #FFC857; }
.device__bar .dot:nth-child(3) { background: #3DDC97; }
.device__url { margin-left: .6rem; flex: 1; font-size: .72rem; color: var(--ink-3); background: #fff; border-radius: 6px; padding: .2rem .6rem; border: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device__body { padding: 1.2rem 1.3rem 1.3rem; }

.laudo__head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.laudo__logo { width: 38px; height: 38px; color: var(--brand); flex: none; }
.laudo__head strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.laudo__head small { color: var(--ink-3); font-size: .78rem; }
.badge { margin-left: auto; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: rgba(25,195,155,.12); color: #0F9C7B; }

.laudo__photos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1rem 0; overflow: hidden; border-radius: 10px; }
.ph { aspect-ratio: 1; border-radius: 10px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.ph span { font-size: .65rem; font-weight: 700; color: #fff; padding: .3rem .4rem; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(transparent 62%, rgba(255,255,255,.35) 62% 64%, transparent 64%),
    linear-gradient(90deg, transparent 30%, rgba(255,255,255,.25) 30% 32%, transparent 32%); }
.ph--1 { background: linear-gradient(135deg, #B9B4FF, #6D60FF); }
.ph--2 { background: linear-gradient(135deg, #CFE8FF, #7FA6F5); }
.ph--3 { background: linear-gradient(135deg, #D8F3F0, #6CC6BA); }
.ph--4 { background: linear-gradient(135deg, #E6E1FF, #9D8CF0); }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(77,62,252,.35) 85%, rgba(161,157,253,.9) 100%);
  border-bottom: 2px solid #fff; mix-blend-mode: screen;
  animation: scan 3.2s ease-in-out infinite;
}

.laudo__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; font-size: .85rem; border-bottom: 1px solid #F0F0F8;
  opacity: .25; transform: translateX(-6px); transition: opacity .4s ease, transform .4s ease;
}
.laudo__list li.is-checked { opacity: 1; transform: none; }
.laudo__list li span::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: .5rem; border-radius: 50%; font-size: .65rem; font-weight: 800; background: var(--brand-50); color: var(--brand); }
.st { font-style: normal; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; }
.st--good { background: rgba(25,195,155,.12); color: #0F9C7B; }
.st--reg { background: rgba(245,165,36,.14); color: #B8760A; }

.laudo__foot { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.progress { flex: 1; height: 8px; background: var(--brand-50); border-radius: 99px; overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .5s ease; }
.laudo__count { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.laudo__count b { color: var(--brand); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  padding: .75rem .95rem; border-radius: 14px;
  background: rgba(20, 16, 57, .78); border: 1px solid rgba(161,157,253,.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .85rem; font-family: var(--font-display); }
.float-card small { font-size: .72rem; color: var(--brand-soft); }
.float-card--qr { left: -40px; bottom: -34px; }
.float-card--shield { right: -28px; top: -34px; animation-delay: -3s; }
.float-card__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); }

.qr { width: 52px; height: 52px; background: #fff; border-radius: 8px; padding: 5px; display: grid; grid-template-columns: repeat(11, 1fr); gap: 0; }
.qr i { background: var(--ink); border-radius: 1px; }
.qr i.o { background: transparent; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.8s ease infinite; }

/* ---------- Pilares ---------- */
.pillars { position: relative; margin-top: -56px; z-index: 5; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden;
}
.pillar { display: flex; gap: .9rem; padding: 1.5rem 1.4rem; align-items: flex-start; border-right: 1px solid var(--line); transition: background .3s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--brand-50); }
.pillar__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.pillar span { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- Seções ---------- */
.section { position: relative; padding: 110px 0; }
.section--tint { background: linear-gradient(180deg, #F0F0FF 0%, var(--bg) 100%); }
.section--dark { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.015em;
  margin: .6rem 0 1rem;
}
.section__sub { color: var(--ink-2); font-size: 1.06rem; }
.section--dark .section__sub, .section--dark p { color: rgba(255,255,255,.72); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: var(--brand-3); }

.grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(161,157,253,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161,157,253,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__visual { position: relative; }
.about__logo-card {
  position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--bg) 60%, #ECEBFF 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.about__logo-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(77,62,252,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(77,62,252,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.about__logo-card img { position: relative; width: 92%; height: auto; }
.about__stamp {
  position: absolute; right: -22px; bottom: 34px;
  display: flex; align-items: center; gap: .7rem;
  background: var(--grad); color: #fff; padding: .9rem 1.2rem; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(77,62,252,.4); font-size: .85rem; line-height: 1.3;
}
.about__stamp .ico { width: 28px; height: 28px; }
.about__content > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1.4rem; }
.checklist { display: grid; gap: .75rem; margin-bottom: 2rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D3EFC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--grad); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__ico {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px;
  background: var(--brand-50); color: var(--brand); margin-bottom: 1.3rem; transition: background .35s, color .35s, transform .35s;
}
.card__ico .ico { width: 26px; height: 26px; }
.card:hover .card__ico { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .55rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card__tag { display: inline-block; margin-top: 1.2rem; font-size: .75rem; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: .3rem .75rem; border-radius: 999px; }
.card--cta { background: var(--grad); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.card--cta::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; border: 36px solid rgba(255,255,255,.1); }
.card--cta p { color: rgba(255,255,255,.85); margin-bottom: 1.4rem; }
.card--cta .btn { align-self: flex-start; }

/* ---------- Para quem ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.aud { padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.aud__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.aud h3 { font-family: var(--font-display); font-size: 1.2rem; margin: .8rem 0 .5rem; }
.aud p { color: var(--ink-2); font-size: .95rem; }
.aud::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.aud:hover::after { transform: scaleX(1); }

/* ---------- Como funciona ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.timeline::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 36px; height: 2px;
  background: linear-gradient(90deg, rgba(161,157,253,.15), rgba(161,157,253,.6), rgba(161,157,253,.15));
}
.timeline::after {
  content: ""; position: absolute; left: 12%; top: 34px; width: 80px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, transparent, #fff, transparent); filter: blur(1px);
  animation: travel 4s linear infinite;
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__ico {
  position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 1.3rem;
  display: grid; place-items: center; border-radius: 22px;
  background: var(--night-3); border: 1px solid rgba(161,157,253,.35); color: var(--brand-3);
  box-shadow: 0 0 0 8px var(--night), 0 0 40px rgba(109,96,255,.35);
  transition: transform .35s, background .35s, color .35s;
}
.step__ico .ico { width: 30px; height: 30px; }
.step:hover .step__ico { transform: translateY(-4px); background: var(--brand); color: #fff; }
.step__n { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-3); }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin: .3rem 0 .5rem; }
.step p { font-size: .92rem; }

.note {
  display: flex; align-items: center; gap: 1.1rem; margin: 3.5rem auto 0; max-width: 820px;
  padding: 1.2rem 1.5rem; border-radius: var(--radius);
  background: rgba(161,157,253,.08); border: 1px solid rgba(161,157,253,.25);
}
.note__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; }
.note p { color: rgba(255,255,255,.85); }
.note strong { color: #fff; }

/* ---------- Tecnologia ---------- */
.tech { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: center; }
.tech__content > p { color: var(--ink-2); font-size: 1.05rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.6rem; margin: 2rem 0 2.2rem; }
.feature { display: flex; gap: .9rem; }
.feature__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.feature h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: .15rem; }
.feature p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

.tech__visual { position: relative; padding: 30px 30px 40px 50px; }
.doc {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px; padding: 1.4rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.1rem;
  transform: rotate(2deg); transition: transform .5s;
}
.doc--back { position: absolute; z-index: 0; inset: 50px 70px 10px 20px; background: var(--grad); transform: rotate(-6deg); opacity: .9; box-shadow: none; border: 0; }
.tech__visual:hover .doc:not(.doc--back) { transform: rotate(0) translateY(-6px); }
.doc__head { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; margin: -1.4rem -1.4rem 0; background: var(--night-2); color: #fff; border-radius: 16px 16px 0 0; }
.doc__logo { width: 32px; height: 32px; color: var(--brand-3); }
.doc__head b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; font-size: .85rem; }
.doc__head small { font-size: .7rem; color: var(--brand-soft); }
.doc__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--brand); margin-bottom: .45rem; }
.doc__lines { display: grid; gap: .45rem; flex: 1; }
.doc__lines i { display: block; height: 8px; border-radius: 4px; background: #ECECF6; width: 100%; }
.doc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.doc__grid i { aspect-ratio: 16/10; border-radius: 6px; background: linear-gradient(135deg, #E4E2FF, #B9B4FF); }
.doc__grid i:nth-child(2n) { background: linear-gradient(135deg, #DCEBFA, #A9C3F2); }
.doc__grid i:nth-child(3n) { background: linear-gradient(135deg, #E3F4F1, #A6DCD3); }
.doc__sec--row { display: flex; gap: 1rem; align-items: center; }
.qr--doc { width: 64px; height: 64px; border: 1px solid var(--line); }
.doc__sign { display: flex; gap: 1rem; margin: .4rem 0 1rem; }
.doc__sign span { flex: 1; height: 26px; border-bottom: 1.5px solid var(--ink-3); position: relative; }
.doc__sign span::after { content: "assinatura"; position: absolute; bottom: -18px; left: 0; font-size: .62rem; color: var(--ink-3); }

/* ---------- Investimento ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1.4rem; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.price__label { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.price__value { display: flex; align-items: baseline; gap: .25rem; margin: 1rem 0 .8rem; font-family: var(--font-display); }
.price__value small { font-size: 1.2rem; font-weight: 700; color: var(--ink-2); }
.price__value span { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price__value em { font-style: normal; color: var(--ink-3); font-weight: 600; }
.price p { color: var(--ink-2); font-size: .93rem; margin-bottom: 1.6rem; flex: 1; }
.price--single p { flex: 0; }
.checklist--sm { gap: .6rem; font-size: .92rem; flex: 1; }
.vars small { line-height: 1.35; display: block; }
.price--packs { background: linear-gradient(160deg, var(--night-3) 0%, var(--night) 100%); color: #fff; border: 0; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.price--packs .price__label { color: var(--brand-3); }
.price__ribbon { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; background: var(--grad); }
.packs { margin: 1.2rem 0; display: grid; gap: .6rem; }
.packs li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(161,157,253,.2); transition: background .25s, border-color .25s; }
.packs li:hover { background: rgba(161,157,253,.14); border-color: rgba(161,157,253,.5); }
.packs li span { font-weight: 600; }
.packs li b { font-family: var(--font-display); color: var(--brand-soft); white-space: nowrap; }
.price--packs .price__foot { color: rgba(255,255,255,.7); font-size: .86rem; }

.vars { display: grid; gap: .8rem; margin-top: 1.2rem; }
.vars li { display: flex; align-items: center; gap: .8rem; padding: .9rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.vars__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; }
.vars strong { display: block; font-size: .92rem; line-height: 1.25; }
.vars small { font-size: .78rem; color: var(--ink-3); }
.vars em { margin-left: auto; font-style: normal; font-family: var(--font-display); font-weight: 800; color: var(--brand); background: var(--brand-50); padding: .3rem .6rem; border-radius: 8px; }

/* Simulador */
.sim {
  margin-top: 3rem; display: grid; grid-template-columns: 1.3fr 1fr;
  border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sim__form { padding: 2.2rem; }
.sim__form h3 { font-family: var(--font-display); font-size: 1.5rem; }
.sim__form > p { color: var(--ink-2); margin-bottom: 1.4rem; }
.field { display: block; margin-bottom: 1.3rem; }
.field__label { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem; margin-bottom: .55rem; }
.field__label output { font-family: var(--font-display); font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.field__num { display: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) var(--p, 13%), var(--brand-50) var(--p, 13%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 4px 12px rgba(77,62,252,.4); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .35rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg__btn { padding: .65rem .5rem; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.seg__btn:hover { color: var(--brand); }
.seg__btn.is-active { background: #fff; color: var(--brand); box-shadow: 0 4px 14px rgba(77,62,252,.15); }

.select, .input input, .input select, .input textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.select:focus, .input input:focus, .input select:focus, .input textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(77,62,252,.12); }
.select, .input select {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D3EFC' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center/16px no-repeat;
}

.sim__result {
  position: relative; overflow: hidden; padding: 2.2rem; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(161,157,253,.5), transparent 60%), var(--grad);
  display: flex; flex-direction: column;
}
.sim__label { font-size: .85rem; font-weight: 600; opacity: .85; letter-spacing: .04em; text-transform: uppercase; }
.sim__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; margin: .4rem 0 1.2rem; letter-spacing: -.02em; }
.sim__breakdown { display: grid; gap: .5rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); margin-bottom: 1rem; }
.sim__breakdown li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.sim__breakdown li span:first-child { opacity: .85; }
.sim__breakdown li span:last-child { font-weight: 700; white-space: nowrap; }
.sim__note { font-size: .8rem; opacity: .8; margin-bottom: 1.4rem; flex: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__intro > p { color: var(--ink-2); margin-bottom: 1.6rem; }
.accordion { display: grid; gap: .8rem; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.acc[open] { border-color: var(--brand-soft); box-shadow: var(--shadow-sm); }
.acc summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; padding-right: 3.5rem; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D3EFC' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s ease, background-color .3s;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact__info > p { font-size: 1.05rem; margin-bottom: 2rem; }
.contact__list { display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(161,157,253,.18); transition: border-color .25s, background .25s; }
.contact__list li:hover { border-color: rgba(161,157,253,.5); background: rgba(161,157,253,.08); }
.contact__list small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-3); font-weight: 700; }
.contact__list a:hover { color: var(--brand-3); }
.contact__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; }
.contact__ico--whats { background: var(--whats); }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow-lg); }
.form h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input { display: block; margin-bottom: 1rem; }
.input > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-2); }
.input textarea { resize: vertical; min-height: 110px; }
.input.is-invalid input, .input.is-invalid select { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--ink-2); margin: .4rem 0 1.3rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.consent.is-invalid { color: #E5484D; }
.form__status { margin-top: 1rem; font-size: .92rem; font-weight: 600; text-align: center; min-height: 1.4em; }
.form__status.is-ok { color: #0F9C7B; }
.form__status.is-error { color: #E5484D; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.65); padding: 2.6rem 0; border-top: 1px solid rgba(161,157,253,.12); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; }
.footer__nav a:hover { color: #fff; }
.footer__copy { width: 100%; font-size: .82rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); }

/* ---------- Flutuantes ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .25s;
}
.whats-float .ico { width: 30px; height: 30px; }
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whats); animation: ring 2.4s ease-out infinite; }
.whats-float:hover { transform: scale(1.08); }
.to-top {
  position: fixed; right: 30px; bottom: 94px; z-index: 90; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; color: var(--brand); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(25,195,155,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(25,195,155,0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.15); opacity: .6; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scan { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes travel { 0% { left: 12%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(88% - 80px); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: .5rem .5rem; font-size: .88rem; }
  .hero__inner { gap: 3rem; }
  .float-card--qr { left: -10px; }
  .float-card--shield { right: -8px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: calc(var(--header-h) + 20px) 1.5rem 2rem;
    background: rgba(12,10,38,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(161,157,253,.18);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: .9rem .6rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.2rem 0 0; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__inner, .about, .tech, .faq, .contact { grid-template-columns: 1fr; }
  .hero__inner { gap: 4rem; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .device { transform: none; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { gap: 3rem; }
  .about__visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .services, .audience { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .timeline::before, .timeline::after { display: none; }
  .tech { gap: 3rem; }
  .tech__visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .price--packs { transform: none; }
  .sim { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq, .contact { gap: 2.5rem; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .brand__icon { width: 34px; height: 34px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .66rem; }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn--block { white-space: normal; text-align: center; line-height: 1.3; }
  .float-card--qr { bottom: -56px; }
  .hero__visual { margin-bottom: 30px; }
  .float-card--shield { display: none; }
  .float-card--qr { left: 8px; bottom: -40px; }
  .laudo__photos { grid-template-columns: repeat(2, 1fr); }
  .device__url { display: none; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .services, .audience, .timeline, .features, .form__row { grid-template-columns: 1fr; }
  .about__stamp { right: 8px; bottom: 16px; }
  .seg--3 { grid-template-columns: 1fr; }
  .sim__form, .sim__result, .form { padding: 1.5rem; }
  .price { padding: 1.6rem 1.4rem; }
  .tech__visual { padding: 20px 12px 30px 24px; }
  .doc--back { inset: 36px 40px 6px 8px; }
  .whats-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 22px; bottom: 82px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
