/* ==========================================================================
   PontoHub — Design System (light theme)
   Background: neutral off-white. Type: the deep navy of the logo.
   ========================================================================== */

:root {
  /* Surfaces — neutral off-white, slightly warm so it sits well with the logo */
  --bg: #F7F6F3;          /* page */
  --surface: #FFFFFF;     /* panels, frames */
  --surface-2: #EFEDE8;   /* bands, footer */
  --surface-3: #E7E4DE;   /* subtle fills */

  /* Type — the logo's deep navy */
  --ink: #0A2145;         /* headings & body */
  --ink-soft: #3E5170;    /* secondary copy */
  --ink-mute: #5A6C86;    /* tertiary, labels — passes AA on both off-white surfaces */

  /* Accent — brand blues, darkened for contrast on a light page */
  --cyan-400: #00B4D8;
  --cyan-500: #0096C7;
  --cyan-600: #0083B0;
  --blue-600: #0077B6;
  --blue-700: #02458F;
  --blue-800: #0A2145;
  --brand-pink: #EC297B;  /* o "o" da marca */

  --line: rgba(10, 33, 69, 0.10);
  --line-strong: rgba(10, 33, 69, 0.20);

  --grad-brand: linear-gradient(120deg, var(--cyan-400) 0%, var(--blue-600) 55%, var(--blue-700) 100%);
  --grad-text: linear-gradient(100deg, var(--ink) 0%, #124C8C 55%, var(--cyan-600) 100%);

  --shadow-sm: 0 2px 10px -4px rgba(10, 33, 69, 0.16);
  --shadow-md: 0 18px 44px -28px rgba(10, 33, 69, 0.42);
  --shadow-lg: 0 40px 90px -50px rgba(10, 33, 69, 0.45);

  /* Type scale */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.6rem, 6.4vw, 5.75rem);
  --fs-h2: clamp(1.95rem, 4.2vw, 3.4rem);
  --fs-h3: clamp(1.5rem, 2.7vw, 2.35rem);
  --fs-lead: clamp(1.02rem, 1.4vw, 1.28rem);
  --fs-body: clamp(0.95rem, 1.05vw, 1.0625rem);

  /* Space */
  --shell: min(1240px, 100% - 3rem);
  --section-y: clamp(6rem, 13vh, 10.5rem);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;

  /* Motion */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(0, 119, 182, 0.10), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: rgba(0, 119, 182, 0.18); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb {
  background: rgba(10, 33, 69, 0.22);
  border-radius: 99px;
  border: 2px solid var(--surface-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }

/* ── Accessibility ───────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  background: var(--blue-800);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.35s var(--ease-apple);
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2.5px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scroll progress ─────────────────────────────────────────────────────── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 950;
  pointer-events: none;
}

.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-brand);
}

/* ── Layout primitives ───────────────────────────────────────────────────── */
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }

/* Deep links entre páginas (ex.: solucoes.html#dados) não podem parar
   debaixo do header fixo. */
:target,
section[id],
article[id] { scroll-margin-top: 96px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-600));
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 1.35rem;
  max-width: 20ch;
  color: var(--ink);
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 1.6rem;
  font-weight: 400;
}

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

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s var(--ease-apple), box-shadow 0.18s var(--ease-apple),
              border-color 0.18s var(--ease-soft), background 0.18s var(--ease-soft),
              color 0.18s var(--ease-soft);
  will-change: transform;
}

.btn:active { transform: scale(0.97); transition-duration: 0.12s; }

.btn--primary {
  background: var(--blue-800);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
  z-index: -1;
}

.btn--primary:hover { box-shadow: 0 22px 50px -26px rgba(0, 119, 182, 0.7); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: #FFFFFF;
}

.btn__arrow { transition: transform 0.2s var(--ease-apple); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding-block: 1.3rem;
  border-bottom: 1px solid transparent;
  transition: padding 0.3s var(--ease-apple), background 0.3s var(--ease-apple),
              border-color 0.3s var(--ease-apple), transform 0.4s var(--ease-apple);
}

.header.is-stuck {
  padding-block: 0.7rem;
  background: rgba(247, 246, 243, 0.8);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: var(--line);
}

.header.is-hidden { transform: translateY(-104%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  transform-origin: left center;
  transition: transform 0.3s var(--ease-apple);
}

/* Encolher no scroll via transform (GPU) em vez de height/font-size (layout).
   O wrapper escala img e texto juntos, sem reflow e sem distorção. */
.header.is-stuck .logo { transform: scale(0.9); }

.logo__img {
  height: 28px;
  width: auto;
  transition: opacity 0.5s var(--ease-soft), transform 0.3s var(--ease-apple);
}

.logo:hover .logo__img { opacity: 0.75; transform: translateY(-1px); }

/* ── Marca escrita ─────────────────────────────────────────────────────────
   Reprodução da marca em texto, com a fonte do próprio site. Só entra em
   cena quando o arquivo do logo não carrega — e aí o site continua com uma
   identidade correta em vez de um espaço vazio. Basta colocar o SVG oficial
   em /assets/pontohub-logo.svg para ela sair do caminho sozinha. */
.logo__text {
  display: none;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
  transition: opacity 0.5s var(--ease-soft), transform 0.3s var(--ease-apple);
}

.logo__text i { font-style: normal; color: var(--brand-pink); }
.logo:hover .logo__text { opacity: 0.75; transform: translateY(-1px); }
.footer .logo__text { font-size: 1.35rem; }

.logo.is-fallback .logo__img { display: none; }
.logo.is-fallback .logo__text { display: inline-block; }

.nav { display: flex; align-items: center; gap: 2.25rem; }

/* Com seis itens o menu aperta em telas médias — folga menor antes do burger */
@media (min-width: 861px) and (max-width: 1180px) {
  .nav { gap: 1.4rem; }
  .nav__link { font-size: 0.84rem; }
}

.nav__link {
  position: relative;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-soft);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s var(--ease-apple);
}

.nav__link:hover,
.nav__link.is-current { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
}

.lang__btn {
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  border-radius: 999px;
  position: relative;
  z-index: 2;
  transition: color 0.45s var(--ease-soft);
}

.lang__btn.is-active { color: #FFFFFF; }

.lang__pill {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--blue-800);
  transition: transform 0.6s var(--ease-apple), width 0.6s var(--ease-apple);
  z-index: 1;
}

.header .btn { padding: 0.66rem 1.4rem; font-size: 0.85rem; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  /* Em flex, `place-items` só resolve o eixo transversal — o justify-items é
     ignorado. Sem justify-content as barras encostavam no topo do círculo. */
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: var(--surface);
  transition: border-color 0.4s var(--ease-soft);
}

.burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.55s var(--ease-apple);
}

.burger.is-open span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}

#stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 1.8s var(--ease-soft) 0.5s forwards;
}

@keyframes fadeIn { to { opacity: 0.75; } }

.hero__glow {
  position: absolute;
  top: -24%;
  left: 50%;
  width: min(1150px, 125vw);
  aspect-ratio: 1;
  transform: translateX(-50%) scale(0.9);
  background: radial-gradient(circle, rgba(0, 180, 216, 0.16) 0%, rgba(0, 119, 182, 0.09) 40%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: glowIn 1.6s var(--ease-apple) forwards, breathe 9s var(--ease-soft) 1.6s infinite;
}

@keyframes glowIn { to { opacity: 1; transform: translateX(-50%) scale(1); } }

@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50%      { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(10, 33, 69, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 33, 69, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 45%, #000 20%, transparent 78%);
  opacity: 0;
  animation: gridIn 2s var(--ease-soft) 0.3s forwards;
}

@keyframes gridIn { to { opacity: 1; } }

.hero__inner { position: relative; z-index: 2; text-align: center; padding-block: 4rem 6rem; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.hero__line { display: block; overflow: hidden; padding-block: 0.07em; }

.hero__line > span {
  display: inline-block;
  transform: translateY(108%);
  animation: lineUp 1.3s var(--ease-apple) forwards;
}

.hero__line:nth-child(1) > span { animation-delay: 0.18s; }
.hero__line:nth-child(2) > span { animation-delay: 0.28s; }
.hero__line:nth-child(3) > span { animation-delay: 0.38s; }

@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 2.1rem auto 0;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.1s var(--ease-apple) 0.62s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.1s var(--ease-apple) 0.76s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  font-size: 0.67rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeOnly 1.2s var(--ease-soft) 1.2s forwards;
  transition: opacity 0.5s var(--ease-soft);
}

@keyframes fadeOnly { to { opacity: 1; } }

.hero__scroll.is-gone { opacity: 0 !important; }

.hero__scroll i {
  width: 1.5px;
  height: 46px;
  background: linear-gradient(180deg, var(--blue-600), transparent);
  animation: drop 2.2s var(--ease-soft) infinite;
  transform-origin: top;
}

@keyframes drop {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

/* ── Marquee ─────────────────────────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 2;
  padding-block: 2.1rem;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

/* As pontas desbotam com dois degradês sobrepostos, NÃO com mask-image.
   Máscara sobre um filho animado de vários milhares de pixels faz o WebKit
   do iPhone descartar a camada inteira: a faixa fica branca e vazia. Estes
   pseudo-elementos pintam por cima e não podem apagar nada. */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 12%, 160px);
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0;  background: linear-gradient(90deg, var(--surface), rgba(255, 255, 255, 0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--surface), rgba(255, 255, 255, 0)); }

.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-mute);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4rem;
  transition: color 0.4s var(--ease-soft);
}

.marquee__track span:hover { color: var(--ink); }

.marquee__track span::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-500);
  opacity: 0.6;
}

@keyframes slide { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════════════════════
   PAGE HERO — topo das páginas internas
   ══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding-block: clamp(8.5rem, 18vh, 12rem) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 100% at 20% 0%, rgba(0, 119, 182, 0.10), transparent 62%);
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 33, 69, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 33, 69, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 90% at 25% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 40%, #000, transparent 72%);
  pointer-events: none;
}

.page-hero .shell { position: relative; z-index: 2; }

.page-hero__title {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-top: 1.4rem;
  max-width: 20ch;
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.05s var(--ease-apple) 0.1s forwards;
}

.page-hero__lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.05s var(--ease-apple) 0.24s forwards;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeOnly 0.9s var(--ease-soft) forwards;
}

.crumbs a {
  color: var(--ink-mute);
  transition: color 0.4s var(--ease-soft);
}

.crumbs a:hover { color: var(--blue-700); }
.crumbs__sep { opacity: 0.5; }
.crumbs__current { color: var(--ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════════
   HOME — cards de prévia
   ══════════════════════════════════════════════════════════════════════════ */
.preview { border-top: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 6vh, 4.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.4rem);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease-apple), box-shadow 0.22s var(--ease-apple),
              border-color 0.22s var(--ease-soft);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 182, 0.3);
}

.card__n {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-700);
}

.card__t {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 1.1rem;
  color: var(--ink);
}

.card__d {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.85rem;
  flex: 1;
}

.card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-700);
}

.card__go svg { transition: transform 0.2s var(--ease-apple); }
.card:hover .card__go svg { transform: translateX(5px); }

/* ══════════════════════════════════════════════════════════════════════════
   HOME — chamada com imagem
   ══════════════════════════════════════════════════════════════════════════ */
.teaser { border-top: 1px solid var(--line); }

.teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.teaser__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}

.teaser__img { width: 100%; height: 100%; object-fit: cover; }

.teaser__body .section-title { max-width: 17ch; }
.teaser__body .section-lead { max-width: 46ch; }
.teaser__body .btn { margin-top: 2.25rem; }

/* ══════════════════════════════════════════════════════════════════════════
   SOLUTIONS
   ══════════════════════════════════════════════════════════════════════════ */
.solutions { isolation: isolate; }

.solutions__list {
  display: grid;
  gap: clamp(4.5rem, 11vh, 9rem);
  margin-top: clamp(3.5rem, 8vh, 6rem);
}

/* Alternating rows: image left / text right, then mirrored. */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.solution--reverse .solution__media { order: 2; }

/* ── Media ───────────────────────────────────────────────────────────────── */
.solution__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}

.solution__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
  transition: filter 0.7s var(--ease-soft);
}

/* Variante sem imagem: o texto ocupa a coluna da esquerda e a lista de
   capacidades assume a da direita, separada por uma régua vertical. */
.solution--plain {
  align-items: start;
  padding-bottom: clamp(1rem, 3vh, 2rem);
}

.solution--plain .solution__title--lead {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 14ch;
}

.solution--plain .solution__text { max-width: 46ch; }

.solution__aside {
  padding-left: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 1px solid var(--line);
}

.solution__aside-t {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.solution__aside .solution__list-items { margin-top: 1.1rem; max-width: none; }

.solution__aside .solution__list-items li:first-child { padding-top: 0; }

.solution__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 33, 69, 0.08);
  background: linear-gradient(180deg, transparent 62%, rgba(10, 33, 69, 0.14) 100%);
  pointer-events: none;
}

/* Accent rule that draws itself along the image edge as the row appears */
.solution__media::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-apple) 0.25s;
}

.solution--reverse .solution__media::before { transform-origin: right; }
.solution[data-reveal].is-in .solution__media::before { transform: scaleX(1); }

/* ── Body ────────────────────────────────────────────────────────────────── */
.solution__body { min-width: 0; }

.solution__index {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-700);
}

.solution__index::after {
  content: '';
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue-600), transparent);
  transition: width 1s var(--ease-apple) 0.3s;
}

.solution[data-reveal].is-in .solution__index::after { width: 84px; }

.solution__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-top: 1.25rem;
  max-width: 18ch;
  color: var(--ink);
}

.solution__text {
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 54ch;
}

.solution__list-items {
  margin-top: 1.9rem;
  display: grid;
  max-width: 48ch;
}

.solution__list-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple),
              color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}

.solution[data-reveal].is-in .solution__list-items li { opacity: 1; transform: none; }
.solution[data-reveal].is-in .solution__list-items li:nth-child(1) { transition-delay: 0.22s; }
.solution[data-reveal].is-in .solution__list-items li:nth-child(2) { transition-delay: 0.29s; }
.solution[data-reveal].is-in .solution__list-items li:nth-child(3) { transition-delay: 0.36s; }
.solution[data-reveal].is-in .solution__list-items li:nth-child(4) { transition-delay: 0.43s; }
.solution[data-reveal].is-in .solution__list-items li:nth-child(5) { transition-delay: 0.50s; }

.solution__list-items li:hover { color: var(--ink); border-bottom-color: var(--line-strong); }

.solution__list-items li::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 0.72em;
  border-radius: 50%;
  background: var(--cyan-500);
}

.solution__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-700);
}

.solution__link svg { transition: transform 0.5s var(--ease-apple); }
.solution__link:hover svg { transform: translateX(5px); }

/* ══════════════════════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════════════════════ */
.process { border-top: 1px solid var(--line); }

.band {
  position: relative;
  margin-top: clamp(2.5rem, 5vh, 4rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21 / 8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.band__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.8s var(--ease-apple);
}

.band.is-in .band__img { transform: scale(1); }
.band:hover .band__img { transform: scale(1.03); }

.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 33, 69, 0.72) 100%);
  pointer-events: none;
}

.band__caption {
  position: absolute;
  left: clamp(1.5rem, 3.5vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 2;
  max-width: 46ch;
  font-size: 0.94rem;
  font-weight: 500;
  color: #FFFFFF;
  text-shadow: 0 1px 14px rgba(10, 33, 69, 0.6);
}

/* ── Etapas: trilha de rolagem com seção fixada ──────────────────────────
   .stages é só o "corredor" alto que dá curso à rolagem; o conteúdo real
   fica preso em .stages__sticky. Quando o corredor acaba, a página segue.
   Altura = 1 tela para ler + uma fração de tela por etapa a abrir.        */
.stages {
  --stage-count: 4;
  position: relative;
  height: calc(100vh + (var(--stage-count) - 1) * 58vh);
  margin-top: clamp(3rem, 6vh, 4.5rem);
}

.stages__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.stages__progress {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.stages__progress i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.stages__grid {
  display: grid;
  grid-template-columns: repeat(var(--stage-count), 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

/* Cada etapa entra apagada e "fechada"; abre quando a rolagem a alcança. */
.stage {
  position: relative;
  padding-top: 1.6rem;
  opacity: 0.22;
  transform: translateY(14px);
  transition: opacity 0.75s var(--ease-apple), transform 0.75s var(--ease-apple);
}

.stage.is-open { opacity: 1; transform: none; }

/* Marcador sobre o trilho */
.stage::before {
  content: '';
  position: absolute;
  top: calc(-1 * clamp(2.5rem, 5vh, 4rem) - 5px);
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--line-strong);
  transition: border-color 0.6s var(--ease-soft), background 0.6s var(--ease-soft),
              box-shadow 0.6s var(--ease-soft), transform 0.7s var(--ease-apple);
}

.stage.is-open::before {
  border-color: var(--blue-600);
  background: var(--blue-600);
  box-shadow: 0 0 0 6px rgba(0, 119, 182, 0.14);
  transform: scale(1.1);
}

.stage__n {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  transition: color 0.6s var(--ease-soft);
}

.stage.is-open .stage__n { color: var(--blue-700); }

.stage__t {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 0.85rem;
  color: var(--ink);
}

/* A descrição é o que de fato "abre" */
.stage__d {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.9s var(--ease-apple), opacity 0.7s var(--ease-soft) 0.12s,
              transform 0.8s var(--ease-apple) 0.12s, margin-top 0.7s var(--ease-apple);
}

.stage.is-open .stage__d {
  max-height: 22em;
  opacity: 1;
  transform: none;
  margin-top: 0.85rem;
}

/* Dica de rolagem enquanto ainda faltam etapas */
.stages__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 5vh, 3rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
  pointer-events: none;
}

.stages__sticky.is-running .stages__hint { opacity: 1; }

.stages__hint i {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  animation: hintSlide 1.8s var(--ease-soft) infinite;
}

@keyframes hintSlide {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════════════════════════════════ */
.stats { border-top: 1px solid var(--line); }
.stats__title { margin-bottom: clamp(3rem, 6vh, 4.5rem); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.stat { position: relative; padding-left: 1.6rem; }

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-600), rgba(0, 119, 182, 0.08));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease-apple) 0.15s;
}

.stat[data-reveal].is-in::before { transform: scaleY(1); }

.stat__n {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 0.8rem;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ══════════════════════════════════════════════════════════════════════════
   PÁGINAS LEGAIS
   Texto corrido, medida de leitura curta, sem nenhuma animação de entrada:
   quem abre estas páginas quer ler, não assistir.
   ══════════════════════════════════════════════════════════════════════════ */
.legal { padding-top: clamp(2.5rem, 5vh, 3.5rem); }

.legal__updated {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.legal__body {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal__body h2 {
  margin-top: 3rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  scroll-margin-top: 6rem;
}

.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 1.05rem; }
.legal__body strong { color: var(--ink); font-weight: 600; }

.legal__body a {
  color: var(--blue-700);
  border-bottom: 1.5px solid var(--line-strong);
  transition: border-color 0.4s var(--ease-soft);
}

.legal__body a:hover { border-bottom-color: var(--blue-600); }

.legal__list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.legal__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
}

.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
}

/* Marcadores a preencher antes de publicar. Gritantes de propósito. */
.legal__body mark {
  background: #FFE9A8;
  color: var(--ink);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92em;
}

.legal__cta { margin: 1.5rem 0 1.2rem; }

.legal__note {
  margin-top: 3.5rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--line-strong);
  background: var(--surface-2);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════════════════════════
   SUGESTÃO DE IDIOMA
   Faixa fina no topo, para quem chega numa árvore de idioma diferente da do
   seu navegador. É sugestão, não redirecionamento: a página indexada
   continua sendo a que o buscador encontrou.
   ══════════════════════════════════════════════════════════════════════════ */
.langhint {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 930;
  background: var(--ink);
  color: #FFFFFF;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-apple);
}

.langhint.is-in { transform: none; }

.langhint__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.langhint__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.4s var(--ease-soft);
}

.langhint__go:hover { border-bottom-color: #FFFFFF; }
.langhint__go svg { transition: transform 0.45s var(--ease-apple); }
.langhint__go:hover svg { transform: translateX(4px); }

.langhint__x {
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s var(--ease-soft);
}

.langhint__x:hover { color: #FFFFFF; }

/* Com a faixa na tela o WhatsApp sobe, para não ficar em cima dela */
.langhint.is-in ~ .wa { transform: translateY(-3.2rem); }

/* ══════════════════════════════════════════════════════════════════════════
   BANNER DE CONSENTIMENTO
   Cartão discreto no canto, não uma cortina sobre a página: o visitante pode
   ler o conteúdo antes de decidir, que é o que a norma pede e o que não
   destrói a conversão.
   ══════════════════════════════════════════════════════════════════════════ */
.cc {
  position: fixed;
  left: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 960;
  width: min(420px, calc(100vw - 2rem));
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.55s var(--ease-apple), transform 0.55s var(--ease-apple),
              visibility 0.55s;
}

.cc.is-in { opacity: 1; transform: none; visibility: visible; }

.cc__box {
  padding: 1.4rem 1.5rem 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 60px -20px rgba(10, 33, 69, 0.28),
              0 6px 18px -8px rgba(10, 33, 69, 0.16);
}

.cc__title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cc__text {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.cc__opts {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.cc__opt {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
}

.cc__opt input {
  margin-top: 0.2rem;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--blue-600);
  cursor: pointer;
}

.cc__opt strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.cc__opt small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.cc__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.cc__actions .btn { padding: 0.6rem 1.15rem; font-size: 0.82rem; }

.cc__deny {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: 0.6rem 0.2rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}

.cc__deny:hover { color: var(--ink); border-bottom-color: var(--line-strong); }

.cc__more { margin-top: 0.9rem; font-size: 0.8rem; }

.cc__more a {
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.4s var(--ease-soft);
}

.cc__more a:hover { color: var(--ink); }

/* ── No computador, caixa centralizada ─────────────────────────────────────
   Vira um diálogo no meio da tela, com fundo escurecido. A animação sai do
   .cc (que agora é o fundo inteiro) e passa para o .cc__box, senão o cartão
   entraria deslizando junto com a cortina. */
@media (min-width: 861px) {
  .cc {
    inset: 0;
    left: 0;
    bottom: 0;
    width: auto;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(10, 33, 69, 0.34);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transform: none;
    transition: opacity 0.45s var(--ease-apple), visibility 0.45s;
  }

  .cc__box {
    width: min(500px, 100%);
    padding: 1.9rem 2rem 1.7rem;
    transform: translateY(18px) scale(0.97);
    transition: transform 0.55s var(--ease-apple);
  }

  .cc.is-in .cc__box { transform: none; }

  .cc__title { font-size: 1.18rem; }
  .cc__text { font-size: 0.92rem; }
  .cc__actions { margin-top: 1.35rem; }
}

/* No celular o cartão ocupa a largura toda e sobe acima do botão flutuante */
@media (max-width: 560px) {
  .cc {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
  .cc__box { padding: 1.2rem 1.25rem 1.15rem; }
  .cc__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Com o banner na tela o WhatsApp sai da frente, senão os dois disputam
   o mesmo canto no celular. */
body.cc-open .wa { opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════════
   LIGAÇÕES INTERNAS
   Levam o leitor de uma página à seguinte e mostram ao buscador como os
   assuntos do site se relacionam.
   ══════════════════════════════════════════════════════════════════════════ */

/* Link solto abaixo de um texto de apoio */
.page-hero__link,
.teaser__link {
  margin-top: 1.35rem;
  font-size: 0.94rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.05s var(--ease-apple) 0.36s forwards;
}

.teaser__link { animation: none; opacity: 1; transform: none; margin-top: 1.1rem; }

.page-hero__link a,
.teaser__link a,
.solution__proof a,
.next__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-700);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.4s var(--ease-soft);
}

.page-hero__link a:hover,
.teaser__link a:hover,
.solution__proof a:hover,
.next__list a:hover { border-bottom-color: var(--blue-600); }

.page-hero__link svg,
.teaser__link svg,
.solution__proof svg,
.next__list svg { transition: transform 0.45s var(--ease-apple); flex: none; }

.page-hero__link a:hover + svg,
.teaser__link a:hover + svg,
.solution__proof a:hover + svg,
.next__list a:hover + svg { transform: translateX(4px); }

/* A prova de cada solução: o case que sustenta a promessa */
.solution__proof {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  padding-left: 0.95rem;
  border-left: 2.5px solid var(--cyan-500);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Bloco de continuidade no fim das páginas */
.next {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vh, 4.5rem);
}

.next__title {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 30ch;
}

.next__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem 2rem;
  margin-top: 1.6rem;
}

.next__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

/* ══════════════════════════════════════════════════════════════════════════
   TRAJETÓRIA — marcos da empresa
   ══════════════════════════════════════════════════════════════════════════ */
.path { border-top: 1px solid var(--line); }

.path__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: 2.5rem;
  position: relative;
}

/* Linha do tempo ligando os três marcos */
.path__list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), rgba(0, 119, 182, 0.12));
}

.path__item { position: relative; }

.path__item::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--blue-600);
  transform: translateY(-4.5px) scale(0);
  transition: transform 0.7s var(--ease-apple) 0.2s;
}

.path__item[data-reveal].is-in::before { transform: translateY(-4.5px) scale(1); }

/* O último marco é o presente: preenchido, para fechar a linha */
.path__item:last-child::before { background: var(--blue-600); }

.path__year {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.path__t {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  color: var(--ink);
}

.path__d {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

.path .band { margin-top: clamp(3.5rem, 7vh, 5rem); }

@media (max-width: 860px) {
  .path__list { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 0; }
  .path__list::before { display: none; }
  .path__item { padding-left: 1.75rem; }
  .path__item::before { top: 0.6rem; left: 0; transform: scale(1); }
  .path__item[data-reveal].is-in::before { transform: scale(1); }
}

/* ══════════════════════════════════════════════════════════════════════════
   PERGUNTAS FREQUENTES
   Usa <details>/<summary> nativos: abre e fecha sem JavaScript, é acessível
   por teclado de graça e o buscador lê a resposta mesmo fechada.
   ══════════════════════════════════════════════════════════════════════════ */
.faq { border-top: 1px solid var(--line); }

.faq__list {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  max-width: 80ch;
  border-top: 1px solid var(--line);
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.5rem;
  padding-right: 2.5rem;
  position: relative;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.4s var(--ease-soft);
}

/* Some com o triângulo padrão do navegador */
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ''; }

.faq__q:hover { color: var(--blue-700); }

/* Sinal de mais que vira menos quando abre */
.faq__q::after {
  content: '';
  position: absolute;
  right: 0.25rem;
  top: 1.85rem;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  box-shadow: 0 0 0 0 transparent;
  transition: transform 0.45s var(--ease-apple);
}

.faq__q::before {
  content: '';
  position: absolute;
  right: 0.25rem;
  top: 1.85rem;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: rotate(90deg);
  transition: transform 0.45s var(--ease-apple), opacity 0.35s var(--ease-soft);
}

.faq__item[open] .faq__q::before { transform: rotate(0deg); opacity: 0; }

.faq__a {
  padding-bottom: 1.6rem;
  padding-right: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 68ch;
  animation: faqOpen 0.55s var(--ease-apple);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__a { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════════════ */
.cta { border-top: 1px solid var(--line); }

.cta__box {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.75rem, 5vw, 5rem);
  text-align: center;
  overflow: hidden;
  background: var(--blue-800);
  box-shadow: var(--shadow-lg);
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  z-index: 0;
  pointer-events: none;
}

.cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 120% at 50% 0%, rgba(0, 180, 216, 0.28), transparent 62%),
    linear-gradient(165deg, rgba(10, 33, 69, 0.72), rgba(10, 33, 69, 0.9));
  pointer-events: none;
}

.cta__box > * { position: relative; z-index: 2; }
.cta__box > .cta__bg { position: absolute; z-index: 0; }

.cta__head { text-align: center; }

.cta__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 22ch;
  margin-inline: auto;
  color: #FFFFFF;
}

.cta__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.84);
  max-width: 58ch;
  margin: 1.5rem auto 0;
}


.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Os botões vivem sobre o painel escuro, então invertem */
.cta__actions .btn--primary { background: #FFFFFF; color: var(--ink); }
.cta__actions .btn--primary::after { background: #FFFFFF; }
.cta__actions .btn--primary:hover { box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.55); }

.cta__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.cta__actions .btn--ghost:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
}


/* Chamada final compacta, usada no fim das páginas internas */
.cta__box--compact { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }

/* ══════════════════════════════════════════════════════════════════════════
   CASES — carrossel horizontal
   A trilha é full-bleed: sangra até a borda da tela para dar a sensação de
   que os cards continuam para fora do enquadramento. O recuo lateral
   acompanha a largura do .shell para o primeiro card alinhar com o título.
   ══════════════════════════════════════════════════════════════════════════ */
.cases { padding-bottom: clamp(4rem, 9vh, 7rem); }

.cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cases__head .section-title { max-width: 18ch; }

.cases__nav { display: flex; gap: 0.65rem; flex: none; }

.cases__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
              transform 0.5s var(--ease-apple), opacity 0.4s var(--ease-soft),
              box-shadow 0.5s var(--ease-apple);
}

.cases__btn svg { width: 17px; height: 17px; }

.cases__btn:hover:not(:disabled) {
  border-color: var(--blue-600);
  color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cases__btn:disabled { opacity: 0.32; cursor: default; }

.cases__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  padding-inline: max(1.5rem, calc((100% - 1240px) / 2));
  padding-block: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.cases__track::-webkit-scrollbar { display: none; }
.cases__track:focus-visible { outline-offset: -4px; }

.case {
  flex: 0 0 clamp(300px, 32vw, 400px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.35rem);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple),
              border-color 0.5s var(--ease-soft);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 182, 0.28);
}

/* Cabeçalho: marca à esquerda, identificação à direita */
.case__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

/* Ladrilho branco: os logos dos clientes vêm em PNG/JPEG com fundo branco
   ou colorido, então a marca precisa de uma base neutra para nenhum deles
   mostrar um retângulo destoando do card. */
.case__mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 9px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease-soft);
}

.case:hover .case__mark { box-shadow: inset 0 0 0 1px rgba(0, 119, 182, 0.3); }

/* Logo do cliente: contido no ladrilho, sem cortar nem distorcer,
   qualquer que seja a proporção do arquivo original. */
.case__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case__mono {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue-700);
}

.case__mark.is-monogram .case__mono { display: grid; }

.case__id { min-width: 0; }

.case__name {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

.case__kind {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.case__text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
}

/* Barra que mostra o quanto da trilha já foi percorrido */
.cases__bar {
  height: 3px;
  margin-top: clamp(1.75rem, 3.5vh, 2.5rem);
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.cases__bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.25s var(--ease-soft);
}

@media (max-width: 640px) {
  .case { flex-basis: min(86vw, 340px); }
  .cases__head { align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════════════════
   WHATSAPP FLUTUANTE
   Sempre visível no canto inferior direito. Em telas largas o rótulo se
   abre no hover; no celular fica só o ícone, para não cobrir conteúdo.
   ══════════════════════════════════════════════════════════════════════════ */
.wa {
  --wa-green: #25D366;
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 940;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--wa-green);
  color: #FFFFFF;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6), 0 4px 12px -4px rgba(10, 33, 69, 0.3);
  transition: transform 0.5s var(--ease-apple), box-shadow 0.5s var(--ease-apple),
              opacity 0.35s var(--ease-soft);
  will-change: transform;
}

.wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.7), 0 6px 16px -4px rgba(10, 33, 69, 0.35);
}

.wa:active { transform: translateY(-1px) scale(0.97); transition-duration: 0.12s; }

.wa__icon {
  width: 27px;
  height: 27px;
  flex: none;
  fill: currentColor;
}

.wa__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.55s var(--ease-apple), opacity 0.4s var(--ease-soft),
              margin-right 0.55s var(--ease-apple);
}

.wa:hover .wa__label,
.wa:focus-visible .wa__label {
  max-width: 180px;
  opacity: 1;
}

/* Pulso discreto que chama atenção sem piscar */
.wa__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--wa-green);
  opacity: 0.45;
  z-index: -1;
  animation: waPulse 2.8s var(--ease-soft) infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.45; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (max-width: 640px) {
  .wa { height: 54px; padding: 0 14px; }
  .wa__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa__ring { animation: none; opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vh, 5.5rem) 2rem;
  background: var(--surface-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.footer__about p {
  color: var(--ink-mute);
  font-size: 0.92rem;
  max-width: 38ch;
  margin-top: 1.35rem;
}

.footer__loc { color: var(--ink-mute); font-size: 0.92rem; }

.footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.footer li + li { margin-top: 0.7rem; }

.footer li a,
.footer address a {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--ink-mute);
  transition: color 0.4s var(--ease-soft), transform 0.5s var(--ease-apple);
}

.footer li a:hover,
.footer address a:hover { color: var(--blue-700); transform: translateX(3px); }

.footer address { font-style: normal; display: grid; gap: 0.7rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════════
   MOTION UTILITIES
   ══════════════════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.05s var(--ease-apple), transform 1.05s var(--ease-apple);
  will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-zoom] { transform: translateY(30px) scale(0.975); }
[data-zoom].is-in { transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.09s; }
[data-reveal-delay="2"] { transition-delay: 0.18s; }
[data-reveal-delay="3"] { transition-delay: 0.27s; }
[data-reveal-delay="4"] { transition-delay: 0.36s; }

[data-split] { opacity: 1 !important; transform: none !important; }

.word { display: inline-block; overflow: hidden; vertical-align: top; }

.word > i {
  display: inline-block;
  font-style: normal;
  transform: translateY(110%);
  transition: transform 0.95s var(--ease-apple);
  transition-delay: calc(var(--wi, 0) * 45ms);
}

[data-split].is-in .word > i { transform: none; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════════════
   PERFORMANCE — skip rendering work for sections still far off-screen.
   contain-intrinsic-size keeps the scrollbar honest while they're skipped.
   ══════════════════════════════════════════════════════════════════════════ */
.stats,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .cards { grid-template-columns: 1fr; }
  .teaser__inner { grid-template-columns: 1fr; }
  .teaser__media { order: -1; aspect-ratio: 16 / 10; }
  .teaser__body .section-title, .teaser__body .section-lead { max-width: none; }

  /* Zig-zag collapses to a single column; the image always leads. */
  .solution { grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 2.5rem); }

  /* Sem imagem: a lista passa a ficar abaixo do texto, com régua no topo */
  .solution__aside {
    padding-left: 0;
    padding-top: 1.75rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .solution--plain .solution__title--lead { max-width: none; }
  .solution--plain .solution__text { max-width: none; }
  .solution--reverse .solution__media { order: 0; }
  .solution__media { aspect-ratio: 16 / 10; }
  .solution__title, .solution__text, .solution__list-items { max-width: none; }

  /* Etapas em 2 colunas: metade do corredor basta */
  .stages { height: calc(100vh + (var(--stage-count) - 1) * 42vh); }
  .stages__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --shell: min(1240px, 100% - 2.25rem); }

  .burger { display: flex; }

  /* O burger é o primeiro item do header, então cai naturalmente à esquerda.
     O resto é empurrado para a direita. */
  .header__inner { justify-content: flex-start; gap: 0.85rem; }
  .header__actions { margin-left: auto; }

  /* O menu aberto é um <nav> fixo dentro do header. Sem estes z-index os
     próprios controles do header ficariam por baixo do overlay — era o que
     impedia de fechar o menu clicando no X. */
  .burger,
  .logo,
  .header__actions { position: relative; z-index: 900; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    /* Fundo sólido: nada da página aparece por trás do menu. Sem
       backdrop-filter, que aqui só custaria desempenho no celular. */
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-apple), visibility 0.6s;
    z-index: 890;
  }

  .nav.is-open { opacity: 1; visibility: visible; }

  /* CUIDADO: backdrop-filter (e filter, e transform) no header o tornam o
     bloco de contenção dos filhos position:fixed. Com ele ligado, o `inset: 0`
     do menu passa a valer a faixa do header em vez da tela inteira — o menu
     vaza por cima do conteúdo sem fundo. Por isso, enquanto o menu está
     aberto, o header não filtra nada: o fundo opaco vem do próprio overlay,
     que fica atrás dos controles. Esta regra vem depois de .header.is-stuck
     de propósito — mesma especificidade, a última vence. */
  /* Cinto e suspensório: no celular o header nunca filtra o fundo. Isso
     elimina de vez a classe de bug acima e ainda economiza composição de
     camada em aparelho fraco. O fundo sólido dá o mesmo resultado visual. */
  .header.is-stuck {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Precisa vir depois de .is-stuck: mesma especificidade, a última vence. */
  .header.nav-open,
  .header.is-stuck.nav-open {
    background: transparent;
    border-bottom-color: transparent;
    /* transform também cria bloco de contenção — inclusive durante a
       transição de saída do .is-hidden. Sem cortar a transição aqui, o menu
       aberto logo após rolar para cima nasceria confinado por meio segundo. */
    transform: none;
    transition: none;
  }

  /* O botão do WhatsApp fica acima do header, então sobraria flutuando sobre
     o menu aberto. Sai de cena junto. */
  body.is-menu-open .wa {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }

  .nav__link {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-apple), transform 0.6s var(--ease-apple);
  }

  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open .nav__link:nth-child(1) { transition-delay: 0.08s; }
  .nav.is-open .nav__link:nth-child(2) { transition-delay: 0.14s; }
  .nav.is-open .nav__link:nth-child(3) { transition-delay: 0.20s; }
  .nav.is-open .nav__link:nth-child(4) { transition-delay: 0.26s; }
  .nav.is-open .nav__link:nth-child(5) { transition-delay: 0.32s; }
  .nav.is-open .nav__link:nth-child(6) { transition-delay: 0.38s; }

  .header__actions .btn { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }

  .band { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  /* Telas pequenas: sem trilha nem seção presa — a lista simplesmente rola */
  .stages { height: auto; margin-top: 2.5rem; }
  .stages__sticky { position: static; height: auto; display: block; overflow: visible; }
  .stages__grid { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .stages__progress { display: none; }
  .stages__hint { display: none; }
  .stage { opacity: 1; transform: none; padding-top: 0; padding-left: 1.75rem; }
  .stage::before { top: 0.45rem; left: 0; }
  .stage__d { max-height: none; opacity: 1; transform: none; margin-top: 0.7rem; overflow: visible; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  /* ── Faixa de tecnologias no celular ─────────────────────────────────────
     Volta a correr, em linha única, como no desktop. Duas coisas mudaram
     desde a versão que aparecia em branco: a máscara saiu (o desbotado das
     pontas agora são degradês pintados por cima, que não podem apagar o
     conteúdo) e a trilha encolheu de 7047px para cerca de 3000px, bem abaixo
     do limite de textura de qualquer aparelho. */
  .marquee { padding-block: 1.5rem; }

  .marquee__track {
    animation-duration: 26s;
    gap: 1.7rem;
  }

  .marquee__track span {
    gap: 1.7rem;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .word > i { transform: none; }
  .hero__lead, .hero__cta, .hero__scroll, #stage, .hero__grid, .hero__glow { opacity: 1; }
  .hero__line > span { transform: none; }
  .solution__list-items li { opacity: 1; transform: none; }
  .stages { height: auto; }
  .stages__sticky { position: static; height: auto; display: block; }
  .stage { opacity: 1; transform: none; }
  .stage__d { max-height: none; opacity: 1; transform: none; margin-top: 0.85rem; }
  .stages__progress i { transform: scaleX(1); }
  .solution__media::before { transform: scaleX(1); }
}

/* ── Hover só em dispositivos com cursor real ───────────────────────────────
   No toque, :hover dispara ao tocar e fica "grudado" até tocar em outro lugar.
   Aqui neutralizamos os hovers de movimento em telas sem cursor fino — o
   feedback de toque continua vindo do :active (scale), que é o correto. */
@media (hover: none), (pointer: coarse) {
  .card:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
  .card:hover .card__go svg { transform: none; }
  .btn:hover .btn__arrow { transform: none; }
  .logo:hover .logo__img { opacity: 1; transform: none; }
  .marquee__track span:hover { color: inherit; }
}

/* ===== Capa dos artigos do blog ===== */
.article-cover {
  margin: 0 0 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe6ea;
  box-shadow: 0 6px 24px rgba(10, 33, 69, .10);
}
.article-cover img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  object-fit: cover;
}
@media (max-width: 768px) {
  .article-cover { border-radius: 10px; margin-bottom: 1.75rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG — página de artigo
   ══════════════════════════════════════════════════════════════════════════ */
.article-cover {
  position: relative;
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  border-radius: 16px;
  overflow: hidden;
  background: #dfe6ea;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -22px rgba(10, 33, 69, .45);
}
.article-cover img {
  display: block;
  width: 100%;
  height: clamp(200px, 30vw, 380px);
  object-fit: cover;
  object-position: center;
}

.article-body { max-width: 68ch; }
.article-body > h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.75rem;
}
.article-body > h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.75rem 0 .9rem;
}
.article-body p { margin: 0 0 1.35rem; color: var(--ink-soft); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 1.35rem 1.25rem; color: var(--ink-soft); }
.article-body li { margin-bottom: .6rem; }
.article-body pre {
  background: #0f1b30;
  color: #e6edf7;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.6rem;
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body code {
  background: rgba(10, 33, 69, .06);
  border-radius: 5px;
  padding: .15em .45em;
  font-size: .9em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.6rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.article-meta__dot { opacity: .45; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--brand, #0077b6);
  font-weight: 500;
  text-decoration: none;
}
.article-back:hover { gap: .75rem; }

@media (max-width: 768px) {
  .article-cover { border-radius: 12px; }
  .article-body { max-width: none; }
}
