/* ==========================================================================
   AXIS — Site institucional
   Paleta e tipografia conforme o manual de marca.
   Organização: 1) Tokens  2) Base  3) Layout  4) Componentes  5) Seções
                6) Responsivo  7) Animações
   ========================================================================== */

/* ============ 1. TOKENS ============ */
:root {
  /* Cores oficiais da marca */
  --axis-bg:         #070A10;
  --axis-bg-soft:    #0B0F16;
  --axis-blue:       #1E5FFF;
  --axis-blue-light: #7FA8FF;
  --axis-white:      #F2F5F8;
  --axis-gray:       #AAB4C0;
  --axis-gray-dark:  #8B949E;

  /* Derivados (sempre a partir das cores acima) */
  --axis-navy:       #0B1730;
  --line:            rgba(242, 245, 248, .10);
  --line-strong:     rgba(242, 245, 248, .18);
  --surface:         rgba(242, 245, 248, .035);
  --surface-hover:   rgba(242, 245, 248, .06);
  --blue-glow:       rgba(30, 95, 255, .35);

  /* Tipografia */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Ritmo */
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --radius: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  /* expo-out: acelera rápido e assenta devagar — é o que dá o "peso" de câmera */
  --ease-cine: cubic-bezier(.16, 1, .3, 1);
}

/* ============ 2. BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--axis-gray);
  background-color: var(--axis-bg);
  /* Gradiente sutil do preto para o azul-marinho no canto direito (ref. banner) */
  background-image:
    radial-gradient(1100px 800px at 88% 8%,  rgba(11, 23, 48, .95), transparent 62%),
    radial-gradient(900px 700px at 100% 45%, rgba(13, 30, 66, .70), transparent 60%),
    radial-gradient(800px 600px at 6% 92%,   rgba(11, 23, 48, .55), transparent 65%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--axis-white);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--axis-blue-light); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--axis-white); }

/* Foco visível e consistente em tudo que é interativo */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--axis-blue-light);
  outline-offset: 3px;
  border-radius: 6px;
}

svg { display: block; }

/* Ícones outline padrão */
.card__icon svg, .checklist li::before, .btn__icon, .footer__icon, .panel__pin svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon svg, .btn__icon, .footer__icon, .panel__pin svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--axis-blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============ 3. LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}
.section--soft {
  background: linear-gradient(180deg, transparent, rgba(11, 15, 22, .85) 12%, rgba(11, 15, 22, .85) 88%, transparent);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.9rem); font-weight: 700; }
.section__lead {
  margin-top: 18px;
  font-size: clamp(1rem, .96rem + .3vw, 1.15rem);
  color: var(--axis-gray);
  max-width: 62ch;
}
.section__lead--center { margin-inline: auto; }
.section__note { margin-top: 20px; color: var(--axis-white); font-weight: 600; }
.section__note--center { text-align: center; }

.section__closing {
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1rem, .96rem + .3vw, 1.1rem);
  color: var(--axis-gray);
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 32px);
}
.section__closing--left { margin-inline: 0; text-align: left; }

/* Rótulo mono da marca */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--axis-blue-light);
  margin: 0;
}
.eyebrow--on-blue { color: rgba(255, 255, 255, .85); }

/* ============ 4. COMPONENTES ============ */

/* --- Logo --- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .22em;
  color: var(--axis-white);
  text-indent: .22em;
}
.logo__tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--axis-blue-light);
  margin-top: 5px;
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary {
  background: var(--axis-blue);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--blue-glow);
}
.btn--primary:hover { background: #3A76FF; color: #fff; box-shadow: 0 14px 32px -10px var(--blue-glow); }

.btn--ghost { background: var(--surface); color: var(--axis-white); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-hover); border-color: var(--axis-blue-light); color: var(--axis-white); }

.btn--light { background: var(--axis-white); color: #0A1020; }
.btn--light:hover { background: #fff; color: #0A1020; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }

/* --- Header --- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.header.is-scrolled {
  height: 62px;
  background: rgba(7, 10, 16, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-scrolled .logo__mark { width: 26px; height: 26px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo__mark { transition: width .3s var(--ease), height .3s var(--ease); }

/* --- Navegação --- */
.nav__list { display: none; }
.nav__cta { display: none; }

.nav__link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--axis-gray);
  padding: 6px 2px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--axis-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--axis-white); }
.nav__link.is-active { color: var(--axis-white); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--axis-white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile aberto */
.nav.is-open {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: block;
  padding: 24px var(--gutter) 32px;
  background: rgba(7, 10, 16, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
  animation: navIn .25s var(--ease);
}
.nav.is-open .nav__list { display: flex; flex-direction: column; gap: 4px; }
.nav.is-open .nav__link { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.nav.is-open .nav__link::after { display: none; }
.nav.is-open .nav__cta { display: inline-flex; width: 100%; margin-top: 22px; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============ 5. SEÇÕES ============ */

/* --- Hero --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 9vw, 96px));
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 760px; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.1rem, 1.25rem + 4.3vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
}
.hero__title em {
  font-style: normal;
  color: var(--axis-blue-light);
  background: linear-gradient(100deg, var(--axis-blue-light), #BFD3FF 60%, var(--axis-blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(1.02rem, .97rem + .42vw, 1.22rem);
  color: var(--axis-gray);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Elemento gráfico: o X da marca */
.hero__visual { position: relative; display: none; }
.hero__mark {
  position: relative;
  z-index: 2;
  width: min(330px, 26vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 60px rgba(30, 95, 255, .45));
  animation: floatY 7s ease-in-out infinite;
}
.hero__glow {
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle at 50% 50%, var(--blue-glow), transparent 62%);
  filter: blur(20px);
}
.hero__ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(470px, 30vw); /* cabe no container de 960px até telas largas, sem cortar no canto */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(127, 168, 255, .22);
  border-radius: 50%;
}
@keyframes floatY {
  0%, 100% { transform: translateY(-10px); }
  50%      { transform: translateY(10px); }
}

.hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 16, .6));
  pointer-events: none;
}

/* --- Intro "Como a Axis trabalha" --- */
.intro-grid { display: grid; gap: 24px; }
.intro-grid__lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.02rem + .6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--axis-white);
  border-left: 2px solid var(--axis-blue);
  padding-left: clamp(18px, 3vw, 28px);
}
.intro-grid__text { color: var(--axis-gray); padding-left: clamp(18px, 3vw, 28px); }

/* --- Cards (diagnóstico) --- */
.cards { display: grid; gap: 14px; }
.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 95, 255, .5);
  background: var(--surface-hover);
}
.card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(30, 95, 255, .12);
  border: 1px solid rgba(30, 95, 255, .28);
  color: var(--axis-blue-light);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--axis-white);
  letter-spacing: -.01em;
}

/* --- Split (texto + visual) --- */
.split { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.split__visual { display: none; }

/* --- Checklist --- */
.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--axis-gray);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(30, 95, 255, .14);
  border: 1px solid rgba(30, 95, 255, .4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FA8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Painel decorativo (Google) --- */
.panel {
  padding: 24px;
  background: linear-gradient(160deg, rgba(11, 23, 48, .9), rgba(11, 15, 22, .9));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .9);
}
.panel__row { display: flex; align-items: center; gap: 14px; }
.panel__pin {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(30, 95, 255, .16);
  border: 1px solid rgba(30, 95, 255, .35);
  color: var(--axis-blue-light);
}
.panel__pin svg { width: 22px; height: 22px; }
.panel__title { display: block; font-family: var(--font-display); font-weight: 600; color: var(--axis-white); }
.panel__meta { display: block; font-size: .8rem; color: var(--axis-gray-dark); }
.panel__bars { display: grid; gap: 10px; margin: 24px 0; }
.panel__bar {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--axis-blue), rgba(30, 95, 255, .25));
}
.panel__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.panel__action {
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--axis-gray);
  border: 1px solid var(--line-strong);
}
.panel__action--blue { background: var(--axis-blue); border-color: var(--axis-blue); color: #fff; }

.panel__search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 99px;
  background: rgba(7, 10, 16, .75);
  border: 1px solid var(--line-strong);
  color: var(--axis-gray-dark);
  font-size: .88rem;
}
.panel__search svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.panel__divider { height: 1px; background: var(--line); margin: 22px 0; }

/* --- Painel decorativo (redes sociais) --- */
.feed__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.feed__avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(7, 10, 16, .8);
  border: 1px solid var(--line-strong);
}
.feed__avatar img { width: 22px; height: 22px; }
.feed__stories { display: flex; gap: 10px; margin-bottom: 18px; }
.feed__story {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--axis-blue);
  background: rgba(30, 95, 255, .12);
}
.feed__story:nth-child(n+3) { border-color: var(--line-strong); background: rgba(242, 245, 248, .04); }

.feed__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.feed__cell {
  aspect-ratio: 1;
  border-radius: 9px;
  background: rgba(242, 245, 248, .05);
  border: 1px solid var(--line);
}
.feed__cell--on { background: linear-gradient(150deg, var(--axis-blue), rgba(30, 95, 255, .35)); border-color: transparent; }
.feed__cell--soft { background: rgba(127, 168, 255, .18); border-color: rgba(127, 168, 255, .25); }

/* --- Planos de site --- */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
  border-color: rgba(30, 95, 255, .55);
  background:
    linear-gradient(180deg, rgba(30, 95, 255, .10), transparent 55%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(30, 95, 255, .18), 0 40px 80px -50px var(--axis-blue);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: clamp(26px, 3.4vw, 38px);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--axis-blue);
  padding: 7px 14px;
  border-radius: 99px;
  box-shadow: 0 8px 20px -8px var(--blue-glow);
}
.plan__name { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); font-weight: 700; }
.plan__desc { margin-top: 14px; color: var(--axis-gray); }
.plan__label {
  margin: 28px 0 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--axis-blue-light);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.plan__list { display: grid; gap: 11px; }
.plan__list li {
  position: relative;
  padding-left: 26px;
  color: var(--axis-gray);
  font-size: .96rem;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--axis-blue);
  transform: rotate(45deg);
}
.plan--featured .plan__list li::before { background: var(--axis-blue-light); }
/* o espaço mínimo vem da lista; o auto empurra o botão para a base do card,
   mantendo os dois CTAs alinhados mesmo com listas de tamanhos diferentes */
.plan__list { margin-bottom: 32px; }
.plan__cta.btn { margin-top: auto; }

/* --- Stepper --- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 0 0 34px 62px;
}
.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(30, 95, 255, .5), var(--line));
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--axis-white);
  background: rgba(30, 95, 255, .16);
  border: 1px solid rgba(30, 95, 255, .45);
}
.step__title { font-size: 1.2rem; font-weight: 700; padding-top: 8px; }
.step__text { margin-top: 8px; color: var(--axis-gray); }

/* --- Pills (diferenciais) --- */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}
.pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.9rem, .86rem + .2vw, 1.02rem);
  color: var(--axis-white);
  padding: 13px 24px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.pill:hover { transform: translateY(-3px); border-color: var(--axis-blue); background: rgba(30, 95, 255, .12); }

/* --- CTA final --- */
.cta { padding-block: clamp(56px, 8vw, 100px); }
.cta__box {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px);
  border-radius: clamp(20px, 3vw, 30px);
  text-align: center;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(127, 168, 255, .40), transparent 62%),
    linear-gradient(135deg, #1E5FFF 0%, #1348D6 52%, #0B1730 100%);
  box-shadow: 0 46px 90px -50px var(--axis-blue);
}
.cta__mark {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 300px;
  opacity: .10;
  pointer-events: none;
}
.cta__title {
  margin-top: 18px;
  font-size: clamp(1.8rem, 1.2rem + 2.8vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin-inline: auto;
}
.cta__text {
  margin-top: 22px;
  max-width: 68ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, .96rem + .3vw, 1.08rem);
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(11, 15, 22, .6);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer__inner { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 56px); }
.footer__desc { margin-top: 18px; color: var(--axis-gray-dark); max-width: 34ch; font-size: .95rem; }
.logo--footer .logo__mark { width: 34px; height: 34px; }
.logo--footer .logo__word { font-size: 1.35rem; }
.logo--footer .logo__tag { font-size: .53rem; }

.footer__heading {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--axis-blue-light);
  margin-bottom: 18px;
}
.footer__nav li, .footer__contact li { margin-bottom: 12px; }
.footer__nav a, .footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--axis-gray);
  font-size: .95rem;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--axis-white); }
.footer__icon { width: 18px; height: 18px; flex: none; color: var(--axis-blue-light); }

/* O e-mail é longo e não tem espaço onde quebrar sozinho: em tela estreita ele
   estouraria a largura do rodapé. O seletor precisa de dois níveis de classe
   para vencer `.footer__contact a`, que já define align-items e font-size. */
.footer__contact .footer__mail { align-items: flex-start; overflow-wrap: anywhere; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--axis-gray-dark);
  font-size: .85rem;
}

/* --- Botão flutuante de WhatsApp --- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 17px;
  border-radius: 99px;
  background: #25D366;
  color: #05240F;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .75);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: #2BE377; color: #05240F; }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float__label { display: none; font-family: var(--font-display); font-weight: 600; font-size: .92rem; }

/* --- Portfólio e motion: cartão em forma de janela de navegador --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tag {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--axis-gray-dark);
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.work:hover .tag, .reel:hover .tag { border-color: var(--line-strong); }
.tag--accent {
  color: var(--axis-blue-light);
  border-color: rgba(30, 95, 255, .45);
  background: rgba(30, 95, 255, .12);
}

.works, .reels { display: grid; gap: 20px; }

.work, .reel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.work:hover, .reel:hover {
  border-color: rgba(30, 95, 255, .5);
  box-shadow: 0 34px 68px -42px rgba(0, 0, 0, .95), 0 0 0 1px rgba(30, 95, 255, .12);
}
.work--featured {
  border-color: rgba(30, 95, 255, .45);
  background: linear-gradient(180deg, rgba(30, 95, 255, .09), transparent 45%), var(--surface);
}

/* Reflexo que atravessa o cartão no hover — o "brilho de vitrine" */
.work__sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(127, 168, 255, .14) 48%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 1.1s var(--ease-cine);
}
.work:hover .work__sheen, .reel:hover .work__sheen { transform: translateX(130%); }

/* Barra de janela: mostra o domínio real e o status */
.work__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 16, .55);
}
.work__dots { display: flex; gap: 6px; flex: none; }
.work__dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.work__dots i:nth-child(1) { background: #FF5F57; }
.work__dots i:nth-child(2) { background: #FEBC2E; }
.work__dots i:nth-child(3) { background: #28C840; }
.work__host {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--axis-gray-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work__live {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4ADE80;
}
.work__live--muted { color: var(--axis-gray-dark); }
.work__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: livePulse 2.6s var(--ease) infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 3vw, 32px);
}
.work__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; }
.work__year { font-family: var(--font-mono); font-size: .68rem; color: var(--axis-gray-dark); }
.work__name { font-size: clamp(1.3rem, 1.12rem + .75vw, 1.75rem); font-weight: 700; }
.work__name--sm { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); }
.work--featured .work__name { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.5rem); }
.work__summary { margin-top: 14px; color: var(--axis-gray); font-size: .97rem; }
.work--featured .work__summary { font-size: clamp(1rem, .96rem + .35vw, 1.14rem); max-width: 60ch; }

.work__list { display: grid; gap: 10px; margin-top: 22px; }
.work__list li {
  position: relative;
  padding-left: 25px;
  color: var(--axis-gray);
  font-size: .93rem;
  line-height: 1.6;
}
.work__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--axis-blue);
  transform: rotate(45deg);
}
.work--featured .work__list li::before { background: var(--axis-blue-light); }

.work__stack { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0 28px; }
.work__cta.btn { margin-top: auto; align-self: flex-start; }
/* a seta deste botão é diagonal ("abre em nova aba"), não horizontal */
.work__cta:hover .btn__icon { transform: translate(2px, -2px); }

/* --- Motion: o quadro de projeção --- */
.reel__stage {
  position: relative;
  overflow: hidden;
  background: #04060B;
  flex: none;
}
.reel__stage--landscape { aspect-ratio: 16 / 9; }
.reel__stage--portrait  { aspect-ratio: 9 / 16; }
.reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* enquanto não entra em cena o vídeo fica um pouco recuado — ao tocar, avança */
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-cine), filter 1.2s var(--ease-cine);
  filter: saturate(.85) contrast(1.02);
}
.reel.is-playing .reel__video { transform: none; filter: none; }
.reel__video[controls] { transform: none; filter: none; }

.reel__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--axis-gray);
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(7, 10, 16, .78);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
/* Com os controles nativos à mostra (sem JS ou com movimento reduzido), o
   selo ocuparia o mesmo canto da barra de play. */
.reel__video[controls] ~ .reel__badge { display: none; }

/* Vinheta de projeção: escurece as bordas e dá profundidade ao quadro */
.reel__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(127, 168, 255, .10), transparent 20%, transparent 74%, rgba(4, 6, 11, .6)),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(4, 6, 11, .45));
}

/* Halo de profundidade atrás das grades — parallaxa no scroll */
.section__aura {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 22%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  transform: translate3d(-50%, var(--py, 0px), 0);
  background: radial-gradient(circle at 50% 50%, rgba(30, 95, 255, .16), transparent 62%);
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }

/* ============ 6. RESPONSIVO (mobile-first) ============ */

/* ≥ 560px — grids começam a respirar */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .wa-float__label { display: block; }
}

/* ≥ 768px — tablets */
@media (min-width: 768px) {
  :root { --gutter: 32px; }

  .cards { gap: 16px; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reels { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .work--featured, .reel--wide { grid-column: 1 / -1; }
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
  .intro-grid__text { padding-left: 0; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

/* ≥ 960px — desktop: colunas e linha do tempo horizontal */
@media (min-width: 960px) {
  .hero__visual { display: block; }
  .hero__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__visual { order: 1; }
  .split__visual { display: block; }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .step { padding: 68px 0 0; }
  .step::before {
    left: 44px;
    right: -22px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(30, 95, 255, .5), var(--line));
  }
  .step__title { padding-top: 0; font-size: 1.1rem; }
}

/* ≥ 1080px — menu horizontal.
   São 6 itens + o botão de CTA: abaixo disso não cabe em uma linha sem espremer,
   então o menu-sanduíche continua valendo. O JS usa o mesmo ponto de corte. */
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav__list { display: flex; align-items: center; gap: 24px; }
  .nav__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav.is-open { position: static; padding: 0; background: none; box-shadow: none; border: 0; animation: none; backdrop-filter: none; }
  .nav.is-open .nav__list { flex-direction: row; gap: 24px; }
  .nav.is-open .nav__link { padding: 6px 2px; font-size: .92rem; border: 0; }
  .nav.is-open .nav__link::after { display: block; }
  .nav.is-open .nav__cta { width: auto; margin-top: 0; }
}

/* ≥ 1200px — telas grandes */
@media (min-width: 1200px) {
  .hero__content { max-width: 820px; }
  .cta__mark { width: 380px; }
  .nav { gap: 34px; }
  .nav__list { gap: 30px; }
  .works, .reels { gap: 28px; }
  .wa-float { right: 28px; bottom: 28px; }
}

/* Telas muito estreitas (< 360px) */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .wa-float__label { display: none; }
  .hero__actions .btn { width: 100%; }
  /* A 320px faltam ~15px para o e-mail caber numa linha, e ele não tem onde
     quebrar bem — quebraria no meio de "gmail.com". Encolher resolve melhor. */
  .footer__contact .footer__mail { font-size: .86rem; }
}

/* ============ 7. CINEMA — ANIMAÇÕES ============ */
/* Regra da casa: só `transform`, `opacity`, `clip-path` e `filter`. Nada que
   force recálculo de layout durante a rolagem. Tudo desliga em
   `prefers-reduced-motion` (bloco no fim desta seção). */

/* --- 7.1 Entrada por scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-cine), transform .8s var(--ease-cine);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Variantes — mesma mecânica, gestos de câmera diferentes */
.reveal--zoom { transform: translateY(38px) scale(.965); }
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--mask {
  clip-path: inset(0 0 100% 0);
  transform: translateY(16px);
  transition: opacity .9s var(--ease-cine), transform .9s var(--ease-cine), clip-path 1s var(--ease-cine);
}
.reveal--mask.is-visible { clip-path: inset(0 0 0 0); }

/* Depois da entrada o `will-change` sai de cena: mantê-lo custa memória de GPU à toa */
.reveal.is-settled { will-change: auto; }

/* --- 7.2 Título palavra a palavra ---
   O JS quebra `[data-split]` em palavras; cada uma sobe de dentro de uma máscara.
   O padding/margin negativo existe para a máscara não cortar o "g" e o "p". */
.is-split { opacity: 1 !important; transform: none !important; }
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.word__in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .95s var(--ease-cine);
  transition-delay: calc(var(--i, 0) * 60ms + var(--reveal-delay, 0) * 90ms);
}
.is-visible .word__in { transform: none; }

/* Facho de luz sob o título, desenhado quando a seção entra */
.section__title.reveal::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--axis-blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s .3s var(--ease-cine);
}
.section__head--center .section__title.reveal::after {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--axis-blue), transparent);
  transform-origin: center;
}
.section__title.reveal.is-visible::after { transform: scaleX(1); }

/* --- 7.3 Abertura do hero ---
   Três tempos: as barras de letterbox recolhem, o quadro entra em foco e
   uma luz atravessa a cena uma única vez. */
.hero__bars {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.hero__bars::before, .hero__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 17vh;
  background: var(--axis-bg);
  animation: barsOut 1.05s .1s var(--ease-cine) both;
}
.hero__bars::before { top: 0;    transform-origin: top; }
.hero__bars::after  { bottom: 0; transform-origin: bottom; }
@keyframes barsOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

.hero__inner { animation: heroFocus 1.3s .15s var(--ease-cine) both; }
@keyframes heroFocus {
  from { opacity: 0; transform: scale(1.025); filter: blur(7px); }
  to   { opacity: 1; transform: none;         filter: blur(0); }
}

.hero__sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 36%, rgba(127, 168, 255, .11) 50%, transparent 64%);
  transform: translateX(-100%);
  animation: heroSweep 2.4s .5s var(--ease-cine) both;
}
@keyframes heroSweep { to { transform: translateX(100%); } }

/* --- 7.4 Profundidade na rolagem ---
   O JS escreve `--hero-p` (0 → 1 conforme o hero sai de cena) e `--py` nos
   elementos com `data-parallax`. O CSS só consome; nada de ler layout aqui. */
.hero__content {
  transform: translate3d(0, calc(var(--hero-p, 0) * -64px), 0);
  opacity: calc(1 - var(--hero-p, 0) * .85);
}
.hero__glow {
  transform: scale(calc(1 + var(--hero-p, 0) * .3));
  opacity: calc(1 - var(--hero-p, 0) * .6);
}
/* o anel interno tracejado gira conforme a página rola — a "lente" da marca */
.hero__ring::after { transform: rotate(var(--rot, 0deg)); }

[data-parallax] { will-change: transform; }
/* a aura tem a própria centralização no X, então escreve o próprio transform */
[data-parallax]:not(.section__aura) { transform: translate3d(0, var(--py, 0px), 0); }

/* --- 7.5 Linha do tempo do atendimento, desenhada no scroll --- */
.step.reveal::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .9s .25s var(--ease-cine);
}
.step.reveal.is-visible::before { transform: scaleY(1); }

/* No desktop a mesma linha é horizontal (ver seção 6), então ela se desenha
   da esquerda para a direita — no vertical, de cima para baixo. */
@media (min-width: 960px) {
  .step.reveal::before { transform: scaleX(0); transform-origin: left; }
  .step.reveal.is-visible::before { transform: scaleX(1); }
}

/* --- 7.6 Botão flutuante: entra depois que a cena assenta --- */
.wa-float {
  opacity: 0;
  transform: translateY(26px) scale(.86);
  transition: transform .5s var(--ease-cine), opacity .5s var(--ease-cine),
              box-shadow .25s var(--ease), background-color .2s var(--ease);
}
.wa-float.is-in { opacity: 1; transform: none; }
.wa-float.is-in:hover { transform: translateY(-3px) scale(1.03); }

/* --- 7.7 Sem JS: nada pode ficar invisível --- */
.no-js .reveal { opacity: 1; transform: none; clip-path: none; }
.no-js .hero__bars, .no-js .hero__sweep { display: none; }
.no-js .hero__inner { animation: none; }
.no-js .wa-float { opacity: 1; transform: none; }

/* --- 7.8 Respeita quem prefere menos movimento --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; clip-path: none; }
  .word__in { transform: none !important; }
  .section__title.reveal::after { transform: scaleX(1) !important; }
  .step.reveal::before { transform: none !important; }
  .hero__mark { animation: none; }
  .hero__bars, .hero__sweep { display: none; }
  .hero__inner { animation: none; }
  .hero__content, .hero__glow { transform: none; opacity: 1; }
  .hero__ring::after { transform: none; }
  .reel__video { transform: none; filter: none; }
  .work__sheen { display: none; }
  .wa-float { opacity: 1; transform: none; }
  .wa-float.is-in:hover { transform: none; }
  [data-parallax] { transform: none !important; }
  .section__aura { transform: translate3d(-50%, 0, 0) !important; }
}

/* Impressão */
@media print {
  .header, .wa-float, .hero__visual, .split__visual,
  .hero__bars, .hero__sweep, .section__aura, .work__sheen, .reel__scan { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3 { color: #000; }
}
