/* ============================================
   ARTYNC - Design Tokens & Global Styles
   ============================================ */

:root {
  /* Brand */
  --ink: #0B0F1A;
  --ink-2: #1A1F2E;
  --ink-soft: #3B4252;
  --muted: #6B7280;
  --muted-2: #9AA3B2;
  --line: #E6E8EE;
  --line-soft: #EEF0F5;
  --bg: #FFFFFF;
  --bg-soft: #FAFBFD;
  --bg-tinted: #F4F6FB;

  /* Accent — lavender/indigo gradient family from reference */
  --indigo-50:  #EEF1FF;
  --indigo-100: #DDE3FF;
  --indigo-200: #BCC6FE;
  --indigo-300: #9AA9FC;
  --indigo-400: #7C8DF7;
  --indigo-500: #6171EE;
  --indigo-600: #4B55D6;
  --indigo-700: #3A41AE;
  --lavender: #C9CFF6;
  --periwinkle: #B8C0F0;
  --whatsapp: #25D366;

  /* Type */
  --font-sans: 'Inter', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Söhne', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(11,15,26,.04), 0 2px 6px rgba(11,15,26,.04);
  --shadow-2: 0 4px 14px rgba(11,15,26,.06), 0 12px 32px rgba(11,15,26,.06);
  --shadow-glow: 0 10px 40px -10px rgba(97,113,238,.45);

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection {
  background: var(--indigo-200);
  color: var(--ink);
}

/* ============================================
   Scroll Progress
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-400), var(--indigo-600));
  width: 0%;
  transition: width .12s linear;
  box-shadow: 0 0 12px rgba(97,113,238,.5);
}

/* ============================================
   Skip Link (Acessibilidade)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 18px;
  background: var(--indigo-600);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--indigo-400);
  outline-offset: 2px;
}

/* ============================================
   Main landmark
   ============================================ */
#conteudo {
  scroll-margin-top: 80px;
}

/* ============================================
   Visually hidden (acessibilidade)
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Page skeleton (pre-React flash prevention)
   ============================================ */
.page-skeleton {
  background: #FAFBFD;
  min-height: 100vh;
}
.page-skeleton__nav {
  display: flex;
  align-items: center;
  padding: 18px 32px;
  height: 62px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

/* ============================================
   Site header landmark
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav--scrolled {
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width .3s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  transform-origin: center;
}
.nav__hamburger--open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__drawer {
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__drawer a {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s;
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover { color: var(--ink); }

.nav__backdrop {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(2px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: transform .2s var(--ease-out), box-shadow .3s, background .25s, color .25s;
  position: relative;
}
.btn:active { transform: scale(.97); }


.btn--ghost {
  background: rgba(255,255,255,.7);
  color: var(--ink);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: #fff;
}

.btn--accent {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 50px -10px rgba(97,113,238,.6);
}

/* Pulse-ring effect */
.btn--pulse {
  position: relative;
  isolation: isolate;
}
.btn--pulse::before,
.btn--pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--indigo-500);
  z-index: -1;
  animation: pulseRing 2.4s var(--ease-out) infinite;
}
.btn--pulse::after { animation-delay: 1.2s; }
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 760px;
  padding: 96px 0 120px;
  overflow: hidden;
  isolation: isolate;
}


@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%; }
  50%      { background-position: 30% 20%, 70% 80%, 60% 40%, 100% 100%; }
}


.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}


.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink-soft));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--indigo-500));
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(0); }
  100% { transform: translateY(80px); }
}


/* ============================================
   Section common
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo-600);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--indigo-50);
  margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  max-width: 18ch;
}
.section__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--indigo-600), var(--indigo-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 56px;
  line-height: 1.5;
}
.section--tinted { background: var(--bg-tinted); }

/* ============================================
   Benefits cards
   ============================================ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
  transform-style: preserve-3d;
  isolation: isolate;
}
.bcard:hover {
  transform: translateY(-4px);
  border-color: var(--indigo-200);
  box-shadow: var(--shadow-2);
}
.bcard__visual {
  height: 180px;
  border-radius: var(--r-md);
  margin-bottom: 24px;
  background: linear-gradient(180deg, #F0F3FF 0%, #E2E8FE 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcard__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
  pointer-events: none;
}
.bcard:hover .bcard__shimmer { transform: translateX(120%); }
.bcard__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.bcard__body {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.bcard__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--indigo-300), transparent 40%, transparent 60%, var(--indigo-300));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 1;
}
.bcard:hover .bcard__glow { opacity: 1; }

/* visual flourishes inside cards */
.bvisual-flow {
  display: flex; align-items: center; gap: 8px;
}
.bvisual-flow__node {
  background: #fff; border: 1px solid #DDE3FF;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 11px; letter-spacing: .12em;
  color: var(--indigo-700); font-weight: 600;
  box-shadow: 0 4px 12px rgba(97,113,238,.1);
}
.bvisual-flow__node--center {
  background: linear-gradient(135deg, var(--indigo-400), var(--indigo-600));
  color: #fff; border-color: transparent;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
}
.bvisual-flow__line {
  width: 24px; height: 1px; background: var(--indigo-300);
}
.bvisual-bars {
  display: flex; align-items: flex-end; gap: 12px; height: 100%;
  padding: 28px 0;
}
.bvisual-bars__bar {
  width: 36px;
  background: linear-gradient(180deg, var(--indigo-300), var(--indigo-500));
  border-radius: 6px 6px 0 0;
  position: relative;
}
.bvisual-bars__label {
  position: absolute;
  top: -22px; left: 50%; transform: translateX(-50%);
  background: var(--indigo-600);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-weight: 600;
}
.bvisual-slider {
  width: 75%;
  height: 38px;
  background: rgba(255,255,255,.85);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.bvisual-slider__track {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--indigo-400), var(--indigo-600));
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
  position: relative;
}
.bvisual-slider__thumb {
  width: 28px; height: 28px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.bvisual-slider__pill {
  position: absolute;
  top: -32px; right: 0;
  background: var(--indigo-600);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.bvisual-api {
  display: flex; flex-direction: column; gap: 6px; width: 78%;
}
.bvisual-api__row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: var(--r-sm);
  padding: 8px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  border: 1px solid var(--line);
}
.bvisual-api__row--active {
  background: linear-gradient(135deg, #fff, var(--indigo-50));
  border-color: var(--indigo-300);
  box-shadow: 0 2px 12px rgba(97,113,238,.15);
}
.bvisual-api__verb {
  font-size: 9px; padding: 2px 6px; border-radius: 4px;
  background: var(--indigo-100); color: var(--indigo-700);
  font-weight: 700; letter-spacing: .05em;
}
.bvisual-api__verb--active {
  background: var(--indigo-500); color: #fff;
}
.bvisual-team {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.bvisual-team__hub {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo-400), var(--indigo-600));
  position: relative;
}
.bvisual-team__people {
  display: flex; gap: 6px;
}
.bvisual-team__people > div {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-200), var(--indigo-400));
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.bvisual-team__person--1 { background: linear-gradient(135deg, #C9CFF6, #6171EE); }
.bvisual-team__person--2 { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.bvisual-team__person--3 { background: linear-gradient(135deg, #34D399, #059669); }
.bvisual-team__person--4 { background: linear-gradient(135deg, #F472B6, #BE185D); }

.bvisual-scale { display: flex; align-items: center; gap: 12px; }
.bvisual-scale__box {
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-weight: 700;
}
.bvisual-scale__box--v1 { width: 40px; height: 40px; font-size: 11px; color: #3A41AE; background: #fff; border: 1px solid #DDE3FF; }
.bvisual-scale__box--v2 { width: 56px; height: 56px; font-size: 13px; color: #fff; border-radius: 10px; background: linear-gradient(135deg, #7C8DF7, #3A41AE); }
.bvisual-scale__box--v3 { width: 72px; height: 72px; font-size: 16px; color: #fff; border-radius: 12px; background: linear-gradient(135deg, #4B55D6, #1A1F4E); }

/* ============================================
   How it works (timeline)
   ============================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  margin-top: 24px;
}
.timeline__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline__rail-line {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--line);
  height: calc(100% - 64px);
  overflow: hidden;
}
.timeline__rail-fill {
  position: absolute;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--indigo-400), var(--indigo-600));
  height: 0%;
  transition: height .4s linear;
}
.timeline__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.timeline__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline__node {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
  transition: all .5s var(--ease-out);
}
.timeline__step.is-visible .timeline__node {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(97,113,238,.12);
}
.timeline__body {
  padding-top: 6px;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.timeline__desc {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 0 18px;
  line-height: 1.55;
}
.timeline__chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.timeline__chip {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--indigo-50);
  color: var(--indigo-700);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s;
}
.faq__btn:hover { color: var(--indigo-600); }
.faq__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .35s var(--ease-out), background .25s, border-color .25s, color .25s;
  color: var(--ink-soft);
}
.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.faq__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease-out);
}
.faq__panel-inner {
  padding: 0 4px 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 64ch;
}

/* ============================================
   Final CTA
   ============================================ */
.fcta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  isolation: isolate;
}
.fcta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(123,141,247,.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(97,113,238,.5) 0%, transparent 70%),
    linear-gradient(135deg, #1A1F4E 0%, #0B0F1A 60%, #1A1F4E 100%);
  background-size: 200% 200%;
  animation: gradientShift 16s ease-in-out infinite;
}
.fcta__noise {
  position: absolute; inset: 0; z-index: -1;
  opacity: .15;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.fcta__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  color: #fff;
  position: relative;
}
.fcta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.fcta__title em {
  font-style: italic;
  color: var(--indigo-200);
}
.fcta__sub {
  color: rgba(255,255,255,.7);
  font-size: 18px;
  margin: 0 0 40px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.fcta__btn {
  background: #fff;
  color: var(--ink);
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--r-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: transform .25s var(--ease-out), box-shadow .3s;
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
}
.fcta__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 60px -10px rgba(255,255,255,.4);
}
.fcta__btn::before,
.fcta__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid #fff;
  z-index: -1;
  animation: pulseRing 2.4s var(--ease-out) infinite;
}
.fcta__btn::after { animation-delay: 1.2s; }
.fcta__assure {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.fcta__assure span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand img { height: 28px; margin-bottom: 16px; }
.footer__tag { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer__col h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a:hover { color: var(--indigo-600); }
.footer__social { display: inline-flex; align-items: center; gap: 6px; }
.footer__social svg { flex-shrink: 0; }
.footer__bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   Floating WhatsApp CTA
   ============================================ */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab__bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: var(--shadow-2);
  max-width: 240px;
  position: relative;
  animation: bubbleIn .5s var(--ease-out);
}
.fab__bubble strong { display: block; font-weight: 600; margin-bottom: 2px; }
.fab__bubble::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: -6px;
  width: 12px; height: 12px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.fab__close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fab__btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,.5);
  cursor: pointer;
  position: relative;
  transition: transform .2s var(--ease-out);
  text-decoration: none;
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn::before,
.fab__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulseRing 2s var(--ease-out) infinite;
}
.fab__btn::after { animation-delay: 1s; }

/* ============================================
   Exit Intent Popup
   ============================================ */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11,15,26,.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .25s var(--ease-out);
}
.exit-modal {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: popIn .35s var(--ease-out);
  box-shadow: 0 30px 80px rgba(11,15,26,.3);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.exit-modal__pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.exit-modal__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.exit-modal__title em {
  font-style: italic;
  color: var(--indigo-600);
}
.exit-modal__sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.exit-modal__form {
  display: flex; gap: 8px;
}
.exit-modal__input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.exit-modal__input:focus { border-color: var(--indigo-400); }
.exit-modal__assure {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   Reveal animation (intersection observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }
.reveal--delay-5 { transition-delay: .4s; }
.reveal--delay-6 { transition-delay: .48s; }


/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta-btn { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .timeline { grid-template-columns: 48px 1fr; gap: 20px; }
  .timeline__step { grid-template-columns: 48px 1fr; gap: 20px; }
  .timeline__node { width: 48px; height: 48px; font-size: 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ============================================
   Print (A4 portrait) — usado por Ctrl+P e por ?print=1
   ============================================ */
@media print {
  @page { size: A4 portrait; margin: 0; }

  html, body {
    background: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .scroll-progress, .fab, .exit-overlay, .nav, [class*="tweaks"] { display: none !important; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .timeline__step { opacity: 1 !important; transform: none !important; }
  .timeline__rail-fill { height: 100% !important; }
  .is-visible, .timeline__step.is-visible { opacity: 1 !important; transform: none !important; }

  section { break-inside: avoid; page-break-inside: avoid; }
  .hero, .section, .fcta, .footer { break-after: page; page-break-after: page; }
  .footer { break-after: auto; }

  .hero { padding: 60px 0 80px !important; min-height: auto !important; }
  body { padding-top: 0 !important; }
  .section { padding: 60px 0 !important; }
  .fcta { padding: 80px 0 !important; }
}
