/* =========================================================================
   GBM — Sistema visual
   Papel off-white quente · tinta grafite · acento cobalto
   Manrope (display/corpo) + JetBrains Mono (microcopy técnica)
   ========================================================================= */

/* ------------------------------ TOKENS ---------------------------------- */
:root {
  /* superfícies */
  --paper:        #FBFAF7;
  --paper-2:      #F4F2ED;
  --paper-3:      #EDEAE3;
  --white:        #FFFFFF;
  --ink:          #101014;
  --ink-soft:     #1A1A20;

  /* texto */
  --tx:           #101014;
  --tx-2:         #454754;
  --tx-3:         #7B7D89;
  --tx-inv:       #F6F5F1;
  --tx-inv-2:     #A6A8B2;

  /* marca */
  --accent:       #2340E8;
  --accent-deep:  #1A31B4;
  --accent-soft:  #E6EAFE;
  --accent-glow:  rgba(35, 64, 232, .14);

  /* semântica do app */
  --keep:         #0F9D76;
  --keep-soft:    #E4F5EF;
  --del:          #E04A3C;
  --del-soft:     #FCEBE8;

  /* linhas e sombras */
  --line:         rgba(16, 16, 20, .10);
  --line-2:       rgba(16, 16, 20, .06);
  --line-inv:     rgba(255, 255, 255, .14);
  --sh-1:         0 1px 2px rgba(16, 16, 20, .04);
  --sh-2:         0 2px 6px rgba(16, 16, 20, .05), 0 12px 28px -18px rgba(16, 16, 20, .22);
  --sh-3:         0 4px 12px rgba(16, 16, 20, .06), 0 28px 60px -30px rgba(16, 16, 20, .30);
  --sh-phone:     0 30px 70px -28px rgba(16, 16, 20, .40), 0 4px 14px rgba(16, 16, 20, .07);

  /* forma */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  30px;
  --r-pill: 999px;

  /* ritmo */
  --shell:      1200px;
  --gutter:     clamp(20px, 5vw, 40px);
  --sec-y:      clamp(88px, 12vw, 160px);
  --header-h:   72px;

  /* tipografia */
  --sans: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------ RESET ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* textura de papel muito sutil, sem custo de rede */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--ink); color: var(--tx-inv);
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------ LAYOUT ---------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section { padding-block: var(--sec-y); position: relative; z-index: 1; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line-2); }

/* --------------------------- TIPOGRAFIA --------------------------------- */
h1 { font-size: clamp(2.55rem, 6.2vw, 4.35rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: -.015em; }

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.19rem);
  color: var(--tx-2);
  line-height: 1.66;
  max-width: 56ch;
}

.mono { font-family: var(--mono); font-size: .82em; letter-spacing: -.01em; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 22px;
}
.eyebrow .num {
  color: var(--accent);
  font-weight: 500;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--keep);
  box-shadow: 0 0 0 4px rgba(15, 157, 118, .16);
}

.hl {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .07em;
  height: .085em;
  background: var(--accent);
  opacity: .22;
  border-radius: 2px;
}

/* ----------------------------- BOTÕES ----------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-tx: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-tx);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.012em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              box-shadow .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn svg { transition: transform .28s var(--ease-out); }

.btn-primary {
  --btn-bg: var(--accent);
  --btn-tx: #fff;
  box-shadow: 0 1px 2px rgba(26, 49, 180, .28), 0 12px 24px -14px rgba(26, 49, 180, .8);
}
.btn-primary:hover {
  --btn-bg: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(26, 49, 180, .3), 0 18px 32px -14px rgba(26, 49, 180, .85);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  --btn-tx: var(--tx);
  border-color: var(--line);
  background: rgba(255, 255, 255, .55);
}
.btn-ghost:hover {
  border-color: rgba(16, 16, 20, .3);
  background: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  --btn-tx: var(--tx);
  border-color: var(--line);
  background: var(--white);
  width: 100%;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-play {
  width: 100%;
  background: var(--ink);
  color: var(--tx-inv);
  padding: 13px 20px;
  text-align: left;
  gap: 12px;
  justify-content: flex-start;
}
.btn-play span { line-height: 1.15; }
.btn-play.is-soon {
  cursor: default;
  background: linear-gradient(180deg, #23232B, #131318);
}
.btn-play.is-soon::after {
  content: "em breve";
  margin-left: auto;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-inv-2);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}
a.btn-play:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

/* ------------------------------ CARDS ----------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.tag {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--tx-3);
  background: var(--white);
}
.tag-accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(35, 64, 232, .18);
}
.tag-soft { background: var(--paper-2); color: var(--tx-2); }

/* ============================== HEADER =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-2);
  box-shadow: 0 1px 20px -8px rgba(16, 16, 20, .2);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--accent); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-text {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--tx);
}
.brand-text.big { font-size: 2rem; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 600;
  color: var(--tx-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--tx); background: rgba(16, 16, 20, .045); }
.nav > a.is-active { color: var(--accent); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  width: 17px; height: 1.8px; border-radius: 2px;
  background: var(--tx);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* =============================== HERO ==================================== */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 132px);
  overflow: hidden;
}

.hero-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120% 90% at 72% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 72% 30%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute;
  top: -18%; right: -8%;
  width: 62vw; height: 62vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 62%);
  filter: blur(10px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 26px; max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 4px;
}
.hero-facts dd { font-weight: 700; font-size: .95rem; letter-spacing: -.02em; }

/* ---------------------------- HERO VISUAL -------------------------------- */
.hero-visual { display: flex; justify-content: center; }

.stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(35, 64, 232, .2);
}
.orbit-a { width: 96%; aspect-ratio: 1; animation: spin 46s linear infinite; }
.orbit-b {
  width: 74%; aspect-ratio: 1;
  border-style: solid;
  border-color: rgba(16, 16, 20, .07);
  animation: spin 34s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 12%; right: -4%; color: var(--keep); }
.chip-2 { bottom: 22%; left: -6%; color: var(--del); animation-delay: -2s; }
.chip-3 { top: 46%; right: -8%; color: var(--accent); animation-delay: -4s; font-family: var(--mono); font-size: .72rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ----------------------------- ÍCONES MINI ------------------------------- */
.ico {
  width: 14px; height: 14px;
  display: inline-block;
  flex: none;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico.ok {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
}
.ico.no {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
.ico.back {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h10a5 5 0 1 1 0 10H9M4 8l4-4M4 8l4 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h10a5 5 0 1 1 0 10H9M4 8l4-4M4 8l4 4'/%3E%3C/svg%3E");
}

/* ============================ MOCKUP DE APP ============================== */
.phone { position: relative; z-index: 3; width: 100%; }

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.6;
  background: linear-gradient(160deg, #24242C, #101014 60%);
  border-radius: 38px;
  padding: 9px;
  box-shadow: var(--sh-phone), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone-notch {
  position: absolute;
  top: 17px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 20px;
  background: #0A0A0D;
  border-radius: var(--r-pill);
  z-index: 6;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 38px 14px 14px;
  container-type: inline-size;
}

.phone-front { width: min(100%, 258px); }
.phone-front .phone-frame { transform: rotate(-2.2deg); }

/* barra superior do app */
.app-topbar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 8px;
}
.app-title {
  font-size: .82rem; font-weight: 800; letter-spacing: -.03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-counter {
  font-family: var(--mono);
  font-size: .6rem;
  color: var(--tx-3);
  white-space: nowrap;
}
.app-counter b { color: var(--accent); font-weight: 500; }

.app-progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  margin: 0 4px 12px;
  overflow: hidden;
}
.app-progress i {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #5C74FF);
}

/* baralho de fotos */
.deck {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 2px;
  perspective: 900px;
}
.pcard {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 16, 20, .1), 0 16px 30px -18px rgba(16, 16, 20, .5);
  transform-origin: 50% 120%;
  will-change: transform, opacity;
  animation: deckCycle 10.5s var(--ease) infinite;
}
.pcard:nth-child(1) { animation-delay: 0s; }
.pcard:nth-child(2) { animation-delay: -3.5s; }
.pcard:nth-child(3) { animation-delay: -7s; }

@keyframes deckCycle {
  0%    { transform: translate(0, 0) rotate(0) scale(1);        opacity: 1; z-index: 3; }
  20%   { transform: translate(0, 0) rotate(0) scale(1);        opacity: 1; z-index: 3; }
  30%   { transform: translate(118%, -7%) rotate(15deg) scale(1); opacity: 0; z-index: 3; }
  31%   { transform: translate(0, 22px) scale(.9);              opacity: 0; z-index: 1; }
  36%   { transform: translate(0, 22px) scale(.9);              opacity: 1; z-index: 1; }
  62%   { transform: translate(0, 22px) scale(.9);              opacity: 1; z-index: 1; }
  70%   { transform: translate(0, 11px) scale(.95);             opacity: 1; z-index: 2; }
  95%   { transform: translate(0, 11px) scale(.95);             opacity: 1; z-index: 2; }
  100%  { transform: translate(0, 0) scale(1);                  opacity: 1; z-index: 3; }
}

.stamp {
  position: absolute;
  top: 14px; right: 12px;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--keep);
  border: 1px solid rgba(15, 157, 118, .3);
  opacity: 0;
  transform: rotate(-8deg) scale(.85);
  animation: stampIn 10.5s var(--ease) infinite;
}
.pcard:nth-child(1) .stamp { animation-delay: 0s; }
.pcard:nth-child(2) .stamp { animation-delay: -3.5s; }
.pcard:nth-child(3) .stamp { animation-delay: -7s; }

@keyframes stampIn {
  0%, 19%   { opacity: 0; transform: rotate(-8deg) scale(.85); }
  23%, 29%  { opacity: 1; transform: rotate(-8deg) scale(1); }
  32%, 100% { opacity: 0; transform: rotate(-8deg) scale(.85); }
}

.pmeta {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--mono);
  font-size: .55rem;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

/* controles do app */
.app-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  padding-top: 14px;
}
.ctrl {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.ctrl .ico { width: 15px; height: 15px; }
.ctrl.del  { color: var(--del);  border-color: rgba(224, 74, 60, .28);  background: var(--del-soft); }
.ctrl.keep { color: var(--keep); border-color: rgba(15, 157, 118, .28); background: var(--keep-soft); }
.ctrl.undo { color: var(--tx-3); width: 32px; height: 32px; }
.ctrl.undo .ico { width: 13px; height: 13px; }

/* "fotos" — malhas de gradiente abstratas, zero requisições de rede */
.ph-1 { background: radial-gradient(120% 110% at 18% 12%, #FFD9A8 0%, #FF9E7A 42%, #C6486E 100%); }
.ph-2 { background: radial-gradient(110% 100% at 78% 18%, #BFE7FF 0%, #6AA6F5 45%, #2A3E8F 100%); }
.ph-3 { background: radial-gradient(120% 120% at 30% 82%, #CBF0D8 0%, #58BE96 45%, #17604F 100%); }
.ph-4 { background: radial-gradient(120% 110% at 70% 20%, #F5D7F0 0%, #A97BD8 45%, #46308A 100%); }
.ph-5 { background: radial-gradient(130% 110% at 22% 26%, #FFE9B8 0%, #F0A93E 48%, #8A4B18 100%); }
.ph-6 { background: radial-gradient(120% 120% at 62% 74%, #D6DCE6 0%, #8A94A6 45%, #333A4A 100%); }

/* ============================ SEÇÃO SOBRE =============================== */
.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.sec-head-text { color: var(--tx-2); font-size: 1.04rem; padding-top: 6px; max-width: 52ch; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.principle {
  padding: 30px 28px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.principle:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line);
}
.principle-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}
.principle h3 { margin-bottom: 9px; }
.principle p { color: var(--tx-2); font-size: .98rem; }

.slogan-strip {
  margin-top: clamp(48px, 6vw, 76px);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(120deg, rgba(35, 64, 232, .07), rgba(35, 64, 232, 0) 62%),
    var(--white);
  border: 1px solid var(--line-2);
  font-size: clamp(1.15rem, 2.4vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.34;
  text-align: center;
  color: var(--tx);
}

/* =========================== CARD DO APP ================================= */
.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.app-card-main { padding: clamp(30px, 4.2vw, 52px); min-width: 0; }
.app-card-side {
  min-width: 0;
  padding: clamp(30px, 4.2vw, 44px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(35, 64, 232, .08), transparent 60%),
    var(--paper-2);
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
}

.app-card-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.app-icon {
  flex: none;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  border-radius: 19px;
  background: linear-gradient(150deg, #5C74FF, var(--accent) 55%, var(--accent-deep));
  color: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px -12px rgba(35, 64, 232, .85), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.app-icon svg { width: 40px; height: 40px; }

.app-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.app-name { font-size: clamp(1.65rem, 3vw, 2.15rem); letter-spacing: -.042em; margin-bottom: 8px; }
.app-short { color: var(--tx-2); font-size: 1.04rem; max-width: 46ch; margin: 0; }

.app-desc { color: var(--tx-2); max-width: 60ch; }
.app-desc b { color: var(--tx); }

.swipe-rules {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
}
.swipe-rules li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.arrow {
  flex: none;
  width: 28px; height: 20px;
  border-radius: 5px;
  position: relative;
}
.arrow::after {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: no-repeat center / 20px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 8h37m0 0-7-6m7 6-7 6'/%3E%3C/svg%3E");
  mask: no-repeat center / 20px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 8h37m0 0-7-6m7 6-7 6'/%3E%3C/svg%3E");
}
.arrow.right { color: var(--keep); background: var(--keep-soft); }
.arrow.left  { color: var(--del);  background: var(--del-soft); transform: scaleX(-1); }

/* passos */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 30px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--paper);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: rgba(35, 64, 232, .28); transform: translateY(-3px); }
.step-n {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--tx-inv);
  font-family: var(--mono);
  font-size: .72rem;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 5px; }
.step p { color: var(--tx-2); font-size: .92rem; margin: 0; }

.pull {
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -.034em;
  line-height: 1.32;
  color: var(--tx);
  max-width: 34ch;
}
.pull::before { content: "“"; color: var(--accent); }
.pull::after  { content: "”"; color: var(--accent); }
.pull-note { margin-top: 12px; color: var(--tx-3); font-size: .92rem; max-width: 52ch; }

/* lateral do card */
.side-title {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 18px;
}
.features { display: grid; gap: 11px; margin-bottom: 30px; }
.features li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.features li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft) center / 10px 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232340E8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
}

.side-cta { display: grid; gap: 10px; margin-top: auto; }
.side-foot {
  margin-top: 18px;
  font-size: .8rem;
  color: var(--tx-3);
  line-height: 1.5;
}
.side-foot b { color: var(--tx-2); }

.grid-note { margin-top: 26px; text-align: center; color: var(--tx-3); }

/* =========================== DESTAQUE VISUAL ============================= */
.showcase { overflow: hidden; }
.mockups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  max-width: 940px;
  margin-inline: auto;
  padding-top: 12px;
}
.phone-side { transform: scale(.86); opacity: .96; }
.phone-side:first-child .phone-frame { transform: rotate(-5deg) translateY(10px); }
.mockups .phone-side:last-child .phone-frame { transform: rotate(5deg) translateY(10px); }
.phone-hero { z-index: 4; }
.phone-hero .phone-frame { animation: liftPhone 8s ease-in-out infinite; }
@keyframes liftPhone {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* grade da galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 2px;
}
.gallery span { border-radius: 7px; }
.gallery-cta {
  margin: 10px 2px 4px;
  padding: 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

/* resumo */
.summary { display: grid; align-content: start; gap: 9px; padding: 6px 3px; }
.sum-big {
  display: flex; flex-direction: column;
  padding: 16px 14px;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--accent-soft), rgba(230, 234, 254, .3));
  border: 1px solid rgba(35, 64, 232, .16);
  margin-bottom: 5px;
}
.sum-big b { font-size: 1.5rem; letter-spacing: -.045em; color: var(--accent); line-height: 1.1; }
.sum-big span { font-size: .66rem; color: var(--tx-3); font-family: var(--mono); }
.sum-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--paper-2);
  font-size: .7rem;
}
.sum-row .k { display: inline-flex; align-items: center; gap: 7px; color: var(--tx-2); font-weight: 600; }
.sum-row .k .ico { width: 11px; height: 11px; }
.sum-row:nth-child(2) .k .ico { color: var(--keep); }
.sum-row:nth-child(3) .k .ico { color: var(--del); }
.sum-row:nth-child(4) .k .ico { color: var(--tx-3); }
.sum-row b { font-size: .78rem; letter-spacing: -.02em; }

.streak {
  display: flex; align-items: center; gap: 5px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px dashed var(--line);
  font-size: .64rem;
  font-family: var(--mono);
  color: var(--tx-3);
}
.streak i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--keep);
}
.streak i.off { background: var(--paper-3); }
.streak b { margin-left: auto; color: var(--tx); font-family: var(--sans); font-size: .7rem; }

/* =========================== COMO FUNCIONA =============================== */
.section-dark {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(35, 64, 232, .26), transparent 62%),
    var(--ink);
  color: var(--tx-inv);
  overflow: hidden;
}
.section-dark .eyebrow { color: var(--tx-inv-2); justify-content: center; }
.section-dark .eyebrow .num { color: #8FA2FF; }

.hiw-head { text-align: center; margin-bottom: clamp(46px, 6vw, 72px); }
.hiw-head h2.display {
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -.05em;
  line-height: 1.04;
}
.hl-dark { color: #90A3FF; }

.hiw-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  max-width: 860px;
  margin-inline: auto;
}
.hiw-side { display: flex; align-items: center; gap: 14px; }
.hiw-left  { justify-content: flex-end; color: var(--del); }
.hiw-right { justify-content: flex-start; color: #2FD3A5; }
.hiw-left .hiw-arrow, .hiw-right .hiw-arrow { opacity: .8; animation: nudge 2.6s ease-in-out infinite; }
.hiw-right .hiw-arrow { animation-delay: -1.3s; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(var(--nudge, -5px)); }
}
.hiw-right .hiw-arrow { --nudge: 5px; }

.hiw-label {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  white-space: nowrap;
}
.hiw-label.del  { background: rgba(224, 74, 60, .12); }
.hiw-label.keep { background: rgba(47, 211, 165, .12); }

.hiw-photo { position: relative; width: min(58vw, 240px); }
.hiw-card {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  position: relative;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .18);
  animation: swayCard 5.6s ease-in-out infinite;
}
@keyframes swayCard {
  0%, 100% { transform: translateX(0) rotate(0); }
  28%      { transform: translateX(-16px) rotate(-3.2deg); }
  70%      { transform: translateX(16px) rotate(3.2deg); }
}
.hiw-meta {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--mono);
  font-size: .62rem;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}

.hiw-tagline {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(.86rem, 1.6vw, 1rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tx-inv-2);
}

/* =============================== FUTURO ================================== */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.future {
  padding: 26px 26px 28px;
  background:
    repeating-linear-gradient(135deg, rgba(16, 16, 20, .022) 0 8px, transparent 8px 16px),
    var(--white);
  border-style: dashed;
  border-color: var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.future:hover { border-color: rgba(35, 64, 232, .4); transform: translateY(-3px); }
.future-slot { display: flex; gap: 6px; margin-bottom: 22px; }
.future-slot i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
}
.future-slot i:nth-child(1) { opacity: 1; }
.future-slot i:nth-child(2) { opacity: .66; }
.future-slot i:nth-child(3) { opacity: .34; }
.future-txt { margin-top: 12px; color: var(--tx-3); font-size: .92rem; }

/* =============================== CONTATO ================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }

.contact-meta { display: grid; gap: 2px; margin-top: 40px; }
.cmeta {
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  align-items: baseline; justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.cmeta:last-child { border-bottom: 1px solid var(--line); }
.cmeta-k {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.cmeta-v { font-weight: 700; letter-spacing: -.02em; font-size: .98rem; }
a.cmeta-v { color: var(--accent); transition: opacity .2s var(--ease); }
a.cmeta-v:hover { opacity: .7; text-decoration: underline; text-underline-offset: 3px; }

.contact-form { padding: clamp(26px, 3.6vw, 38px); box-shadow: var(--sh-2); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 7px;
  color: var(--tx-2);
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .97rem;
  resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #A9ABB5; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field.has-error input, .field.has-error textarea { border-color: var(--del); }

.form-status {
  margin: 14px 0 0;
  font-size: .87rem;
  color: var(--tx-3);
  min-height: 1.3em;
}
.form-status.is-ok { color: var(--keep); font-weight: 600; }
.form-status.is-err { color: var(--del); font-weight: 600; }

/* =============================== RODAPÉ ================================== */
.site-footer {
  background: var(--ink);
  color: var(--tx-inv);
  padding-block: clamp(56px, 7vw, 84px) 34px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(34px, 5vw, 64px);
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-inv);
}
.footer-brand .brand-text { color: var(--tx-inv); display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--tx-inv-2); max-width: 30ch; font-size: .96rem; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-nav h3 {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-inv-2);
  margin-bottom: 16px;
}
.footer-nav a {
  display: block;
  padding: 5px 0;
  color: var(--tx-inv);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.015em;
  opacity: .85;
  transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.footer-nav a:hover { opacity: 1; color: #90A3FF; transform: translateX(3px); }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: .84rem;
  color: var(--tx-inv-2);
}
.footer-legal p { margin: 0; }
.footer-legal b { color: var(--tx-inv); font-weight: 700; }
.footer-legal .mono { color: var(--tx-inv); }

/* ============================== REVEAL =================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================ RESPONSIVO ================================= */
@media (max-width: 1060px) {
  .app-card { grid-template-columns: minmax(0, 1fr); }
  .app-card-side { border-left: 0; border-top: 1px solid var(--line-2); }
  .side-cta { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form { max-width: 560px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(16, 16, 20, .4);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 13px 12px; font-size: 1.02rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 18ch; }
  .hero-visual { order: 2; margin-top: 12px; }
  .stage { width: min(100%, 340px); }

  .sec-head-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .principles, .future-grid, .steps { grid-template-columns: minmax(0, 1fr); }

  .mockups { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 34px; max-width: 300px; }
  .phone-side { transform: none; }
  .phone-side .phone-frame,
  .mockups .phone-side:last-child .phone-frame { transform: none; }
  .phone-hero .phone-frame { animation: none; }

  .hiw-stage {
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: center;
    gap: 30px 16px;
  }
  .hiw-photo { order: 1; grid-column: 1 / -1; justify-self: center; width: min(70vw, 230px); }
  .hiw-left  { order: 2; justify-content: flex-end; gap: 10px; }
  .hiw-right { order: 3; justify-content: flex-start; gap: 10px; }
  .hiw-arrow svg { width: 26px; }
  .hiw-label { font-size: .72rem; padding: 8px 13px; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-facts { gap: 16px 28px; }
  .side-cta { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; }
  .chip-1 { right: 0; }
  .chip-2 { left: 0; }
  .chip-3 { display: none; }
}

/* ======================= MOVIMENTO REDUZIDO ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pcard:nth-child(1) { z-index: 3; }
  .pcard:nth-child(2) { transform: translateY(11px) scale(.95); z-index: 2; }
  .pcard:nth-child(3) { transform: translateY(22px) scale(.9); z-index: 1; }
  .stamp { opacity: 0; }
}

/* ====================== PÁGINAS LEGAIS (subpáginas) ====================== */
.legal-hero {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); max-width: 20ch; margin-bottom: 16px; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--tx-3);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 22px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.back-link:hover { color: var(--accent); gap: 12px; }

.legal-body {
  padding-block: clamp(40px, 6vw, 72px) clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); }
.legal-toc h2 {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 14px;
}
.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tx-2);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.legal-content { max-width: 68ch; }
.legal-content section + section { margin-top: 44px; }
.legal-content h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -.032em;
  margin-bottom: 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-content h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal-content p, .legal-content li { color: var(--tx-2); }
.legal-content ul { display: grid; gap: 9px; margin: 14px 0; }
.legal-content ul li { position: relative; padding-left: 20px; }
.legal-content ul li::before {
  content: "";
  position: absolute; left: 2px; top: .66em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .6;
}
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-note {
  margin-top: 44px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  font-size: .9rem;
  color: var(--tx-3);
}

@media (max-width: 900px) {
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}

/* ============================= IMPRESSÃO ================================= */
@media print {
  .site-header, .hero-field, .nav-toggle, .mockups, .hero-visual { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}
