/* IRB Publicações · aviso de migração para o app
   Estilo: escuro, acromático, painéis translúcidos e botões em pílula. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500&family=Geist:wght@400;500;600&display=swap");

:root {
  --ink: #000000;
  --canvas: #0a0a0a;
  --graphite: #161616;
  --slate: #686868;
  --smoke: #b2b2b2;
  --ash: #c2c2c2;
  --bone: #ededed;
  --white: #ffffff;
  --hair: rgba(229, 229, 229, .14);
  --hair-strong: rgba(229, 229, 229, .32);
  --frost: rgba(212, 212, 212, .07);
  --frost-2: rgba(212, 212, 212, .1);
  --edge: inset 0 0 0 1px rgba(255, 255, 255, .08);

  --violet: #6b62f2;
  --amber: #ff9a5a;
  --coral: #f2643f;
  --cobalt: #2f5bff;
  --grad: linear-gradient(100deg, var(--amber) 0%, var(--coral) 30%, var(--violet) 65%, var(--cobalt) 100%);

  /* tela do app (mantida, é a identidade real do app) */
  --app-bg: #05060f;
  --app-card: #151827;
  --app-line: #262a3b;
  --app-text: #f2f3f7;
  --app-sub: #9ea6ba;
  --app-accent: #b8432a;
  --app-icon: #d0573a;

  --display: "DM Sans", Inter, system-ui, sans-serif;
  --head: "Geist", Inter, system-ui, sans-serif;
  --sans: "DM Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-ui: 10px;
  --r-card: 24px;
  --r-lg: 40px;
  --r-panel: 42px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ash);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--bone); }
p { margin: 0; }
b { font-weight: 500; color: var(--bone); }
::selection { background: rgba(107, 98, 242, .45); color: var(--white); }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--white); color: var(--graphite); padding: 8px 14px; border-radius: 9999px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 9999px; border: 1px solid transparent;
  font: 400 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--primary, .btn--light { background: var(--white); color: var(--graphite); }
.btn--primary:hover, .btn--light:hover { background: var(--bone); }
.btn--ghost, .btn--outline-light { background: transparent; color: rgba(255, 255, 255, .85); border-color: var(--hair-strong); }
.btn--ghost:hover, .btn--outline-light:hover { border-color: rgba(229, 229, 229, .6); color: var(--white); }
.btn--outline-light:hover .i { transform: none; }

/* rótulo em pílula (status banner) */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 9999px; border: 1px solid var(--hair-strong); background: var(--frost);
  font: 400 13px/1.5 var(--sans); letter-spacing: .025em; color: var(--ash);
}
.kicker--light { color: var(--ash); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--bone); text-decoration: none; font-weight: 500; }
.link .i { transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(2px); }

/* ---------- navegação flutuante ---------- */
.top { position: sticky; top: 0; z-index: 20; padding: 16px 16px 0; pointer-events: none; }
.top__in { pointer-events: auto; margin-inline: auto; }
.top__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 10px 0 18px; width: min(1200px, 100%);
  background: rgba(22, 22, 22, .72); border: 1px solid var(--hair);
  border-radius: 19px 19px 19px 19px;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color .3s, border-color .3s;
}
.top.is-stuck .top__in { background: rgba(22, 22, 22, .88); border-color: var(--hair-strong); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.brand__sep { width: 1px; height: 20px; background: var(--hair-strong); }
.brand__name { font: 500 15px/1 var(--head); color: var(--bone); letter-spacing: .01em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; margin-top: -76px; padding-top: 148px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__bg i:nth-child(1) { width: 620px; height: 520px; right: -120px; top: 40px; background: radial-gradient(closest-side, var(--cobalt), transparent); }
.hero__bg i:nth-child(2) { width: 520px; height: 420px; right: 260px; top: 260px; background: radial-gradient(closest-side, var(--coral), transparent); opacity: .4; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 70%, var(--canvas));
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__title {
  margin-top: 24px; color: var(--white);
  font: 500 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 24px; max-width: 560px; font-size: 18px; color: var(--ash); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 13px; letter-spacing: .025em; color: var(--slate); }

/* telefone */
.hero__phone { position: relative; justify-self: center; }
.phone {
  width: 300px; padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, #2a2a2a, #111 40%, #0b0b0b);
  box-shadow: var(--edge);
  animation: bob 8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone__screen {
  position: relative; height: 590px; border-radius: 38px; overflow: hidden;
  background: var(--app-bg); color: var(--app-text); font: 400 12px/1.35 system-ui, sans-serif;
}
.app-head { position: relative; height: 112px; padding: 18px 18px 0; background: var(--app-accent); border-radius: 0 0 22px 22px; }
.app-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-weight: 700; font-size: 12px; }
.app-dots { position: absolute; right: 20px; top: 22px; letter-spacing: 2px; opacity: .8; }
.app-hello { margin-top: 18px; font-weight: 700; font-size: 17px; }
.app-quick { display: flex; justify-content: space-between; padding: 18px 16px 6px; }
.app-quick span { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 25%; font-size: 10px; font-weight: 600; }
.app-quick i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--app-card); }
.app-quick .i { width: 17px; height: 17px; stroke-width: 2; }
.app-label { padding: 14px 16px 8px; font-weight: 700; font-size: 13px; }
.app-feed { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; }
.app-card {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--app-card);
  border: 1px solid transparent; transition: border-color .5s, transform .5s var(--ease), background-color .5s;
}
.app-card b { display: block; color: var(--app-text); font-size: 12px; font-weight: 700; }
.app-card small { color: var(--app-sub); font-size: 10.5px; }
.app-card > div { flex: 1; min-width: 0; }
.app-card__ic { color: var(--app-icon); width: 17px; height: 17px; }
.app-card__go { color: var(--app-sub); width: 14px; height: 14px; }
.app-card.is-live { border-color: rgba(208, 87, 58, .55); background: #1b1d2e; transform: scale(1.03); }
.app-nav {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--app-card); border: 1px solid var(--app-line);
}
.app-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 999px; font-size: 9.5px; color: var(--app-sub); }
.app-nav .i { width: 15px; height: 15px; stroke-width: 2; }
.app-nav .on { background: rgba(184, 67, 42, .22); color: var(--app-icon); }

.float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9999px;
  background: rgba(22, 22, 22, .7); border: 1px solid var(--hair-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 400 13px/1.5 var(--sans); letter-spacing: .025em; color: var(--bone); white-space: nowrap;
}
.float--a { left: -70px; bottom: 120px; animation: floaty 6s ease-in-out infinite; }
.float--a .i { color: var(--white); stroke-width: 2; }
.float--b { right: -48px; top: 150px; animation: floaty 6s ease-in-out -3s infinite; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: blink 2.4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- seções ---------- */
.section { padding: 80px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2, .get h2 {
  margin-top: 18px; color: var(--white);
  font: 500 clamp(30px, 4vw, 48px)/1.05 var(--head); letter-spacing: -.025em; text-wrap: balance;
}
.sec-head > p:last-child:not(.kicker) { margin-top: 16px; color: var(--ash); font-size: 18px; }

/* de / para */
.move { padding-top: 0; }
.move__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.move__card { position: relative; padding: 28px; border-radius: var(--r-card); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.move__card--old { border: 1px dashed var(--hair-strong); color: var(--slate); }
.move__card--new { background: var(--frost-2); box-shadow: var(--edge); }
.move__card--new::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(107, 98, 242, .28), transparent 60%);
}
.move__card > * { position: relative; }
.move__tag { font: 400 13px/1.5 var(--sans); letter-spacing: .025em; color: var(--slate); }
.move__card--new .move__tag { color: var(--ash); }
.move__url { font: 500 clamp(20px, 2.2vw, 24px)/1.33 var(--head); letter-spacing: -.01em; color: var(--bone); word-break: break-word; }
.move__card--old .move__url { color: var(--slate); }
.move__card--old s { text-decoration-thickness: 1px; text-decoration-color: var(--slate); }
.move__card--new p:not(.move__tag):not(.move__url) { color: var(--ash); }
.move__card .link { margin-top: auto; padding-top: 8px; }
.move__arrow { display: grid; place-items: center; }
.move__arrow .i { width: 44px; height: 44px; padding: 12px; border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--bone); }

/* passos */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step {
  counter-increment: s;
  position: relative; padding: 28px; border-radius: var(--r-card); background: var(--frost);
  box-shadow: var(--edge); transition: background-color .3s;
}
.step:hover { background: var(--frost-2); }
.step__n { display: block; font-size: 0; }
.step__n::before {
  content: counter(s, decimal-leading-zero);
  font: 400 13px/1.5 var(--sans); letter-spacing: .025em; color: var(--slate);
}
.step h3 { margin-top: 40px; font: 500 18px/1.33 var(--head); color: var(--bone); }
.step p { margin-top: 8px; color: var(--ash); font-size: 15px; }

/* app / qr: painel com degradê */
.get { padding: 40px 0; }
.get__in {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
  padding: 64px; border-radius: var(--r-panel);
  background: linear-gradient(115deg, #c2552c 0%, #9a3f6a 38%, #4a3fc4 70%, #1f46e0 100%);
  color: rgba(255, 255, 255, .86);
}
.get__in::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 120% at 0% 100%, rgba(0, 0, 0, .35), transparent 60%), radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%);
}
.get .kicker { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .35); color: var(--white); }
.get h2 { color: var(--white); }
.get__copy > p { margin-top: 16px; font-size: 18px; max-width: 540px; }
.get__how { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.get__how li { position: relative; padding-left: 28px; font-size: 15px; }
.get__how li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.get__how b { display: block; color: var(--white); }
.get__how i { font-style: normal; color: var(--white); }
.kbd { display: inline-block; padding: 0 8px; border-radius: 4px; background: rgba(0, 0, 0, .22); color: var(--white); font-size: 13px; }
.get__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.get .btn--outline-light { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.get .btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.get__qr { justify-self: center; text-align: center; }
.qr { padding: 18px; border-radius: var(--r-card); background: var(--white); }
.qr > img { width: 210px; height: 210px; image-rendering: pixelated; }
.get__qr p { margin-top: 14px; font-size: 13px; letter-spacing: .025em; color: rgba(255, 255, 255, .85); }

/* faq: linhas numeradas */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq__list { display: grid; counter-reset: q; border-top: 1px solid var(--hair); }
details { counter-increment: q; border-bottom: 1px solid var(--hair); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 20px 0; font: 500 17px/1.4 var(--sans); color: var(--bone); transition: color .2s;
}
summary:hover { color: var(--white); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: counter(q, decimal-leading-zero); flex: none;
  font: 400 13px/1.5 var(--sans); letter-spacing: .025em; color: var(--slate); transition: color .2s;
}
details[open] summary::after { color: var(--bone); }
details p { padding: 0 48px 22px 0; color: var(--ash); }
details a { color: var(--bone); text-underline-offset: 3px; }

/* rodapé */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--hair); margin-top: 40px; }
.foot__in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; letter-spacing: .025em; color: var(--slate); }
.foot__in img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .6; }
.foot__in a { color: var(--ash); }
.foot__copy { margin-left: auto; }

/* ---------- entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 64px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .get__in, .faq__in { grid-template-columns: 1fr; gap: 40px; }
  .get__in { padding: 48px 40px; }
  .faq .sec-head { position: static; margin-bottom: 0; }
}
@media (max-width: 640px) {
  .top { padding: 12px 12px 0; }
  .top__in { height: 54px; padding: 0 8px 0 14px; }
  .brand img { height: 26px; }
  .brand__name { font-size: 14px; }
  .hero { padding: 120px 0 64px; margin-top: -66px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .hero__bg i:nth-child(1) { width: 420px; height: 420px; right: -200px; top: 520px; }
  .hero__bg i:nth-child(2) { width: 320px; height: 320px; right: 40px; top: 700px; }
  .phone { width: 260px; }
  .phone__screen { height: 520px; }
  .float--a { left: -24px; bottom: 90px; }
  .float--b { right: -20px; top: 120px; }
  .section { padding: 64px 0; }
  .move { padding-top: 0; }
  .move__grid { grid-template-columns: 1fr; gap: 12px; }
  .move__arrow .i { transform: rotate(90deg); }
  .move__card { padding: 24px; }
  .steps__list { grid-template-columns: 1fr; gap: 12px; }
  .step h3 { margin-top: 24px; }
  .get { padding: 24px 0; }
  .get__in { padding: 36px 24px; border-radius: var(--r-card); }
  .get__actions .btn { flex: 1; }
  .qr > img { width: 180px; height: 180px; }
  details p { padding-right: 0; }
  .foot__copy { margin-left: 0; }
}
@media (max-width: 380px) {
  .brand__sep, .brand__name { display: none; }
}

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